Hello people of OE...
(Philip, I have cc'd this to you since your name and email address in
detailed in the xerces-c bb file.)
I'm having a little trouble with the xerces-c package It can't get
past the do_compile stage, erroring with the following:
| + ./runConfigure -plinux -cccache i586-oe-linux-gcc -march=c3 -
mtune=c3 -xccache i586-oe-linux-g++ -march=c3 -mtune=c3 -minmem -
nsocket -tnative -rpthread
| Generating makefiles with the following options ...
| Platform: linux
| C Compiler: ccache
| C++ Compiler: ccache
| Message Loader: inmem
| Net Accessor: socket
| Transcoder: native
| Thread option: pthread
| bitsToBuild option: 32
| Extra compile options:
| Extra link options:
| Extra configure options:
| Debug is OFF
| I do not recognize the C++ compiler 'ccache'. Continuing anyway...
|
| loading site script /home/tom/stv/oe-stv/openembedded/site/i586-linux
| creating cache ./config.cache
| checking for gcc... ccache
| checking whether the C compiler (ccache -isystem/home/tom/stv/oe-
stv/build/tmp/staging/i586-oe-linux/include -fexpensive-optimizations
-fomit-frame-pointer -frename-registers -O2 -w -O -DPROJ_XMLPARSER -
DPROJ_XMLUTIL -DPROJ_PARSERS -DPROJ_SAX4C -DPROJ_SAX2 -DPROJ_DOM -
DPROJ_DEPRECATED_DOM -DPROJ_VALIDATORS -DXML_USE_NATIVE_TRANSCODER -
DXML_USE_INMEM_MESSAGELOADER -DXML_USE_PTHREADS -
DXML_USE_NETACCESSOR_SOCKET -L/home/tom/stv/oe-stv/build/tmp/
staging/i586-oe-linux/lib -Wl,-rpath-link,/home/tom/stv/oe-stv/build/
tmp/staging/i586-oe-linux/lib -Wl,-O1 ) works... no
| configure: error: installation or configuration problem: C compiler
cannot create executables.
NOTE: Task failed: /home/tom/stv/oe-stv/build/tmp/work/i586-linux/
xerces-c-2.6.0-r0/temp/log.do_compile.20088
NOTE: package xerces-c-2.6.0-r0: task do_compile: failed
ERROR: TaskFailed event exception, aborting
NOTE: package xerces-c-2.6.0: failed
ERROR: Build of xerces-c failed
A bit about my setup:
Funning on a FC5 installation on a 64bit AMD
#--------------------------------------------------------
DIST.conf
PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc-initial:gcc-
cross-initial"
PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc:gcc-cross"
PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}g++:gcc-cross"
PREFERRED_VERSION_gcc = "3.4.4"
PREFERRED_VERSION_gcc-cross = "3.4.4"
PREFERRED_VERSION_gcc-cross-initial = "3.4.4"
PREFERRED_VERSION_binutils-cross = "2.16"
PREFERRED_VERSION_binutils = "2.16"
PREFERRED_PROVIDER_virtual/libiconv = "glibc"
PREFERRED_PROVIDER_virtual/libintl = "glibc"
PREFERRED_VERSION_glibc = "2.4"
PREFERRED_VERSION_glibc-initial = "2.4"
PREFERRED_VERSION_glibc-intermediate = "2.4"
TARGET_FPU_arm = "soft"
TARGET_FPU_armeb = "soft"
PREFERRED_PROVIDER_virtual/libiconv = "glibc"
PREFERRED_PROVIDER_virtual/libintl = "glibc"
#--------------------------------------------------------
MACHINE.conf
TARGET_ARCH = "i586"
TARGET_VENDOR = "-oe"
PREFERRED_PROVIDER_virtual/kernel = "linux-epia"
#PREFERRED_PROVIDER_virtual/kernel = "linux-x86"
IMAGE_FSTYPE = "ext2.gz"
BOOTSTRAP_EXTRA_RDEPENDS = "pciutils udev kernel-modules"
udevdir = "/dev"
OLDEST_KERNEL = "2.6.5"
GLIBC_ADDONS = "nptl"
GLIBC_EXTRA_OECONF = "--with-tls"
IPKG_EXTRA_ARCHS = "i386"
MACHINE_DEPENDS ?= ""
BOOTSTRAP_EXTRA_RDEPENDS += "kernel"
TARGET_CC_ARCH = "-march=c3 -mtune=c3"
PACKAGE_ARCH = "i586"
#--------------------------------------------------------
local.conf
PREFERRED_PROVIDERS = "virtual/qte:qte virtual/libqpe:libqpe-opie"
PREFERRED_PROVIDERS += " virtual/libsdl:libsdl-qpe"
PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc-initial:gcc-
cross-initial"
PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc:gcc-cross"
PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}g++:gcc-cross"
MACHINE = "mini_itx"
TARGET_OS = "linux"
DISTRO = "stv"
IMAGE_FSTYPES = "ext2"
BBINCLUDELOGS = "yes"
CVS_TARBALL_STASH = "http://www.oesources.org/source/current/"
JAVA = ""
LANGUAGES = "c,c++"
HAS_G2C = "no"
HAS_GFORTRAN = "no"
Any ideas? seems like it's selecting the wrong gcc perhaps?
_______________________________________________
Oe mailing list
[email protected]
https://www.handhelds.org/mailman/listinfo/oe