All,
I've seen some possible solutions for this compile issue but none have
worked for me. The error (in the log file) I am getting back is a little
different from what others have posted. Here are the details:
From the ./configure:
~snip~
checking for gdImageDestroy in -lgd... no
*******************************************************************
*
* ERROR: gd header or library routines are missing
* (yes means it was found, no means it was not found)
*
* gd.h...yes
* gdImageDestroy() in -lgd...no
*
*>>> No way to proceed.
*
*??? Install gd (and/or gd-devel), check www.boutell.com/gd
*??? and Rerun ./configure
*
*******************************************************************
~snip~
From config.log:
~snip~
configure:25423: checking for gdImageDestroy in -lgd
configure:25453: gcc -o conftest -g -O2 -I/usr/local/include -Wshadow
-Wpointer-arith -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -fPIC -DPIC -DLINUX -I/usr/local/include
-L/usr/local/lib conftest.c -lgd -lgdbm -lpcap -lgd -lpcap -lgdbm >&5
/usr/local/lib/libgd.a(gd.o): In function
`gdImageDashedLine':/btn/src/gd/gd.c:1170: undefined reference to `atan2'
:/btn/src/gd/gd.c:1170: undefined reference to `sin'
:/btn/src/gd/gd.c:1238: undefined reference to `atan2'
:/btn/src/gd/gd.c:1238: undefined reference to `sin'
/usr/local/lib/libgd.a(gd.o): In function `lsqrt':/btn/src/gd/gd.c:1475:
undefined reference to `sqrt'
/usr/local/lib/libgd.a(gd.o): In function
`gdImageCopyRotated':/btn/src/gd/gd.c:2210: undefined reference to `sqrt'
:/btn/src/gd/gd.c:2211: undefined reference to `cos'
:/btn/src/gd/gd.c:2212: undefined reference to `sin'
/usr/local/lib/libgd.a(gd.o): In function
`gdImageLine':/btn/src/gd/gd.c:1075: undefined reference to `atan2'
:/btn/src/gd/gd.c:1075: undefined reference to `sin'
:/btn/src/gd/gd.c:994: undefined reference to `atan2'
:/btn/src/gd/gd.c:994: undefined reference to `cos'
collect2: ld returned 1 exit status
configure:25459: $? = 1
configure: failed program was:
| /* confdefs.h. */
~snip~
# uname -a
Linux jones-jiibtn1-vm 2.6.15-27-server #1 SMP Sat Sep 16 02:57:21 UTC
2006 i686 GNU/Linux
Any suggestions for a solution to my compile issue?
Thanks and Regards,
Eric Brander
_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop