I have encountered the same result
collect2: ld returned 1 exit status
make: *** [fetchmail] Error 1
with redhat 6.0.
Both 5.6.0 and 5.6.2 source has the same message.
I use RPM instead.
Clarence
-----Original Message-----
From: Heinz Diehl <hd(_at_)cavy(_dot_)de>
To: fetchmail-friends(_at_)lists(_dot_)ccil(_dot_)org
<fetchmail-friends(_at_)lists(_dot_)ccil(_dot_)org>
Date: Friday, February 09, 2001 7:45 PM
Subject: Re: State of fetchamail 5.6.2 code?
On Thu Feb 08 2001, Eric S. Raymond wrote:
AFAIK this release is stable fore production. It's warnings-free on my
Linux using GCC.
It does not even compile on my Linux system (5.4.2 and 5.6.0 did):
[....]
l smbencrypt.c
gcc -DHAVE_CONFIG_H -DLOCALEDIR='"/usr/local/share/locale"' -c -I. -O
-I./intl smbmd4.c
gcc -DHAVE_CONFIG_H -DLOCALEDIR='"/usr/local/share/locale"' -c -I. -O
-I./intl smbutil.c
gcc -DHAVE_CONFIG_H -DLOCALEDIR='"/usr/local/share/locale"' -c -I. -O
-I./intl ipv6-connect.c
gcc -DHAVE_CONFIG_H -DLOCALEDIR='"/usr/local/share/locale"' -c -I. -O
-I./intl md5c.c
gcc -s rcfile_y.o rcfile_l.o socket.o getpass.o pop2.o pop3.o imap.o
etrn.o fetchmail.o idle.o env.o options.o daemon.o driver.o sink.o
rfc822.o smtp.o xmalloc.o uid.o mxget.o md5ify.o rpa.o interface.o netrc.o
base64.o error.o unmime.o conf.o checkalias.o smbdes.o smbencrypt.o
smbmd4.o smbutil.o ipv6-connect.o md5c.o -lcrypt -lresolv -lfl -o
fetchmail
rcfile_y.o: In function yyparse':
rcfile_y.o(.text+0x5e6): undefined reference to dcgettext__'
rcfile_y.o(.text+0x73b): undefined reference to dcgettext__'
rcfile_y.o(.text+0x88b): undefined reference to dcgettext__'
rcfile_y.o: In function yyerror':
rcfile_y.o(.text+0x1053): undefined reference to dcgettext__'
rcfile_y.o(.text+0x109d): undefined reference to dcgettext__'
rcfile_y.o(.text+0x11c0): more undefined references to dcgettext__' follow
collect2: ld returned 1 exit status
make: *** [fetchmail] Error 1
elfie:/usr/local/src/fetchmail-5.6.2 #
elfie:~ # ver_linux
-- Versions installed: (if some fields are empty or look
-- unusual then possibly you have very old versions)
Linux elfie 2.4.2-pre1 #1 Wed Feb 7 16:55:22 CET 2001 i586 unknown
Kernel modules 2.4.2
Gnu C 2.95.2
Gnu Make 3.79
Binutils 2.10.1.0.4
Linux C Library 2.2.1
Dynamic linker ldd (GNU libc) 2.2.1
Linux C++ Library 2.9.0
Procps 2.0.2
Mount 2.10r
Net-tools 1.46
Kbd 0.96
Sh-utils 1.12
Modules Loaded serial
Any hints?
--
# Heinz Diehl, 68259 Mannheim, Germany
_______________________________________________
Fetchmail-friends mailing list
Fetchmail-friends(_at_)lists(_dot_)ccil(_dot_)org
http://lists.ccil.org/mailman/listinfo/fetchmail-friends