I'm looking to switch from MySQL 3.23 to 4.0 and am testing 4.0.4 & 4.0.5 on a box right now... works fine runtime and compile-time with all other apps. However dbmail doesn't seem to like the includes and borks out, unless this is something else altogether. Compiler is gcc-3.2
Building either rc4 or 1.0 release on a test box with 4.0.4 or 4.0.5 (MySQL) fails in the same spot. It makes fine on an identically configured box with 3.23.54. Error is as follows (with 1.0 release & 4.0.5): ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make clean all rm -f *.o core mysql/*.o cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -c -o list.o list.c cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -c -o debug.o debug.c cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -c -o pipe.o pipe.c cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -c -o mime.o mime.c cc -o mysql/dbmysql.o -c mysql/dbmysql.c -L/usr/local/lib/mysql/ -I/usr/include/mysql/ cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -c -o dbmd5.o dbmd5.c cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -c -o md5.o md5.c cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -c -o bounce.o bounce.c cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -c -o forward.o forward.c cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -c -o memblock.o memblock.c cc -o mysql/dbauthmysql.o -c mysql/dbauthmysql.c -L/usr/local/lib/mysql/ -I/usr/include/mysql/ cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -c -o config.o config.c cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE main.c -o dbmail-smtp list.o debug.o pipe.o mime.o mysql/dbmysql.o dbmd5.o md5.o bounce.o forward.o memblock.o mysql/dbauthmysql.o config.o -L/usr/local/lib/mysql/ -I/usr/include/mysql/ -lmysqlclient -lcrypto /usr/local/lib/mysql//libmysqlclient.a(my_compress.o): In function `my_compress': my_compress.o(.text+0x63): undefined reference to `compress' /usr/local/lib/mysql//libmysqlclient.a(my_compress.o): In function `my_compress_alloc': my_compress.o(.text+0x127): undefined reference to `compress' /usr/local/lib/mysql//libmysqlclient.a(my_compress.o): In function `my_uncompress': my_compress.o(.text+0x1a2): undefined reference to `uncompress' collect2: ld returned 1 exit status make: *** [smtp] Error 1 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Looks like I need to change the order of includes as something is being left out? Suggestions? I'm no C whiz, but looks maybe like the linker isn't performing properly... Thanks, /eli -- CAUTION: Repeated use of finger can cause a system to become overloaded, which can cause it to stop responding. --Infinite wisdom from the font that is ISS 6.2.1