qmail compile problem

Joseph C. Lininger jbahm at pcdesk.net
Tue Oct 14 16:12:56 EDT 2003


Hello,
If you are using glibc 2.3.1 or later, the compile will bomb out with an
error like this due to a declaration error. To fix it, you need to install a
couple of patches. If you like, I can either send you the patches or the
source code itself with the patches already applied.
--
Joseph C. Lininger
jbahm at pcdesk.net
----- Original Message ----- 
From: "Igor Gueths" <igueths at comcast.net>
To: <speakup at braille.uwo.ca>
Sent: Monday, October 13, 2003 9:49 PM
Subject: qmail compile problem


> Hi all. I am currently trying to compile Qmail-1.0.3. I figured I would
> switch MTA's since I am going to be running my own domain. However I am
> running into a compile problem, here's the relevant part of the output.
> ./load qmail-remote control.o constmap.o timeoutread.o \
> timeoutwrite.o timeoutconn.o tcpto.o now.o dns.o ip.o \
> ipalloc.o ipme.o quote.o ndelay.a case.a sig.a open.a \
> lock.a seek.a getln.a stralloc.a alloc.a substdio.a error.a \
> str.a fs.a auto_qmail.o  `cat dns.lib` `cat socket.lib`
> dns.o: In function `resolve':
> dns.o(.text+0x11f): undefined reference to `__dn_expand'
> dns.o: In function `findname':
> dns.o(.text+0x1f4): undefined reference to `__dn_expand'
> dns.o(.text+0x28f): undefined reference to `__dn_expand'
> dns.o: In function `findip':
> dns.o(.text+0x304): undefined reference to `__dn_expand'
> dns.o: In function `findmx':
> dns.o(.text+0x417): undefined reference to `__dn_expand'
> dns.o(.text+0x4d7): more undefined references to `__dn_expand' follow
> dns.o: In function `dns_init':
> dns.o(.text+0x513): undefined reference to `__res_search'
> dns.o(.data+0xc): undefined reference to `__res_query'
> collect2: ld returned 1 exit status
> make: *** [qmail-remote] Error 1
>
> I am not exactly sure as to what ld is looking for. Does anyone know what
> ld is trying to find and can't seem to locate? Thanks!
>
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>





More information about the Speakup mailing list