On 2002-08-12 16:17:43 -0400, Ryan Rothert wrote: > Hello, > > Im trying to compile dbmail on Solaris 9, getting the following error: > > cc -Wall -D_BSD_SOURCE -D_SVID_SOURCE -O2 main.c -o dbmail-smtp list.o > debug.o pipe.o mime.o dbmysql.o dbmd > 5.o md5.o bounce.o forward.o > memblock.o -L/opt/sfw/mysql/lib/mysql -lmysqlclient > cc -Wall -D_BSD_SOURCE -D_SVID_SOURCE -O2 pop3d.c -o dbmail-pop3d pop3.o > list.o debug.o dbmysql.o dbmd5.o md5.o > mime.o misc.o memblock.o -L/opt/sfw/mysql/lib/mysql -lmysqlclient <snip/>
Based on on your errors, try adding "-lsocket -lnsl" to your link. How interested are the dbmail folks in portability? If you want, I can have a stab at autoconfiscating the distribution. I've done it for a few projects in the past. -- Shane Carpe Diem