[oe] Creating a new recipe, how to fix config.log: CROSS COMPILE Badness /usr/include in INCLUDEPATH?

AJ ONeal coolaj86 at gmail.com
Thu Aug 19 16:11:57 UTC 2010


I'm assuming that this "CROSS COMPILE Badness" is part of OE and not part of
the package.

What is it that I need to do to correct this error? Please point me in the
right direction.


NOTE: Running task 391 of 552 (ID: 8,
/home/coolaj86/overo-oe/user.collection/recipes/nodejs/nodejs_0.1.104.bb,
do_qa_configure)
ERROR: This autoconf log indicates errors, it looked at host includes.
Rerun configure task after fixing this.




config.log:
----------------------------------------
Checking for library execinfo
==>

int main() {
  return 0;
}

<==
[1/2] cxx: build/.conf_check_0/test.cpp ->
build/.conf_check_0/testbuild/default/test_1.o
CROSS COMPILE Badness: /usr/include in INCLUDEPATH: /usr/include
cc1plus: internal compiler error: in add_path, at c-incpath.c:425
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
['arm-angstrom-linux-gnueabi-g++', '-march=armv7-a', '-mtune=cortex-a8',
'-mfpu=neon', '-mfloat-abi=softfp',
'-isystem/home/coolaj86/overo-oe/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include',
'-fexpensive-optimizations', '-frename-registers', '-fomit-frame-pointer',
'-O2', '-ggdb3', '-fpermissive', '-fvisibility-inlines-hidden',
'-isystem/home/coolaj86/overo-oe/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include',
'-isystem/home/coolaj86/overo-oe/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include',
'-I/usr/local/include', '-I/usr/include', '../test.cpp', '-c', '-o',
'default/test_1.o']
command returned 'Build failed:  -> task failed (err #1): \n\t{task: cxx
test.cpp -> test_1.o}'not found




I'm also assuming that this error is not what triggered the config.log
error?

Checking for header port.h
==>
#include <port.h>

int main() {
  return 0;
}

<==
[1/2] cc: build/.conf_check_0/test.c ->
build/.conf_check_0/testbuild/default/test_1.o
../test.c:1:18: error: port.h: No such file or directory
['arm-angstrom-linux-gnueabi-gcc', '-march=armv7-a', '-mtune=cortex-a8',
'-mfpu=neon', '-mfloat-abi=softfp',
'-isystem/home/coolaj86/overo-oe/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include',
'-fexpensive-optimizations', '-frename-registers', '-fomit-frame-pointer',
'-O2', '-ggdb3', '-rdynamic', '-D_GNU_SOURCE', '-DHAVE_CONFIG_H=1',
'-isystem/home/coolaj86/overo-oe/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include',
'-isystem/home/coolaj86/overo-oe/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include',
'../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed:  -> task failed (err #1): \n\t{task: cc
test.c -> test_1.o}'not found



AJ ONeal



More information about the Openembedded-devel mailing list