On Thu, Nov 02, 2006 at 11:40:07AM -0700, Eric Brander wrote: > > 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
FWIW, the above compile failed as it was missing -lm -- Anthony David Gambling(n): A discretionary tax on those asleep during high school maths http://adavid.com.au/ 0xA72CE1ED fingerprint = EA1E C69E FE59 BBE1 AA4B F354 BD09 9765 A72C E1ED _______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop
