I'm trying to compile graphviz on a Tru64 5.1 system+
/bin/sh ../libtool --mode=link gcc -g -O2 -o fontwheeltest fontwheeltest.o libgd.la -lm -L/usr/local1/Tru64-5.1/lib -lfreetype -L/usr/local1/Tru64-5.1/lib -lpng -L/usr/local1/Tru64-5.1/lib -lz -lm -lm -L/usr/local1/Tru64-5.1/lib -lfreetype -L/usr/local1/Tru64-5.1/lib -lpng -L/usr/local1/Tru64-5.1/lib -lz
gcc -g -O2 -o fontwheeltest fontwheeltest.o ./.libs/libgd.al -lm -L/usr/local1/Tru64-5.1/lib -lpng -lz -lm -lpng -lz -lm -lm /usr/local1/Tru64-5.1/lib/libfreetype.so -lpng -lz -Wl,-rpath -Wl,/usr/local1/Tru64-5.1/lib
/bin/ld:
Unresolved:
iconv_open
iconv
iconv_close
I had to change gd/Makefile line from:
LIBS = -lm ${FT_LIBS} ${PNG_LIBS} ${JPEG_LIBS} ${XPM_LIBS} ${Z_LIBS}
to
LIBS = -lm ${FT_LIBS} ${PNG_LIBS} ${JPEG_LIBS} ${XPM_LIBS} ${Z_LIBS} -liconv
(added -liconv)
I also had to do that change in the dotneato Makefile.
on Tru64 5.1, with gcc 3.0.2, the -mieee option is necessary to avoir floating point exceptions (with native compiler 'cc', the option would be '-ieee')
I've also remarked that in dotneato/dotgen/mincross.c, a closing } in dot_mincross() is included into a #ifdef DEBUG statement, so the file doesn't compile when DEBUG is not set
Also, files dotneato/dotmemtest.c dotneato/neatomemtest.c dotneato/twopimemtest.c
do contain C++ style comments, that all compilers do not understand.
Anyway, unfortunately the result obtained when I generate graphs is very (no transparency, picture is truncated so node names are not seen in full...
Cheers,
Jeremie Petit.
Owner: ellson
Status: Fixed