First of all thanks for the helpful answer!

Am Samstag, 5. August 2006 18:50 schrieb Vladimir A. Pavlov:
> On Saturday 05 August 2006 18:03, Mag. Leonhard Landrock wrote:
> > checking whether the C compiler (gcc  ) works... no
> > configure: error: installation or configuration problem: C compiler
> > cannot create executables.
> > make: *** No targets specified and no makefile found.  Stop.
> > make: *** No rule to make target `install'.  Stop.
> > make: *** ld: No such file or directory.  Stop.
> > make: *** ld: No such file or directory.  Stop.
>
> Try to compile something simple yourself with 'gcc SOMEFILE.c' using the
> compiler that "cannot create executables" and look at the following output.
> In the case of an error the output will be helpful.
>
> For example, you can use the following file as SOMEFILE.c
> SOMEFILE_BEGIN
> int main () {}
> SOMEFILE_END

[EMAIL PROTECTED]:/media/sdb3/sources$ cat >  SOMEFILE.c << "EOF"
int main () {}
EOF
[EMAIL PROTECTED]:/media/sdb3/sources$ gcc SOMEFILE.c
/tools/bin/ld: warning: ld-linux.so.2, needed by /lib/libc.so.6, not found 
(try using -rpath or -rpath-link)
/lib/libc.so.6: undefined reference to [EMAIL PROTECTED]'
/lib/libc.so.6: undefined reference to [EMAIL PROTECTED]'
/lib/libc.so.6: undefined reference to [EMAIL PROTECTED]'
/lib/libc.so.6: undefined reference to [EMAIL PROTECTED]'
/lib/libc.so.6: undefined reference to [EMAIL PROTECTED]'
/lib/libc.so.6: undefined reference to [EMAIL PROTECTED]'
/lib/libc.so.6: undefined reference to [EMAIL PROTECTED]'
/lib/libc.so.6: undefined reference to [EMAIL PROTECTED]'
collect2: ld returned 1 exit status

Compiing "SOMEFILE.c" works in my "normal" environment (as user "leo").

> --
> Nothing but perfection
> pv

Leonhard.
-- 
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