[Slackbuilds-users] Build Errors: graphviz-2.24.0
Rich Shepard
rshepard at appl-ecosys.com
Fri Dec 4 18:14:32 UTC 2009
I used the slackbuild script on graphviz-2.20.3, but I'm getting build
errors on -2.24.0. This happens with both the previous script and the latest
one. I'm running -12.2 here.
This is what I see:
g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/gvc -I../../lib/common
-I../../lib/graph -I../../lib/cdt -I../../lib/pathplan -DDEMAND_LOADING=1
-I/usr/lib/R/include -O2 -march=i486 -mtune=i686 -MT libgv_R_la-gv_R.lo -MD
-MP -MF .deps/libgv_R_la-gv_R.Tpo -c gv_R.cpp -fPIC -DPIC -o
.libs/libgv_R_la-gv_R.o
gv_R.cpp: In function 'RCallbackFunctionData*
R_SWIG_pushCallbackFunctionData(SEXPREC*, SEXPREC*)':
gv_R.cpp:759: error: 'calloc' was not declared in this scope
gv_R.cpp: In function 'void R_SWIG_popCallbackFunctionData(int)':
gv_R.cpp:800: error: 'free' was not declared in this scope
gv_R.cpp: In function 'void R_SWIG_ReferenceFinalizer(SEXPREC*)':
gv_R.cpp:888: error: 'free' was not declared in this scope
gv_R.cpp: In function 'SEXPREC* RSwigPacked_New(void*, size_t,
swig_type_info*)':
gv_R.cpp:1000: error: 'malloc' was not declared in this scope
gv_R.cpp: In function 'int SWIG_AsCharPtrAndSize(SEXPREC*, char**, size_t*,
int*)':
gv_R.cpp:1579: error: invalid conversion from 'const char*' to 'char*'
gv_R.cpp: In function 'SEXPREC* R_swig_graph__SWIG_0(SEXPREC*)':
gv_R.cpp:1613: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp:1615: error: reinterpret_cast from type 'const char*' to type
'char*' casts away constness
gv_R.cpp: In function 'SEXPREC* R_swig_digraph(SEXPREC*)':
gv_R.cpp:1632: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp:1634: error: reinterpret_cast from type 'const char*' to type
'char*' casts away constness
gv_R.cpp: In function 'SEXPREC* R_swig_strictgraph(SEXPREC*)':
gv_R.cpp:1651: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp:1653: error: reinterpret_cast from type 'const char*' to type
'char*' casts away constness
gv_R.cpp: In function 'SEXPREC* R_swig_strictdigraph(SEXPREC*)':
gv_R.cpp:1670: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp:1672: error: reinterpret_cast from type 'const char*' to type
'char*' casts away constness
gv_R.cpp: In function 'SEXPREC* R_swig_readstring(SEXPREC*)':
gv_R.cpp:1689: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp:1691: error: reinterpret_cast from type 'const char*' to type
'char*' casts away constness
gv_R.cpp: In function 'SEXPREC* R_swig_read__SWIG_0(SEXPREC*)':
gv_R.cpp:1711: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp: In function 'SEXPREC* R_swig_read__SWIG_1(SEXPREC*)':
gv_R.cpp:1736: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp: In function 'SEXPREC* R_swig_graph__SWIG_1(SEXPREC*, SEXPREC*)':
gv_R.cpp:1762: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp:1769: error: reinterpret_cast from type 'const char*' to type
'char*' casts away constness
gv_R.cpp: In function 'SEXPREC* R_swig_node(SEXPREC*, SEXPREC*)':
gv_R.cpp:1789: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp:1796: error: reinterpret_cast from type 'const char*' to type
'char*' casts away constness
gv_R.cpp: In function 'SEXPREC* R_swig_edge__SWIG_0(SEXPREC*, SEXPREC*)':
gv_R.cpp:1818: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp: In function 'SEXPREC* R_swig_edge__SWIG_1(SEXPREC*, SEXPREC*)':
gv_R.cpp:1849: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp:1856: error: reinterpret_cast from type 'const char*' to type
'char*' casts away constness
gv_R.cpp: In function 'SEXPREC* R_swig_edge__SWIG_2(SEXPREC*, SEXPREC*)':
gv_R.cpp:1876: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp:1878: error: reinterpret_cast from type 'const char*' to type
'char*' casts away constness
gv_R.cpp: In function 'SEXPREC* R_swig_edge__SWIG_3(SEXPREC*, SEXPREC*,
SEXPREC*)':
gv_R.cpp:1904: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp:1911: error: reinterpret_cast from type 'const char*' to type
'char*' casts away constness
gv_R.cpp:1912: error: reinterpret_cast from type 'const char*' to type
'char*' casts away constness
gv_R.cpp: In function 'SEXPREC* R_swig_setv__SWIG_0(SEXPREC*, SEXPREC*,
SEXPREC*)':
gv_R.cpp:1933: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp:1940: error: reinterpret_cast from type 'const char*' to type
'char*' casts away constness
gv_R.cpp:1941: error: reinterpret_cast from type 'const char*' to type
'char*' casts away constness
gv_R.cpp: In function 'SEXPREC* R_swig_setv__SWIG_1(SEXPREC*, SEXPREC*,
SEXPREC*)':
gv_R.cpp:1962: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp:1969: error: reinterpret_cast from type 'const char*' to type
'char*' casts away constness
gv_R.cpp:1970: error: reinterpret_cast from type 'const char*' to type
'char*' casts away constness
gv_R.cpp: In function 'SEXPREC* R_swig_setv__SWIG_2(SEXPREC*, SEXPREC*,
SEXPREC*)':
gv_R.cpp:1991: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp:1998: error: reinterpret_cast from type 'const char*' to type
'char*' casts away constness
gv_R.cpp:1999: error: reinterpret_cast from type 'const char*' to type
'char*' casts away constness
gv_R.cpp: In function 'SEXPREC* R_swig_setv__SWIG_3(SEXPREC*, SEXPREC*,
SEXPREC*)':
gv_R.cpp:2022: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp:2034: error: reinterpret_cast from type 'const char*' to type
'char*' casts away constness
gv_R.cpp: In function 'SEXPREC* R_swig_setv__SWIG_4(SEXPREC*, SEXPREC*,
SEXPREC*)':
gv_R.cpp:2057: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp:2069: error: reinterpret_cast from type 'const char*' to type
'char*' casts away constness
gv_R.cpp: In function 'SEXPREC* R_swig_setv__SWIG_5(SEXPREC*, SEXPREC*,
SEXPREC*)':
gv_R.cpp:2092: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp:2104: error: reinterpret_cast from type 'const char*' to type
'char*' casts away constness
gv_R.cpp: In function 'SEXPREC* R_swig_getv__SWIG_0(SEXPREC*, SEXPREC*)':
gv_R.cpp:2124: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp:2131: error: reinterpret_cast from type 'const char*' to type
'char*' casts away constness
gv_R.cpp: In function 'SEXPREC* R_swig_getv__SWIG_1(SEXPREC*, SEXPREC*)':
gv_R.cpp:2151: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp:2158: error: reinterpret_cast from type 'const char*' to type
'char*' casts away constness
gv_R.cpp: In function 'SEXPREC* R_swig_getv__SWIG_2(SEXPREC*, SEXPREC*)':
gv_R.cpp:2178: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp:2185: error: reinterpret_cast from type 'const char*' to type
'char*' casts away constness
gv_R.cpp: In function 'SEXPREC* R_swig_getv__SWIG_3(SEXPREC*, SEXPREC*)':
gv_R.cpp:2207: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp: In function 'SEXPREC* R_swig_getv__SWIG_4(SEXPREC*, SEXPREC*)':
gv_R.cpp:2240: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp: In function 'SEXPREC* R_swig_getv__SWIG_5(SEXPREC*, SEXPREC*)':
gv_R.cpp:2273: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp: In function 'SEXPREC* R_swig_nameof__SWIG_0(SEXPREC*)':
gv_R.cpp:2303: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp: In function 'SEXPREC* R_swig_nameof__SWIG_1(SEXPREC*)':
gv_R.cpp:2328: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp: In function 'SEXPREC* R_swig_nameof__SWIG_2(SEXPREC*)':
gv_R.cpp:2353: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp: In function 'SEXPREC* R_swig_findsubg(SEXPREC*, SEXPREC*)':
gv_R.cpp:2379: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp:2386: error: reinterpret_cast from type 'const char*' to type
'char*' casts away constness
gv_R.cpp: In function 'SEXPREC* R_swig_findnode(SEXPREC*, SEXPREC*)':
gv_R.cpp:2406: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp:2413: error: reinterpret_cast from type 'const char*' to type
'char*' casts away constness
gv_R.cpp: In function 'SEXPREC* R_swig_findedge(SEXPREC*, SEXPREC*)':
gv_R.cpp:2435: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp: In function 'SEXPREC* R_swig_findattr__SWIG_0(SEXPREC*,
SEXPREC*)':
gv_R.cpp:2466: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp:2473: error: reinterpret_cast from type 'const char*' to type
'char*' casts away constness
gv_R.cpp: In function 'SEXPREC* R_swig_findattr__SWIG_1(SEXPREC*,
SEXPREC*)':
gv_R.cpp:2493: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp:2500: error: reinterpret_cast from type 'const char*' to type
'char*' casts away constness
gv_R.cpp: In function 'SEXPREC* R_swig_findattr__SWIG_2(SEXPREC*,
SEXPREC*)':
gv_R.cpp:2520: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp:2527: error: reinterpret_cast from type 'const char*' to type
'char*' casts away constness
gv_R.cpp: In function 'SEXPREC* R_swig_headof(SEXPREC*)':
gv_R.cpp:2546: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp: In function 'SEXPREC* R_swig_tailof(SEXPREC*)':
gv_R.cpp:2571: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp: In function 'SEXPREC* R_swig_graphof__SWIG_0(SEXPREC*)':
gv_R.cpp:2596: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp: In function 'SEXPREC* R_swig_graphof__SWIG_1(SEXPREC*)':
gv_R.cpp:2621: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp: In function 'SEXPREC* R_swig_graphof__SWIG_2(SEXPREC*)':
gv_R.cpp:2646: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp: In function 'SEXPREC* R_swig_rootof(SEXPREC*)':
gv_R.cpp:2671: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp: In function 'SEXPREC* R_swig_protonode(SEXPREC*)':
gv_R.cpp:2696: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp: In function 'SEXPREC* R_swig_protoedge(SEXPREC*)':
gv_R.cpp:2721: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp: In function 'SEXPREC* R_swig_ok__SWIG_0(SEXPREC*, SEXPREC*)':
gv_R.cpp:2746: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp: In function 'SEXPREC* R_swig_ok__SWIG_1(SEXPREC*, SEXPREC*)':
gv_R.cpp:2771: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp: In function 'SEXPREC* R_swig_ok__SWIG_2(SEXPREC*, SEXPREC*)':
gv_R.cpp:2796: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp: In function 'SEXPREC* R_swig_ok__SWIG_3(SEXPREC*, SEXPREC*)':
gv_R.cpp:2821: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp: In function 'SEXPREC* R_swig_firstsubg(SEXPREC*)':
gv_R.cpp:2846: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp: In function 'SEXPREC* R_swig_nextsubg(SEXPREC*, SEXPREC*)':
gv_R.cpp:2874: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp: In function 'SEXPREC* R_swig_firstsupg(SEXPREC*)':
gv_R.cpp:2904: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp: In function 'SEXPREC* R_swig_nextsupg(SEXPREC*, SEXPREC*)':
gv_R.cpp:2932: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp: In function 'SEXPREC* R_swig_firstedge__SWIG_0(SEXPREC*)':
gv_R.cpp:2962: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp: In function 'SEXPREC* R_swig_nextedge__SWIG_0(SEXPREC*,
SEXPREC*)':
gv_R.cpp:2990: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp: In function 'SEXPREC* R_swig_firstout__SWIG_0(SEXPREC*)':
gv_R.cpp:3020: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp: In function 'SEXPREC* R_swig_nextout__SWIG_0(SEXPREC*, SEXPREC*)':
gv_R.cpp:3048: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp: In function 'SEXPREC* R_swig_firstedge__SWIG_1(SEXPREC*)':
gv_R.cpp:3078: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp: In function 'SEXPREC* R_swig_nextedge__SWIG_1(SEXPREC*,
SEXPREC*)':
gv_R.cpp:3106: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp: In function 'SEXPREC* R_swig_firstout__SWIG_1(SEXPREC*)':
gv_R.cpp:3136: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp: In function 'SEXPREC* R_swig_nextout__SWIG_1(SEXPREC*, SEXPREC*)':
gv_R.cpp:3164: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp: In function 'SEXPREC* R_swig_firsthead(SEXPREC*)':
gv_R.cpp:3194: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp: In function 'SEXPREC* R_swig_nexthead(SEXPREC*, SEXPREC*)':
gv_R.cpp:3222: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp: In function 'SEXPREC* R_swig_firstin__SWIG_0(SEXPREC*)':
gv_R.cpp:3252: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp: In function 'SEXPREC* R_swig_nextin__SWIG_0(SEXPREC*, SEXPREC*)':
gv_R.cpp:3280: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp: In function 'SEXPREC* R_swig_firstin__SWIG_1(SEXPREC*)':
gv_R.cpp:3310: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp: In function 'SEXPREC* R_swig_nextin__SWIG_1(SEXPREC*, SEXPREC*)':
gv_R.cpp:3338: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp: In function 'SEXPREC* R_swig_firsttail(SEXPREC*)':
gv_R.cpp:3368: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp: In function 'SEXPREC* R_swig_nexttail(SEXPREC*, SEXPREC*)':
gv_R.cpp:3396: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp: In function 'SEXPREC* R_swig_firstnode__SWIG_0(SEXPREC*)':
gv_R.cpp:3426: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp: In function 'SEXPREC* R_swig_nextnode__SWIG_0(SEXPREC*,
SEXPREC*)':
gv_R.cpp:3454: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp: In function 'SEXPREC* R_swig_firstnode__SWIG_1(SEXPREC*)':
gv_R.cpp:3484: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp: In function 'SEXPREC* R_swig_nextnode__SWIG_1(SEXPREC*,
SEXPREC*)':
gv_R.cpp:3512: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp: In function 'SEXPREC* R_swig_firstattr__SWIG_0(SEXPREC*)':
gv_R.cpp:3542: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp: In function 'SEXPREC* R_swig_nextattr__SWIG_0(SEXPREC*,
SEXPREC*)':
gv_R.cpp:3570: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp: In function 'SEXPREC* R_swig_firstattr__SWIG_1(SEXPREC*)':
gv_R.cpp:3600: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp: In function 'SEXPREC* R_swig_nextattr__SWIG_1(SEXPREC*,
SEXPREC*)':
gv_R.cpp:3628: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp: In function 'SEXPREC* R_swig_firstattr__SWIG_2(SEXPREC*)':
gv_R.cpp:3658: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp: In function 'SEXPREC* R_swig_nextattr__SWIG_2(SEXPREC*,
SEXPREC*)':
gv_R.cpp:3686: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp: In function 'SEXPREC* R_swig_rm__SWIG_0(SEXPREC*, SEXPREC*)':
gv_R.cpp:3716: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp: In function 'SEXPREC* R_swig_rm__SWIG_1(SEXPREC*, SEXPREC*)':
gv_R.cpp:3741: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp: In function 'SEXPREC* R_swig_rm__SWIG_2(SEXPREC*, SEXPREC*)':
gv_R.cpp:3766: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp: In function 'SEXPREC* R_swig_layout(SEXPREC*, SEXPREC*,
SEXPREC*)':
gv_R.cpp:3795: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp: In function 'SEXPREC* R_swig_render__SWIG_0(SEXPREC*, SEXPREC*)':
gv_R.cpp:3825: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp: In function 'SEXPREC* R_swig_render__SWIG_1(SEXPREC*, SEXPREC*,
SEXPREC*)':
gv_R.cpp:3854: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp: In function 'SEXPREC* R_swig_render__SWIG_2(SEXPREC*, SEXPREC*,
SEXPREC*, SEXPREC*)':
gv_R.cpp:3891: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp: In function 'SEXPREC* R_swig_render__SWIG_3(SEXPREC*, SEXPREC*,
SEXPREC*, SEXPREC*)':
gv_R.cpp:3934: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp: In function 'SEXPREC* R_swig_renderchannel(SEXPREC*, SEXPREC*,
SEXPREC*, SEXPREC*)':
gv_R.cpp:3977: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp: In function 'SEXPREC* R_swig_renderresult(SEXPREC*, SEXPREC*,
SEXPREC*)':
gv_R.cpp:4016: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp:4028: error: reinterpret_cast from type 'const char*' to type
'char*' casts away constness
gv_R.cpp: In function 'SEXPREC* R_swig_write__SWIG_0(SEXPREC*, SEXPREC*,
SEXPREC*)':
gv_R.cpp:4051: error: invalid conversion from 'void*' to 'char*'
gv_R.cpp: In function 'SEXPREC* R_swig_write__SWIG_1(SEXPREC*, SEXPREC*,
SEXPREC*)':
gv_R.cpp:4084: error: invalid conversion from 'void*' to 'char*'
make[4]: *** [libgv_R_la-gv_R.lo] Error 1
make[4]: Leaving directory /tmp/SBo/graphviz-2.24.0/tclpkg/gv'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory /tmp/SBo/graphviz-2.24.0/tclpkg/gv'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory /tmp/SBo/graphviz-2.24.0/tclpkg'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory /tmp/SBo/graphviz-2.24.0'
make: *** [all] Error 2
Is there something I can do or is this a systemic error that the graphviz
folks need to fix?
TIA,
Rich
More information about the SlackBuilds-users
mailing list