bug-inetutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-inetutils] inetutils-1.8: ftp build error


From: Giuseppe Scrivano
Subject: Re: [bug-inetutils] inetutils-1.8: ftp build error
Date: Tue, 08 Jun 2010 10:45:40 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Hello,

I am forwarding an error reported on the inetutils mailing list.

The problem is that readline 6.x exports `xmalloc' and `xrealloc', and
it causes a linker error when used together with gnulib.

Probably readline shouldn't export these symbols, but I think it should
be possible somehow to workaround this problem in gnulib as well.

What do you think?

Cheers,
Giuseppe



Jimi <address@hidden> writes:

> Hello,
>
> When I try to build the ftp binary included in the inetutils package, I
> encounter an error. It appears to be related to libreadline's reference of
> xmalloc.
>
> Here are the arguments passed during the configuration stage:
> ./configure --prefix=/usr --libexecdir=/usr/sbin --sysconfdir=/etc
> --localstatedir=/var --disable-logger --disable-syslogd --disable-whois
> --disable-servers


This is the relevant part of the build log:

/usr/lib/gcc/i686-pc-linux-gnu/4.5.0/../../../libreadline.a(xmalloc.o): In 
function `xmalloc':
/usr/src/readline/xxxbuild/yyysrc/xmalloc.c:58: multiple definition of `xmalloc'
../lib/libgnu.a(xmalloc.o):/usr/src/inetutils/xxxbuild/yyysrc/lib/xmalloc.c:44: 
first defined here
/usr/lib/gcc/i686-pc-linux-gnu/4.5.0/../../../libreadline.a(xmalloc.o): In 
function `xrealloc':
/usr/src/readline/xxxbuild/yyysrc/xmalloc.c:71: multiple definition of 
`xrealloc'
../lib/libgnu.a(xmalloc.o):/usr/src/inetutils/xxxbuild/yyysrc/lib/xmalloc.c:56: 
first defined here
collect2: ld returned 1 exit status
make[2]: Leaving directory `/usr/src/inetutils/xxxbuild/inetutils-1.8/ftp'
make[1]: Leaving directory `/usr/src/inetutils/xxxbuild/inetutils-1.8'
make[2]: *** [ftp] Error 1



reply via email to

[Prev in Thread] Current Thread [Next in Thread]