[oe] opensp_1.5: `do_compile` fails with for example `RastEventHandler.cxx:(.text+0x7f0): undefined reference to `OpenSP::Sd::execToInternal(char const*) const'`

Paul Menzel paulepanter at users.sourceforge.net
Mon Oct 18 12:43:01 UTC 2010


Dear OE folks,


trying to build openjade to test ab83ea [1], task `do_compile` of
`opensp_1.5.bb` [2] fails with the following error with `minimal`
(eglibc) for `MACHINE = "beagleboard"`.

	[…]
	| /bin/sh ../arm-oe-linux-gnueabi-libtool --tag=CXX   --mode=link arm-oe-linux-gnueabi-g++ -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb  -isystem/oe/build-minimal-eglibc/minimal-dev/sysroots/armv7a-oe-linux-gnueabi/usr/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -fpermissive -fvisibility-inlines-hidden  -L/oe/build-minimal-eglibc/minimal-dev/sysroots/armv7a-oe-linux-gnueabi/usr/lib -Wl,-rpath-link,/oe/build-minimal-eglibc/minimal-dev/sysroots/armv7a-oe-linux-gnueabi/usr/lib -Wl,-O1 -Wl,--hash-style=gnu -o onsgmls nsgmls.o SgmlsEventHandler.o RastEventHandler.o StringSet.o nsgmls_inst.o ../lib/libosp.la -lpthread
	| arm-oe-linux-gnueabi-libtool: link: arm-oe-linux-gnueabi-g++ -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb -isystem/oe/build-minimal-eglibc/minimal-dev/sysroots/armv7a-oe-linux-gnueabi/usr/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -fpermissive -fvisibility-inlines-hidden -Wl,-rpath-link -Wl,/oe/build-minimal-eglibc/minimal-dev/sysroots/armv7a-oe-linux-gnueabi/usr/lib -Wl,-O1 -Wl,--hash-style=gnu -o .libs/onsgmls nsgmls.o SgmlsEventHandler.o RastEventHandler.o StringSet.o nsgmls_inst.o  -L/oe/build-minimal-eglibc/minimal-dev/sysroots/armv7a-oe-linux-gnueabi/usr/lib ../lib/.libs/libosp.so /oe/build-minimal-eglibc/minimal-dev/sysroots/armv7a-oe-linux-gnueabi/usr/lib/libstdc++.so -lm -lpthread -Wl,-rpath -Wl,/usr/lib -Wl,-rpath -Wl,/oe/build-minimal-eglibc/minimal-dev/sysroots/armv7a-oe-linux-gnueabi/usr/lib
	| SgmlsEventHandler.o: In function `OpenSP::SgmlsEventHandler::startElement(OpenSP::StartElementEvent*)':
	| SgmlsEventHandler.cxx:(.text+0x1374): undefined reference to `OpenSP::StartElementEvent::mustOmitEnd() const'
	| RastEventHandler.o: In function `OpenSP::RastEventHandler::sgmlDecl(OpenSP::SgmlDeclEvent*)':
	| RastEventHandler.cxx:(.text+0x7f0): undefined reference to `OpenSP::Sd::execToInternal(char const*) const'
	| RastEventHandler.cxx:(.text+0x814): undefined reference to `OpenSP::Sd::execToInternal(char const*) const'
	| RastEventHandler.cxx:(.text+0x838): undefined reference to `OpenSP::Sd::execToInternal(char const*) const'
	| RastEventHandler.cxx:(.text+0x85c): undefined reference to `OpenSP::Sd::execToInternal(char const*) const'
	| RastEventHandler.o: In function `OpenSP::RastEventHandler::attributeInfo(OpenSP::AttributeList const&, OpenSP::RastSubdocState::AttributeType)':
	| RastEventHandler.cxx:(.text+0x16fc): undefined reference to `OpenSP::TokenizedAttributeValue::tokenLocation(unsigned int) const'
	| collect2: ld returned 1 exit status
	| make[3]: *** [onsgmls] Error 1
	| make[3]: Leaving directory `/oe/build-minimal-eglibc/minimal-dev/work/armv7a-oe-linux-gnueabi/opensp-1.5-r2/OpenSP-1.5/nsgmls'
	| make[2]: *** [all] Error 2
	| make[2]: Leaving directory `/oe/build-minimal-eglibc/minimal-dev/work/armv7a-oe-linux-gnueabi/opensp-1.5-r2/OpenSP-1.5/nsgmls'
	| make[1]: *** [all-recursive] Error 1
	| make[1]: Leaving directory `/oe/build-minimal-eglibc/minimal-dev/work/armv7a-oe-linux-gnueabi/opensp-1.5-r2/OpenSP-1.5'
	| make: *** [all] Error 2
	| FATAL: oe_runmake failed
	| ERROR: Function do_compile failed
	NOTE: package opensp-1.5-r2: task do_compile: Failed
	ERROR: TaskFailed event exception, aborting
	ERROR: Build of /oe/openembedded/recipes/opensp/opensp_1.5.bb do_compile failed
	ERROR: Task 12 (/oe/openembedded/recipes/opensp/opensp_1.5.bb, do_compile) failed with 256
	ERROR: '/oe/openembedded/recipes/opensp/opensp_1.5.bb' failed
	ERROR: '/oe/openembedded/recipes/opensp/opensp_1.5.bb' failed

Does anyone know what might cause this?


Thanks,

Paul


[1] http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=ab83ea3d6e6b881480cb6665e9921b65f9b6e682
[2] http://cgit.openembedded.org/cgit.cgi/openembedded/tree/recipes/opensp/?id=6fe7cef27069415f2eba36bc640cf59013d4979b
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20101018/b0cda234/attachment-0002.sig>


More information about the Openembedded-devel mailing list