Hi Chris,

I downloaded  flex-devel-2.5.4a-1.i386.rpm from the web, and tried to install
it.

hwang66:/home/hwang # rpm -i flex-devel-2.5.4a-1.i386.rpm
error: Failed dependencies:
        linux-gate.so.1 is needed by flex-devel-2.5.4a-1

when I issue:

hwang66:/home/hwang # ldd /bin/ls
        linux-gate.so.1 =>  (0xffffe000)
        librt.so.1 => /lib/tls/librt.so.1 (0x40032000)
        libacl.so.1 => /lib/libacl.so.1 (0x4003b000)
        libselinux.so.1 => /lib/libselinux.so.1 (0x40041000)
        libc.so.6 => /lib/tls/libc.so.6 (0x40050000)
        libpthread.so.0 => /lib/tls/libpthread.so.0 (0x40169000)
        /lib/ld-linux.so.2 (0x40000000)
        libattr.so.1 => /lib/libattr.so.1 (0x4017b000)

the linux-gate.so.1 seems to be there. also for some reason, it looks like 
Suse does not include flex-devel in their distributions. 

have you ever compiled lfs using Suse ?

thanks



-----Original Message-----
From:   Chris Staub [mailto:[EMAIL PROTECTED]
Sent:   Tue 9/20/2005 11:04 AM
To:     LFS Support List
Cc:     
Subject:        Re: compile  binutils failed due to undeclared function
Howard Wang wrote:
> Hi Chris,
> 
> I also installed bison, it still gave the same error message. I did a search, 
> it seems that the ADDLIB is defined in 
> 
> binutils/arparse.y. arlex.l can not find it. or should I compile the bison
> first ? but the lfs 6.0 said that binutil is the first to be compiled.
> 
> thanks
> 
> 
> 
> 
> make[3]: Entering directory `/mnt/lfs/sources/binutils_build/binutils'
> gcc -DHAVE_CONFIG_H -I. -I../../binutils-2.15.91.0.2/binutils -I. 
> -D_GNU_SOURCE -I. -I../../binutils-2.15.91.0.2/binutils -I../bfd 
> -I../../binutils-2.15.91.0.2/binutils/../bfd 
> -I../../binutils-2.15.91.0.2/binutils/../include 
> -I../../binutils-2.15.91.0.2/binutils/../intl -I../intl 
> -DLOCALEDIR="\"/tools/share/locale\"" 
> -Dbin_dummy_emulation=bin_vanilla_emulation   -W -Wall -Wstrict-prototypes 
> -Wmissing-prototypes -g -O2  -c arlex.c
> /mnt/lfs/sources/binutils_build/binutils/../../binutils-2.15.91.0.2/binutils/arlex.l:
>  In function `yylex':
> /mnt/lfs/sources/binutils_build/binutils/../../binutils-2.15.91.0.2/binutils/arlex.l:44:
>  error: `ADDLIB' undeclared (first use in this function)
> /mnt/lfs/sources/binutils_build/binutils/../../binutils-2.15.91.0.2/binutils/arlex.l:44:
>  error: (Each undeclared identifier is reported only once
> /mnt/lfs/sources/binutils_build/binutils/../../binutils-2.15.91.0.2/binutils/arlex.l:44:
>  error: for each function it appears in.)
> 
Did you also install flex-devel and bison-devel?
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page



<<winmail.dat>>

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to