[prev in list] [next in list] [prev in thread] [next in thread] 

List:       libusb-devel
Subject:    [Libusb-devel] libusb cross compilation error
From:       Adnan Yaqoob <nsyaqoob () gmail ! com>
Date:       2010-05-29 11:13:31
Message-ID: AANLkTim3LqHeofWN8gSCtH2TjyhLuP2IigIeG0gIGwff () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi,

I am trying to compile libusb-1.0.8 for uClinux kernel 2.6.33 but during the
configuration of libusb using ./configure command the following error showed
up:

~/Desktop/libusb-1.0.8$ ./configure  CC='mb-gcc'
--host=microblaze-uclinux-gnu
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for microblaze-uclinux-gnu-strip... no
checking for strip... strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for microblaze-uclinux-gnu-gcc... mb-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether mb-gcc accepts -g... yes
checking for mb-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of mb-gcc... gcc3
checking build system type... i686-pc-linux-gnuaout
checking host system type... microblaze-unknown-uclinux-gnu
checking whether mb-gcc and cc understand -c and -o together... yes
*checking operating system... configure: error: unsupported operating system
*

can somebody help me to pass the right parameters to ./configure so that it
can configure it for microblaze processor. Thanks!

Regards
Adnan

[Attachment #5 (text/html)]

Hi,<br><br>I am trying to compile libusb-1.0.8 for uClinux kernel
2.6.33 but during the configuration of libusb using ./configure command
the following error showed up:<br><br style="background-color: rgb(192, 192, 192);">
<span style="background-color: rgb(204, 204, 204);">~/Desktop/libusb-1.0.8$ \
./configure  CC=&#39;mb-gcc&#39; --host=microblaze-uclinux-gnu</span><br \
style="background-color: rgb(204, 204, 204);"><span style="background-color: rgb(204, \
204, 204);">configure: WARNING: If you wanted to set the --build type, don&#39;t use \
--host.</span><br style="background-color: rgb(204, 204, 204);">

<span style="background-color: rgb(204, 204, 204);">    If a cross compiler is \
detected then cross compile mode will be used.</span><br style="background-color: \
rgb(204, 204, 204);"><span style="background-color: rgb(204, 204, 204);">checking for \
a BSD-compatible install... /usr/bin/install -c</span><br style="background-color: \
rgb(204, 204, 204);">

<span style="background-color: rgb(204, 204, 204);">checking whether build \
environment is sane... yes</span><br style="background-color: rgb(204, 204, \
204);"><span style="background-color: rgb(204, 204, 204);">checking for \
microblaze-uclinux-gnu-strip... no</span><br style="background-color: rgb(204, 204, \
204);">

<span style="background-color: rgb(204, 204, 204);">checking for strip... \
strip</span><br style="background-color: rgb(204, 204, 204);"><span \
style="background-color: rgb(204, 204, 204);">checking for a thread-safe mkdir -p... \
/bin/mkdir -p</span><br style="background-color: rgb(204, 204, 204);">

<span style="background-color: rgb(204, 204, 204);">checking for gawk... no</span><br \
style="background-color: rgb(204, 204, 204);"><span style="background-color: rgb(204, \
204, 204);">checking for mawk... mawk</span><br style="background-color: rgb(204, \
204, 204);">

<span style="background-color: rgb(204, 204, 204);">checking whether make sets \
$(MAKE)... yes</span><br style="background-color: rgb(204, 204, 204);"><span \
style="background-color: rgb(204, 204, 204);">checking for \
microblaze-uclinux-gnu-gcc... mb-gcc</span><br style="background-color: rgb(204, 204, \
204);">

<span style="background-color: rgb(204, 204, 204);">checking whether the C compiler \
works... yes</span><br style="background-color: rgb(204, 204, 204);"><span \
style="background-color: rgb(204, 204, 204);">checking for C compiler default output \
file name... a.out</span><br style="background-color: rgb(204, 204, 204);">

<span style="background-color: rgb(204, 204, 204);">checking for suffix of \
executables... </span><br style="background-color: rgb(204, 204, 204);"><span \
style="background-color: rgb(204, 204, 204);">checking whether we are cross \
compiling... yes</span><br style="background-color: rgb(204, 204, 204);">

<span style="background-color: rgb(204, 204, 204);">checking for suffix of object \
files... o</span><br style="background-color: rgb(204, 204, 204);"><span \
style="background-color: rgb(204, 204, 204);">checking whether we are using the GNU C \
compiler... yes</span><br style="background-color: rgb(204, 204, 204);">

<span style="background-color: rgb(204, 204, 204);">checking whether mb-gcc accepts \
-g... yes</span><br style="background-color: rgb(204, 204, 204);"><span \
style="background-color: rgb(204, 204, 204);">checking for mb-gcc option to accept \
ISO C89... none needed</span><br style="background-color: rgb(204, 204, 204);">

<span style="background-color: rgb(204, 204, 204);">checking for style of include \
used by make... GNU</span><br style="background-color: rgb(204, 204, 204);"><span \
style="background-color: rgb(204, 204, 204);">checking dependency style of mb-gcc... \
gcc3</span><br style="background-color: rgb(204, 204, 204);">

<span style="background-color: rgb(204, 204, 204);">checking build system type... \
i686-pc-linux-gnuaout</span><br style="background-color: rgb(204, 204, 204);"><span \
style="background-color: rgb(204, 204, 204);">checking host system type... \
microblaze-unknown-uclinux-gnu</span><br style="background-color: rgb(204, 204, \
204);">

<span style="background-color: rgb(204, 204, 204);">checking whether mb-gcc and cc \
understand -c and -o together... yes</span><br style="background-color: rgb(204, 204, \
204);"><b style="background-color: rgb(204, 204, 204);"><span style="color: rgb(255, \
0, 0);">checking operating system... configure: error: unsupported operating \
system</span></b><br style="background-color: rgb(204, 204, 255);">

<br>can somebody help me to pass the right parameters to ./configure so that it can \
configure it for microblaze processor. Thanks!<br><br>Regards<br><font \
color="#888888">Adnan</font>



------------------------------------------------------------------------------



_______________________________________________
Libusb-devel mailing list
Libusb-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusb-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic