inetutils fails in compilation
chris at beaker67.com
Tue Nov 3 05:45:26 PST 2009
Oops, had half a sentence typed before sending...
On 11/03/2009 08:41 AM, Chris Staub wrote:
> On 11/02/2009 08:45 PM, yayo wrote:
>> I'm currently at chapter 6.31: Inetutils.
>> I'm using a LFS-livecd (6.3) as host system and the version 6.5 of the LFS book.
>> Also I'm using the last package management system mentioned in the LFS book itself, the one named "user based management" (with just some little problems all solved so far).
>> I tried building Inetutils but the process fails.
>> This is the last part of the building log, the part which seems to have something wrong:
>> gcc -std=gnu99 -g -O2 -o ftp cmds.o cmdtab.o domacro.o ftp.o main.o ruserpass.o -L../libinetutils -linetutils -L../lib -lgnu -lreadline -lcurses -lhistory -lresolv -lnsl
>> /usr/lib/gcc/i686-pc-linux-gnu/4.4.1/../../../libreadline.a(xmalloc.o): In function `xrealloc':
>> /usr/src/readline/readline-6.0/xmalloc.c:71: multiple definition of `xrealloc'
>> ../lib/libgnu.a(xmalloc.o):/usr/src/inetutils/inetutils-1.6/lib/xmalloc.c:60: first defined here
>> /usr/lib/gcc/i686-pc-linux-gnu/4.4.1/../../../libreadline.a(xmalloc.o): In function `xmalloc':
>> /usr/src/readline/readline-6.0/xmalloc.c:58: multiple definition of `xmalloc'
>> ../lib/libgnu.a(xmalloc.o):/usr/src/inetutils/inetutils-1.6/lib/xmalloc.c:48: first defined here
>> collect2: ld returned 1 exit status
>> make: *** [ftp] Error 1
>> make: Leaving directory `/usr/src/inetutils/inetutils-1.6/ftp'
>> make: Leaving directory `/usr/src/inetutils/inetutils-1.6'
>> make: *** [all-recursive] Error 1
>> make: *** [all] Error 2
> And yes, as Ken said,
> trying to use
Was trying to say "Trying to use package users (or really any package
management system) is generally not a good idea unless you are very
familiar and experienced building LFS. Package Users in particular is
tough for anyone relatively new."
More information about the lfs-support