[Mimedefang] Strange MIME-Tools error when make-ing Mimedefang 2.31

Matt Bruce mbruce at insl.co.uk
Mon Mar 24 11:14:00 EST 2003


Editing the Makefile and replacing -lresolv with -lbind (as per section 2.8
in http://www.squid-cache.org/Doc/FAQ/FAQ-2.html) allowed me to make and
"make install" MD correctly.

Anyone know why? :)

Matt


> -----Original Message-----
> From: Matt Bruce
> Sent: Monday, March 24, 2003 3:28 PM
> To: mimedefang at lists.roaringpenguin.com
> 
...
> 
> The other problem I'm having a weird problem while trying to 
> get MIMEDefang installed.
>
...
> gcc -g -O2  -o mimedefang mimedefang.o drop_privs_threaded.o 
> utils.o rm_r.o
> /usr/local/lib/libmilter.a -lpthread -lnsl -lsocket -lresolv
> /usr/local/lib/libmilter.a(listener.o): In function `mi_milteropen':
> listener.o(.text+0x424): undefined reference to `__inet_addr'
> /usr/local/lib/libmilter.a(sm_gethost.o): In function `mi_inet_pton':
> sm_gethost.o(.text+0x68): undefined reference to `__inet_pton'
> /usr/local/lib/libmilter.a(engine.o): In function `st_connectinfo':
> engine.o(.text+0x9a4): undefined reference to `__inet_aton'
> collect2: ld returned 1 exit status
> make: *** [mimedefang] Error 1




More information about the MIMEDefang mailing list