Trouble during installation of packages

T LC adryk at caramail.com
Thu Jan 30 08:01:48 PST 2003


Hi,

I've got some problems with LFS 4.0 during first step : /
$LFS/static
and the install:

1) Bash
./configure --> OK
make
-->
	 
***********************************************************
 
* *
 * GNU bash, version 2.05a.0(2)-release (i686-pc-
linux-gnu)
 
* *
 
***********************************************************

rm -f shell.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"i686"' -
DCONF_OSTYPE='"linux-gnu"'
 -DCONF_MACHTYPE='"i686-pc-linux-gnu"' -
DCONF_VENDOR='"pc"' -DSHELL -DHAVE_CONFIG_H -I.
 -I. -I./include -I./lib -g -O2 -c shell.c
In file included from shell.h:41,
from shell.c:48:
externs.h:163: conflicting types for `gethostname'
/usr/include/unistd.h:734: previous declaration of 
`gethostname'
externs.h:196: conflicting types for `strncasecmp'
/usr/include/string.h:277: previous declaration of 
`strncasecmp'
make: *** [shell.o] Error 1

2) Binutils
	--> OK

3) Bzip2
make CC="gcc -static" -->

ranlib libbz2.a
gcc -static -Wall -Winline -O2 -fomit-frame-pointer -fno-
strength-reduce -D_FILE_OFFSET_BITS=64
 -c bzip2.c
gcc -static -Wall -Winline -O2 -fomit-frame-pointer -fno-
strength-reduce -D_FILE_OFFSET_BITS=64 
 -o bzip2 bzip2.o -L. -lbz2
/usr/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
make: *** [bzip2] Error 1
make install --> OK


Thanks
_________________________________________________________ 
Gagne une PS2 ! Envoie un SMS avec le code PS au 61166
(0,35€ Hors coût du SMS)



More information about the lfs-support mailing list