[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

inet_pton() bug

Hi all,

As you all know Solaris 2.5.1 does not have inet_pton() and lately i
have noticed that compiling ZMailer versions 50-s4 or 50-s11 either
using gcc 2.7.2 or gcc 2.8.1 along with gmake 3.77 i get this:

gmake[2]: Leaving directory `/usr/u/operador/zmailer/libs'
gcc -Wall -g -O2  -DHAVE_CONFIG_H -I./../include -I../include -I.. -I../libresol
v  -o smtpserver smtpserver.o rfc821scn.o debugreport.o fdstatfs.o wantconn.o po
licytest.o cfgread.o smtpdata.o smtpcmds.o smtphelp.o smtprouter.o smtpchild.o m
xverify.o contentpolicy.o version.o -L../libs -lz -lzc -lident -lta  -lresolv -l
socket -lnsl
Undefined                       first referenced
 symbol                             in file
__inet_pton                         ../libs/libz.a(selfaddrs.o)
ld: fatal: Symbol referencing errors. No output written to smtpserver
gmake[1]: *** [smtpserver] Error 1
gmake[1]: Leaving directory `/usr/u/operador/zmailer/smtpserver'
gmake: *** [all] Error 1

The configure options i use are:

./configure --prefix=/usr/zmail --with-bundled-libresolv --with-gcc \
		--with-postoffice=/var/spool/zmail         \
                --with-mailbox=/var/mail                        \
                --with-logdir=/var/spool/zmail/log                     \

Any ideas? Matti? Arnt? are Sparc Solaris users hopeless?

 RCP - Internet Peru      Tel: +51 1 422-4848 
 Dpto de Operaciones      Fax: +51 1 421-8086