Add -lz to that link line, and I think that will take care of it! Aaron
On Wed, 23 Apr 2003, Ted Rolle wrote: > > I'm compiling dbmail on a SuSE 7.2 system. Here are the messages: > > 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/mysql/lib > -L/usr/local/lib -L/usr/lib -I/usr/local/mysql/include -lmysqlclient > -lcrypto > > mysql/dbauthmysql.o: In function `auth_validate': > mysql/dbauthmysql.o(.text+0x1334): undefined reference to `crypt' > /usr/local/mysql/lib/libmysqlclient.a(my_compress.o): In function > `my_compress_alloc': > my_compress.o(.text+0xb4): undefined reference to `compress' > /usr/local/mysql/lib/libmysqlclient.a(my_compress.o): In function > `my_uncompress': > my_compress.o(.text+0x12a): undefined reference to `uncompress' > collect2: ld returned 1 exit status > make: *** [smtp] Error 1 > > Any help? > > Ted > _______________________________________________ > Dbmail mailing list > Dbmail@dbmail.org > https://mailman.fastxs.nl/mailman/listinfo/dbmail >