Mailinglist Archive: opensuse-programming (84 mails)
| < Previous | Next > |
Re: [suse-programming-e] Tool chain fails to build
- From: James Oakley <joakley@xxxxxxxxxxxxxxx>
- Date: Thu, 26 Aug 2004 11:17:53 -0300
- Message-id: <200408261118.10602.joakley@xxxxxxxxxxxxxxx>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Saturday 21 August 2004 2:57 pm, dfg wijehf wrote:
> Here are the spcific errors ( stuff got cut sorry
> about the inconvienece ).
>
> This is where it dies
>
> checking whether the C compiler (
> /home/sb/buildroot/toolchain_build_mipsel/gcc-3.3-final/gcc/xgcc
> -B/home/sb/buildroot/toolchain_build_mipsel/gcc-3.3-final/gcc/
> -B/home/sb/buildroot/build_mipsel/staging_dir/mipsel-linux-uclibc/bin/
> -B/home/sb/buildroot/build_mipsel/staging_dir/mipsel-linux-uclibc/lib/
> -isystem
> /home/sb/buildroot/build_mipsel/staging_dir/mipsel-linux-uclibc/include
> -g -Os ) works... no
> configure: error: installation or configuration
> problem: C compiler cannot create executables.
Hmm. I see that you're using the uclibc buildroot system. I was able to
successfully build that system as documented. Try cleaning up all of the
compiled code, 'cvs update' and try again.
> This is what happens when I try to compile a simple
> hello.c program.
>
> linux:/home/sb/buildroot #
> /home/sb/buildroot/toolchain_build_mipsel/gcc-3.3-final/gcc/xgcc
First, xgcc is intended to compile glibc/uclibc only. You will not be able to
compile anything else until you build your libc and recompile your gcc using
it. The toplevel Makefile for buildroot should have done all of this for you.
> ignoring nonexistent directory
> "/home/sb/buildroot/build_mipsel/staging_dir/mipsel-linux-uclibc/bin/includ
>e" ignoring nonexistent directory
This confirms that you have not yet built your libc.
What changes have you made to the toplevel Makefile? You should have just set
"ARCH:=mipsel" and ran "make".
- --
James Oakley
Engineering - SolutionInc Ltd.
joakley@xxxxxxxxxxxxxxx
http://www.solutioninc.com
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
This e-mail is CONFIDENTIAL and contains information intended only for the
person(s) named. Any other distribution, copying or disclosure is strictly
prohibited. If you have received this e-mail in error, please notify me
immediately at 902 420 0077 or reply by e-mail to the sender and destroy
the original communication.
Thank You.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFBLfEg4U2uQswGyDcRAiS2AKDYKpA1fvGkIU17cgo2hjGlgvyczQCgnhHO
3H/2+K2pm1hJL6951p7048k=
=Wr1t
-----END PGP SIGNATURE-----
Hash: SHA1
On Saturday 21 August 2004 2:57 pm, dfg wijehf wrote:
> Here are the spcific errors ( stuff got cut sorry
> about the inconvienece ).
>
> This is where it dies
>
> checking whether the C compiler (
> /home/sb/buildroot/toolchain_build_mipsel/gcc-3.3-final/gcc/xgcc
> -B/home/sb/buildroot/toolchain_build_mipsel/gcc-3.3-final/gcc/
> -B/home/sb/buildroot/build_mipsel/staging_dir/mipsel-linux-uclibc/bin/
> -B/home/sb/buildroot/build_mipsel/staging_dir/mipsel-linux-uclibc/lib/
> -isystem
> /home/sb/buildroot/build_mipsel/staging_dir/mipsel-linux-uclibc/include
> -g -Os ) works... no
> configure: error: installation or configuration
> problem: C compiler cannot create executables.
Hmm. I see that you're using the uclibc buildroot system. I was able to
successfully build that system as documented. Try cleaning up all of the
compiled code, 'cvs update' and try again.
> This is what happens when I try to compile a simple
> hello.c program.
>
> linux:/home/sb/buildroot #
> /home/sb/buildroot/toolchain_build_mipsel/gcc-3.3-final/gcc/xgcc
First, xgcc is intended to compile glibc/uclibc only. You will not be able to
compile anything else until you build your libc and recompile your gcc using
it. The toplevel Makefile for buildroot should have done all of this for you.
> ignoring nonexistent directory
> "/home/sb/buildroot/build_mipsel/staging_dir/mipsel-linux-uclibc/bin/includ
>e" ignoring nonexistent directory
This confirms that you have not yet built your libc.
What changes have you made to the toplevel Makefile? You should have just set
"ARCH:=mipsel" and ran "make".
- --
James Oakley
Engineering - SolutionInc Ltd.
joakley@xxxxxxxxxxxxxxx
http://www.solutioninc.com
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
This e-mail is CONFIDENTIAL and contains information intended only for the
person(s) named. Any other distribution, copying or disclosure is strictly
prohibited. If you have received this e-mail in error, please notify me
immediately at 902 420 0077 or reply by e-mail to the sender and destroy
the original communication.
Thank You.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFBLfEg4U2uQswGyDcRAiS2AKDYKpA1fvGkIU17cgo2hjGlgvyczQCgnhHO
3H/2+K2pm1hJL6951p7048k=
=Wr1t
-----END PGP SIGNATURE-----
| < Previous | Next > |