Oh, sorry - still finding my way here. Here is a fuller output:

i686-lfs-linux-gnu-gcc -B/tools/lib/ \
         -pipe -O2 -fomit-frame-pointer -Wall -fPIC  \
         -Wl,--export-dynamic  \
        -o expect exp_main_exp.o \
        -L/mnt/lfs/sources/expect5.45 -lexpect5.45 \
        -L/tools/lib -ltcl8.5 \
        -ldl  -lieee -lm \
        -Wl,-rpath,/tools/lib \
        -Wl,-rpath,/tools/lib/expect5.45
/mnt/lfs/tools/bin/../lib/gcc/i686-lfs-linux-gnu/4.5.2/../../../../i686-lfs-linux-gnu/bin/ld:
warning: libutil.so.1, needed by
/mnt/lfs/sources/expect5.45/libexpect5.45.so, not found (try using
-rpath or -rpath-link)
/mnt/lfs/sources/expect5.45/libexpect5.45.so: undefined reference to
`openpty@GLIBC_2.0'
collect2: ld returned 1 exit status
make: *** [expect] Error 1


On Mon, May 2, 2011 at 10:28 AM, DJ Lucas <[email protected]> wrote:
> On 05/01/2011 09:14 PM, Graham Beck wrote:
>
>>
>> /mnt/lfs/sources/expect5.45/libexpect5.45.so: undefined reference to
>> `openpty@GLIBC_2.0'
>> collect2: ld returned 1 exit status
>> make: *** [expect] Error 1
>>
>
> Unfortunately, you've given just enough information for someone to
> determine that the linker exited with a generic error, and that it is
> fussing about libutil. The line immediately above the three you've sent,
> begins with 'gcc' (it should take up about 6 lines on an 80 column
> terminal), and immediately above that is a line that contains 'rm -f
> libexpect5.45.so'. You will need to send all 5 of those lines for
> somebody to make more than a guess about the cause of the issue.
>
> -- DJ Lucas
>
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
>
-- 
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