compiling error on gcc-3.2
jutley3 at earthlink.net
Sun Oct 13 16:13:54 PDT 2002
On 10/13/2002 at 11:48 PM Chris Lingard wrote:
>jose nuno neto wrote:
>> I have no name!:/usr/src/gcc-3.2# cd ../gcc-build
>> <c-build# ../gcc-3.2/configure --prefix=/usr
>> --enable-shared \
>> --enable-threads=posix \
>>> --with-slibdir=/lib --enable-__cxa_atexit
>> Configuring for a i586-pc-linux-gnulibc1 host.
>> *** This configuration is not supported in the
>> following subdirectories:
>> target-libffi target-boehm-gc target-zlib
>> target-libjava zlib fastjar
>> (Any other directories should still work fine.)
>> Created "Makefile" in /usr/src/gcc-build using
>> "mh-frag" and "mt-frag"
>> cannot open crt1.o: No such file or directory
>> collect2: ld returned 1 exit stat
>> *** The command 'cc -o conftest -g conftest.c'
>> *** You must set the environment variable CC to a
>> working compiler.
>Please check that you have installed grep correctly. You should have
>a static program called egrep in your LFS system
>Check for this by doing ldd $LFS/static/bin/egrep
>If this reports that it is dynamically linked then reinstall Grep.
Also, Jose, your copy/paste would seem to indicate that you don't have glibc installed correctly, as you still have the "I have no name!" prompt. Once you finish the glibc instructions and run the exec /static/bin/bash --login command, this should be replaced by "root". You should definatley double-check your glibc install.
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message
More information about the lfs-support