Bug 70709 - Cross Compile configure errors
Summary: Cross Compile configure errors
Status: RESOLVED NOT A BUG
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: 3.0.0b2
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-17 20:48 UTC by David Stevenson
Modified: 2004-01-06 17:57 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Stevenson 2003-12-17 20:48:53 UTC
Version:           3.0.0b2 (using KDE KDE 3.1.1)
Installed from:    SuSE RPMs
Compiler:          gcc3.3 (suse) 
OS:          Linux

I have set Project->project options->config Options->Configure arguments to 
"host=i386-uclibc" and run re-config which runs though about 23 tests all of 
which look OK until "invalid configuration "i386-uclibc": system 'uclibc' not 
recognized.
From the documentaion I belive I have set the correct option and this should work.
I have reported this on mail list, but no resolution.

here are errors as reported.
cd /home/david/smart/my_source/testvideo/debug && CFLAGS="-O0 -g3" /home/david/smart/my_source/testvideo/configure --host=i386-uclibc
* 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.
* installing -c
* checking whether build environment is sane... yes
* checking for gawk... gawk
* checking whether make sets $(MAKE)... yes
* checking for i386-uclibc-strip... i386-uclibc-strip
* checking for i386-uclibc-gcc... i386-uclibc-gcc
* checking for C compiler default output... a.out
* checking whether the C compiler works... yes
* checking whether we are cross compiling... yes
* checking for suffix of executables...
* checking for suffix of object files... o
* checking whether we are using the GNU C compiler... yes
* checking whether i386-uclibc-gcc accepts -g... yes
* checking for i386-uclibc-gcc option to accept ANSI C... none needed
* checking for style of include used by make... GNU
* checking dependency style of i386-uclibc-gcc... gcc
* checking build system type... i686-pc-linux-gnu
* checking host system type...
* Invalid configuration `i386-uclibc': system `uclibc' not recognized
* configure: error: /bin/sh /home/david/smart/my_source/testvideo/config.sub i386-uclibc failed
* *** Exited with status: 1 ***
Comment 1 Thiago Macieira 2003-12-18 16:21:46 UTC
That's a problem with GNU autoconf.
Comment 2 David Stevenson 2003-12-18 18:44:47 UTC
Is there a work around?
Comment 3 Thiago Macieira 2003-12-18 18:56:33 UTC
I have no idea. You have to ask the GNU autoconf developers and community. It's not a KDE bug.
Comment 4 Amilcar do Carmo Lucas 2004-01-06 17:57:01 UTC
Like Thiago said, this is invalid