Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Issue with compiling buildroot
@ 2009-05-20  4:35 Ratheendran Rajeshwaran
  2009-05-20  5:16 ` Peter Korsgaard
  0 siblings, 1 reply; 2+ messages in thread
From: Ratheendran Rajeshwaran @ 2009-05-20  4:35 UTC (permalink / raw)
  To: buildroot

Hi

I am compiling buildroot(buildroot-2009.02-rc1) on ARM 9 processor(LN2410
board).
Now I have used a new cross compiler gcc  3.4.3.
On compiling I get the below error message.

"*************
cp -dpRf package/config/buildroot- config
/root/LN2410/buildroot/test/buildroot-2009.02-rc1/project_build_arm/uclibc/buildroot-config
/usr/bin/make -j1
CC=/root/LN2410/crossTool/ln2410//bin/arm-none-linux-gnueabi-gcc
CROSS_COMPILE="/root/LN2410/crossTool/ln2410//bin/arm-none-linux-gnueabi-" \
        CROSS="/root/LN2410/crossTool/ln2410//bin/arm-none-linux-gnueabi-"
PREFIX="/root/LN2410/buildroot/test/buildroot-2009.02-rc1/project_build_arm/uclibc/root"
\
        ARCH=arm \
        EXTRA_CFLAGS="-Os
-I/root/LN2410/buildroot/test/buildroot-2009.02-rc1/build_arm/staging_dir/include
-I/root/LN2410/buildroot/test/buildroot-2009.02-rc1/build_arm/staging_dir/usr/include
-I/root/LN2410/crossTool/ln2410//arm-none-linux-gnueabi/include --sysroot
/root/LN2410/buildroot/test/buildroot-2009.02-rc1/build_arm/staging_dir/" -C
/root/LN2410/buildroot/test/buildroot-2009.02-rc1/project_build_arm/uclibc/busybox-1.13.2
make[1]: Entering directory
`/root/LN2410/buildroot/test/buildroot-2009.02-rc1/project_build_arm/uclibc/busybox-1.13.2'
  CC      applets/applets.o
arm-none-linux-gnueabi-gcc:
/root/LN2410/buildroot/test/buildroot-2009.02-rc1/build_arm/staging_dir/:
linker input file unused because linking not done
* cc1: error: unrecognized command line option "-fsysroot"*
cc1:
/root/LN2410/buildroot/test/buildroot-2009.02-rc1/build_arm/staging_dir/: No
such file or directory
make[2]: *** [applets/applets.o] Error 1
make[1]: *** [applets] Error 2

Regards,
Ratheendran
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20090520/65b4dafc/attachment.htm>

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Buildroot] Issue with compiling buildroot
  2009-05-20  4:35 [Buildroot] Issue with compiling buildroot Ratheendran Rajeshwaran
@ 2009-05-20  5:16 ` Peter Korsgaard
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2009-05-20  5:16 UTC (permalink / raw)
  To: buildroot

>>>>> "Ratheendran" == Ratheendran Rajeshwaran <ratheendranr@gmail.com> writes:

 Ratheendran> Hi

 Ratheendran> I am compiling buildroot(buildroot-2009.02-rc1) on ARM 9 processor(LN2410
 Ratheendran> board).
 Ratheendran> Now I have used a new cross compiler gcc? 3.4.3.
 Ratheendran> On compiling I get the below error message.

Is this toolchain built in buildroot or are you using an external
toolchain?

 Ratheendran> cc1: error: unrecognized command line option "-fsysroot"
 Ratheendran> cc1: /root/LN2410/buildroot/test/buildroot-2009.02-rc1/build_arm/staging_dir/:
 Ratheendran> No such file or directory
 Ratheendran> make[2]: *** [applets/applets.o] Error 1
 Ratheendran> make[1]: *** [applets] Error 2

It seems like your toolchain doesn't support sysroot. We don't support
non-sysroot external toolchains.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-05-20  5:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-20  4:35 [Buildroot] Issue with compiling buildroot Ratheendran Rajeshwaran
2009-05-20  5:16 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox