[oe] c compiler cannot create executables (do_configure, gettext-native-0.17-r3)

Christopher Friedt chrisfriedt at gmail.com
Sun Feb 8 02:27:36 UTC 2009


Hi Koen

I determined what the problem was - ccache - I think that because
ccache existed on my (well, my work's) build machine, that it
consistently interfered with *-native.

The remote machine I'm building OE on is a CentOS 4.5 box (not my
preference, but the IT manager's), and my solution was to just remove
ccache entirely.

The relevant part of gettext-0.17/autoconf-lib-link/config.log is below.

Cheers,

Chris

=============================================

configure:2404: checking for x86_64-linux-gcc
configure:2431: result: ccache gcc
configure:2709: checking for C compiler version
configure:2716: ccache gcc --version >&5
configure:2719: $? = 1
configure:2726: ccache gcc -v >&5
configure:2729: $? = 1
configure:2736: ccache gcc -V >&5
configure:2739: $? = 1
configure:2762: checking for C compiler default output file name
configure:2789: ccache gcc
-isystem/home/cfriedt/oe/build-cl9400/tmp/staging/x86_64-linux/usr/include
-O2 -isystem/home/cfriedt/oe/build-cl9400/tmp/staging/x86_64-linux/usr/include
-L/home/cfriedt/oe/build-cl9400/tmp/staging/x86_64-linux/usr/lib
-Wl,-rpath-link,/home/cfriedt/oe/build-cl9400/tmp/staging/x86_64-linux/usr/lib
-Wl,-rpath,/home/cfriedt/oe/build-cl9400/tmp/staging/x86_64-linux/usr/lib
-Wl,-O1 conftest.c  >&5
configure:2792: $? = 1
configure:2830: result:
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "autoconf-lib-link"
| #define VERSION "0.17"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2837: error: C compiler cannot create executables
See `config.log' for more details.


On Sat, Feb 7, 2009 at 11:47 AM, Koen Kooi <k.kooi at student.utwente.nl> wrote:
> On 07-02-09 17:25, Christopher Friedt wrote:
>>
>> Hi everyone,
>>
>> I've run into a configure error that I'm not quite sure how to fix -
>> it could have something to do with ccache, and I've tried clearing out
>> my cache already, but that hasn't worked. It's for a 'new' machine,
>> but I've essentially just copied the aximx50.conf and renamed it to
>> cl9400.conf (also added the relevent parts according to
>> http://wiki.openembedded.net/index.php/Adding_a_new_Machine).
>>
>> What's really odd, is that I've gone into the specified build directly
>> directly after it apparently fails, taken the exact ./configure
>> command from config.log, and run it without any errors showing up.
>>
>> I would appreciate if anyone would like to offer some advice - please
>> see the build log below.
>
> check config.log in ${S} to see what the actual error is.
>
> regards,
>
> Koen
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>




More information about the Openembedded-devel mailing list