Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] nbd fails to compile with /usr/bin/klcc: unknown option: --sysroot=
@ 2010-06-23 22:53 Peter Hüwe
  2010-06-24  7:44 ` Thomas Petazzoni
  0 siblings, 1 reply; 5+ messages in thread
From: Peter Hüwe @ 2010-06-23 22:53 UTC (permalink / raw)
  To: buildroot

Hi,

the atngw100_defconfig has nbd client and server enabled, and unfortunately it fails to compile, with the message

/usr/bin/klcc: unknown option: --sysroot=/avr/buildroot/output/staging/

$klcc --version
x86_64-pc-linux-gnu-gcc (GCC) 4.1.2 (Gentoo 4.1.2 p1.3)

How can I fix this ? - Unfortunately I'm not that into the whole buildroot system (yet, but I'd like to learn and contribute to it).

Thanks,
Peter

Here are the last few lines:


/usr/bin/klcc -DHAVE_CONFIG_H -I.     -Os -pipe -Os  -msoft-float -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -
I/avr/buildroot/output/staging/usr/include -I/avr/buildroot/output/staging/include --sysroot=/avr/buildroot/output/staging/ -isysroot /avr/buildroot/output/staging -c -o 
knbd_client-nbd-client.o nbd-client.c
/avr/buildroot/output/staging/usr/bin/avr32-unknown-linux-uclibc-gcc -Os -pipe -Os  -msoft-float -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -
D_FILE_OFFSET_BITS=64 -I/avr/buildroot/output/staging/usr/include -I/avr/buildroot/output/staging/include --sysroot=/avr/buildroot/output/staging/ -isysroot 
/avr/buildroot/output/staging -DHAVE_CONFIG_H -I.     -Os -pipe -Os  -msoft-float -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -
D_FILE_OFFSET_BITS=64 -I/avr/buildroot/output/staging/usr/include -I/avr/buildroot/output/staging/include --sysroot=/avr/buildroot/output/staging/ -isysroot 
/avr/buildroot/output/staging -MT nbd-client.o -MD -MP -MF .deps/nbd-client.Tpo -c -o nbd-client.o nbd-client.c
/usr/bin/klcc: unknown option: --sysroot=/avr/buildroot/output/staging/
make[2]: *** [knbd_client-nbd-client.o] Fehler 25
make[2]: *** Warte auf noch nicht beendete Prozesse...
In file included from nbd-client.c:17:
lfs.h:7:1: warning: "_LARGEFILE_SOURCE" redefined
<command-line>: warning: this is the location of the previous definition
In file included from nbd-server.c:56:
lfs.h:7:1: warning: "_LARGEFILE_SOURCE" redefined
<command-line>: warning: this is the location of the previous definition
mv -f .deps/nbd-client.Tpo .deps/nbd-client.Po
mv -f .deps/nbd_server-nbd-server.Tpo .deps/nbd_server-nbd-server.Po
make[2]: Leaving directory `/avr/buildroot/output/build/nbd-2.9.11'
make[1]: *** [all] Fehler 2
make[1]: Leaving directory `/avr/buildroot/output/build/nbd-2.9.11'
make: *** [/avr/buildroot/output/build/nbd-2.9.11/.stamp_built] Fehler 2

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

end of thread, other threads:[~2010-06-24 15:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-23 22:53 [Buildroot] nbd fails to compile with /usr/bin/klcc: unknown option: --sysroot= Peter Hüwe
2010-06-24  7:44 ` Thomas Petazzoni
2010-06-24 10:46   ` [Buildroot] [PATCH] nbd: Bump nbd to version 2.9.15 and remove klcc issue Peter Huewe
2010-06-24 15:35     ` Peter Korsgaard
2010-06-24 10:47   ` [Buildroot] nbd fails to compile with /usr/bin/klcc: unknown option: --sysroot= Peter Hüwe

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