fetchmail-friends
[Top] [All Lists]

[fetchmail]Errors compiling fetchmail 6.2.5

2004-05-10 05:37:20
Hello list,

When I compile fetchmail 6.2.5 I get the following errors:

mxget.o: In function `getmxrecords':
mxget.o(.text+0x38): undefined reference to `__res_search'
mxget.o(.text+0x152): undefined reference to `__dn_expand'
mxget.o(.text+0x1cb): undefined reference to `__dn_expand'
collect2: ld returned 1 exit status
make: *** [fetchmail] Error 1

Yes, I read the FAQ and all. However, -lresolv already is in the
generated Makefile:

grep LOADLIBS ./Makefile
LOADLIBS = -lcrypt  -lresolv  -lfl

I also tried without lresolv, resulting in:

mxget.o: In function `getmxrecords':
mxget.o(.text+0x38): undefined reference to `__res_search'
mxget.o(.text+0xac): undefined reference to `__dn_skipname'
mxget.o(.text+0x152): undefined reference to `__dn_expand'
mxget.o(.text+0x1cb): undefined reference to `__dn_expand'
collect2: ld returned 1 exit status
make: *** [fetchmail] Error 1

bind is installed:

rpm -qa | grep bind
bindutil-8.2.3-200
bind8-8.2.3-200

Now the additional stuff:

OS is Linux Kernel 2.2.19
gcc version 2.95.2 19991024 (release)
configure was ./configure  --with-included-gettext --disable-nls

Atm I'm using fetchmail 6.2.2 which works fine:

/usr/local/bin/fetchmail -V
This is fetchmail release 6.2.2
Fallback MDA: (none)
Linux ollikahn 2.2.19 #5 Wed Nov 27 13:20:31 CET 2002 i686
unknown

ldd /usr/local/bin/fetchmail
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x40019000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x40046000)
        libc.so.6 => /lib/libc.so.6 (0x40055000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)


Hope you can help me, best regards, JO


<Prev in Thread] Current Thread [Next in Thread>
  • [fetchmail]Errors compiling fetchmail 6.2.5, Joerg Over Dexia <=