Shane, Thanks I tried that. Now 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 -lsocket -lnsl 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 -lsocket -lnsl pop3d.c: In function `handle_client': pop3d.c:205: warning: int format, pid_t arg (arg 3) pop3d.c: In function `main': pop3d.c:323: warning: `n_max_connects' might be used uninitialized in this function Undefined first referenced symbol in file inet_aton /var/tmp//ccbYS3vC.o ld: fatal: Symbol referencing errors. No output written to dbmail-pop3d collect2: ld returned 1 exit status make: *** [pop3d] Error 1 ----- Original Message ----- From: "Shane Kerr" <[EMAIL PROTECTED]> To: <dbmail@dbmail.org> Sent: Tuesday, August 13, 2002 3:05 AM Subject: Re: [Dbmail] dbmail on solaris 9 > 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 > _______________________________________________ > Dbmail mailing list > Dbmail@dbmail.org > https://mailman.fastxs.nl/mailman/listinfo/dbmail >