|
Hi all, I'm trying to build package libcgicc for an ARM machine. Build process fails at compiling stage (see attached log), but seems it's only a test class. Anyone knows how to avoid test.cpp compilation, or has solved a similar problem? Ragards, ERROR LOG: NOTE: Handling BitBake files: / (4641/4641) [100 %] NOTE: Parsing finished. 4417 cached, 0 parsed, 224 skipped, 0 masked. NOTE: build 200804041147: started OE Build Configuration: BB_VERSION = "1.8.5" OE_REVISION = "<unknown>" TARGET_ARCH = "arm" TARGET_OS = "linux-gnueabi" MACHINE = "colibri" DISTRO = "angstrom" DISTRO_VERSION = "test-20080404" TARGET_FPU = "soft" NOTE: Resolving missing task queue dependencies NOTE: preferred version 2.5 of glibc not available (for item virtual/arm-angstrom-linux-gnueabi-libc-for-gcc) NOTE: Preparing runqueue NOTE: Executing runqueue NOTE: Running task 278 of 284 (ID: 0, /home/vpalacio/controldevice/org.openembedded.dev/packages/libcgicc/libcgicc_3.2.3.bb, do_compile) NOTE: package libcgicc-3.2.3: started NOTE: package libcgicc-3.2.3-r0: task do_compile: started ERROR: function do_compile failed ERROR: log data follows (/home/vpalacio/controldevice/oebuild/work/armv5te-angstrom-linux-gnueabi/libcgicc-3.2.3-r0/temp/log.do_compile.24133) | NOTE: make | Making all in cgicc | make[1]: Entering directory `/home/vpalacio/controldevice/oebuild/work/armv5te-angstrom-linux-gnueabi/libcgicc-3.2.3-r0/cgicc-3.2.3/cgicc' | make all-am | make[2]: Entering directory `/home/vpalacio/controldevice/oebuild/work/armv5te-angstrom-linux-gnueabi/libcgicc-3.2.3-r0/cgicc-3.2.3/cgicc' | make[2]: Leaving directory `/home/vpalacio/controldevice/oebuild/work/armv5te-angstrom-linux-gnueabi/libcgicc-3.2.3-r0/cgicc-3.2.3/cgicc' | make[1]: Leaving directory `/home/vpalacio/controldevice/oebuild/work/armv5te-angstrom-linux-gnueabi/libcgicc-3.2.3-r0/cgicc-3.2.3/cgicc' | Making all in doc | make[1]: Entering directory `/home/vpalacio/controldevice/oebuild/work/armv5te-angstrom-linux-gnueabi/libcgicc-3.2.3-r0/cgicc-3.2.3/doc' | make[1]: Leaving directory `/home/vpalacio/controldevice/oebuild/work/armv5te-angstrom-linux-gnueabi/libcgicc-3.2.3-r0/cgicc-3.2.3/doc' | Making all in support | make[1]: Entering directory `/home/vpalacio/controldevice/oebuild/work/armv5te-angstrom-linux-gnueabi/libcgicc-3.2.3-r0/cgicc-3.2.3/support' | make[1]: Nothing to be done for `all'. | make[1]: Leaving directory `/home/vpalacio/controldevice/oebuild/work/armv5te-angstrom-linux-gnueabi/libcgicc-3.2.3-r0/cgicc-3.2.3/support' | Making all in demo | make[1]: Entering directory `/home/vpalacio/controldevice/oebuild/work/armv5te-angstrom-linux-gnueabi/libcgicc-3.2.3-r0/cgicc-3.2.3/demo' | /bin/sh ../arm-angstrom-linux-gnueabi-libtool --tag=CXX --mode=link ccache arm-angstrom-linux-gnueabi-g++ -march=armv5te -mtune=xscale -Wall -W -pedantic -isystem/home/vpalacio/controldevice/oebuild/staging/arm-angstrom-linux-gnueabi/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -fpermissive -fvisibility-inlines-hidden -L/home/vpalacio/controldevice/oebuild/staging/arm-angstrom-linux-gnueabi/lib -Wl,-rpath-link,/home/vpalacio/controldevice/oebuild/staging/arm-angstrom-linux-gnueabi/lib -Wl,-O1 -o test.cgi test.o ../cgicc/libcgicc.la | LD_RUN_PATH="/home/vpalacio/controldevice/oebuild/cross/lib/gcc/arm-angstrom-linux-gnueabi/4.1.2/../../../../arm-angstrom-linux-gnueabi/lib:$LD_RUN_PATH" ccache arm-angstrom-linux-gnueabi-g++ -march=armv5te -mtune=xscale -Wall -W -pedantic -isystem/home/vpalacio/controldevice/oebuild/staging/arm-angstrom-linux-gnueabi/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -fpermissive -fvisibility-inlines-hidden -Wl,-rpath-link -Wl,/home/vpalacio/controldevice/oebuild/staging/arm-angstrom-linux-gnueabi/lib -Wl,-O1 -o .libs/test.cgi test.o -L/home/vpalacio/controldevice/oebuild/staging/arm-angstrom-linux-gnueabi/lib ../cgicc/.libs/libcgicc.so /home/vpalacio/controldevice/oebuild/cross/lib/gcc/arm-angstrom-linux-gnueabi/4.1.2/../../../../arm-angstrom-linux-gnueabi/lib/libstdc++.so -L/home/vpalacio/controldevice/oebuild/cross/arm-angstrom-linux-gnueabi/lib | test.o: In function `showForm(cgicc::Cgicc const&)': | test.cpp:(.text+0xe78): undefined reference to `cgicc::FormEntry::operator*() const' | test.cpp:(.text+0xea8): undefined reference to `cgicc::FormEntry::getStrippedValue() const' | test.cpp:(.text+0xecc): undefined reference to `cgicc::FormEntry::getValue() const' | test.o: In function `dumpList(cgicc::Cgicc const&)': | test.cpp:(.text+0x1ae0): undefined reference to `cgicc::FormEntry::getName() const' | test.cpp:(.text+0x1ae4): undefined reference to `cgicc::FormEntry::getValue() const' | test.o: In function `dumpEnvironment(cgicc::CgiEnvironment const&)': | test.cpp:(.text+0x2b70): undefined reference to `cgicc::CgiEnvironment::getRequestMethod() const' | test.cpp:(.text+0x2b78): undefined reference to `cgicc::CgiEnvironment::getPathInfo() const' | test.cpp:(.text+0x2b80): undefined reference to `cgicc::CgiEnvironment::getPathTranslated() const' | test.cpp:(.text+0x2b88): undefined reference to `cgicc::CgiEnvironment::getScriptName() const' | test.cpp:(.text+0x2b90): undefined reference to `cgicc::CgiEnvironment::getReferrer() const' | test.cpp:(.text+0x2b98): undefined reference to `cgicc::CgiEnvironment::getCookies() const' | test.cpp:(.text+0x2ba0): undefined reference to `cgicc::CgiEnvironment::getQueryString() const' | test.cpp:(.text+0x4bdc): undefined reference to `cgicc::CgiEnvironment::getPostData() const' | test.cpp:(.text+0x4bec): undefined reference to `cgicc::CgiEnvironment::getRemoteHost() const' | test.cpp:(.text+0x4bf4): undefined reference to `cgicc::CgiEnvironment::getRemoteAddr() const' | test.cpp:(.text+0x4bfc): undefined reference to `cgicc::CgiEnvironment::getAuthType() const' | test.cpp:(.text+0x4c04): undefined reference to `cgicc::CgiEnvironment::getRemoteUser() const' | test.cpp:(.text+0x4c0c): undefined reference to `cgicc::CgiEnvironment::getRemoteIdent() const' | test.cpp:(.text+0x4c14): undefined reference to `cgicc::CgiEnvironment::getContentType() const' | test.cpp:(.text+0x4c1c): undefined reference to `cgicc::CgiEnvironment::getAccept() const' | test.cpp:(.text+0x4c24): undefined reference to `cgicc::CgiEnvironment::getUserAgent() const' | test.cpp:(.text+0x4c34): undefined reference to `cgicc::CgiEnvironment::getServerSoftware() const' | test.cpp:(.text+0x6b60): undefined reference to `cgicc::CgiEnvironment::getServerName() const' | test.cpp:(.text+0x6b68): undefined reference to `cgicc::CgiEnvironment::getGatewayInterface() const' | test.cpp:(.text+0x6b70): undefined reference to `cgicc::CgiEnvironment::getServerProtocol() const' | test.cpp:(.text+0x6b8c): undefined reference to `cgicc::CgiEnvironment::getRedirectRequest() const' | test.cpp:(.text+0x6b94): undefined reference to `cgicc::CgiEnvironment::getRedirectURL() const' | test.cpp:(.text+0x6ba4): undefined reference to `cgicc::CgiEnvironment::getRedirectStatus() const' | test.o: In function `main': | test.cpp:(.text+0x8604): undefined reference to `cgicc::CgiEnvironment::getRemoteHost() const' | test.cpp:(.text+0x8614): undefined reference to `cgicc::CgiEnvironment::getRemoteAddr() const' | test.cpp:(.text+0x866c): undefined reference to `cgicc::CgiEnvironment::getReferrer() const' | test.o: In function `void std::_Destroy<cgicc::FormEntry>(cgicc::FormEntry*)': | test.cpp:(.text._ZSt8_DestroyIN5cgicc9FormEntryEEvPT_[void std::_Destroy<cgicc::FormEntry>(cgicc::FormEntry*)]+0x0): undefined reference to `cgicc::FormEntry::~FormEntry()' | test.o: In function `cgicc::comment::render(std::basic_ostream<char, std::char_traits<char> >&) const': | test.cpp:(.text._ZNK5cgicc7comment6renderERSo[cgicc::comment::render(std::basic_ostream<char, std::char_traits<char> >&) const]+0xfc): undefined reference to `cgicc::HTMLElement::getData() const' | test.o:(.rodata._ZTVN5cgicc17HTMLAtomicElementINS_5brTagEEE[vtable for cgicc::HTMLAtomicElement<cgicc::brTag>]+0x1c): undefined reference to `cgicc::HTMLElement::swapState() const' | test.o:(.rodata._ZTVN5cgicc17HTMLAtomicElementINS_5brTagEEE[vtable for cgicc::HTMLAtomicElement<cgicc::brTag>]+0x20): undefined reference to `cgicc::HTMLElement::getState() const' | test.o:(.rodata._ZTVN5cgicc17HTMLAtomicElementINS_6colTagEEE[vtable for cgicc::HTMLAtomicElement<cgicc::colTag>]+0x1c): undefined reference to `cgicc::HTMLElement::swapState() const' | test.o:(.rodata._ZTVN5cgicc17HTMLAtomicElementINS_6colTagEEE[vtable for cgicc::HTMLAtomicElement<cgicc::colTag>]+0x20): undefined reference to `cgicc::HTMLElement::getState() const' | test.o:(.rodata._ZTVN5cgicc17HTMLAtomicElementINS_5hrTagEEE[vtable for cgicc::HTMLAtomicElement<cgicc::hrTag>]+0x1c): undefined reference to `cgicc::HTMLElement::swapState() const' | test.o:(.rodata._ZTVN5cgicc17HTMLAtomicElementINS_5hrTagEEE[vtable for cgicc::HTMLAtomicElement<cgicc::hrTag>]+0x20): undefined reference to `cgicc::HTMLElement::getState() const' | collect2: ld returned 1 exit status | make[1]: *** [test.cgi] Error 1 | make[1]: Leaving directory `/home/vpalacio/controldevice/oebuild/work/armv5te-angstrom-linux-gnueabi/libcgicc-3.2.3-r0/cgicc-3.2.3/demo' | make: *** [all-recursive] Error 1 | FATAL: oe_runmake failed NOTE: Task failed: /home/vpalacio/controldevice/oebuild/work/armv5te-angstrom-linux-gnueabi/libcgicc-3.2.3-r0/temp/log.do_compile.24133 NOTE: package libcgicc-3.2.3-r0: task do_compile: failed ERROR: TaskFailed event exception, aborting NOTE: package libcgicc-3.2.3: failed ERROR: Build of /home/vpalacio/controldevice/org.openembedded.dev/packages/libcgicc/libcgicc_3.2.3.bb do_compile failed ERROR: Task 0 (/home/vpalacio/controldevice/org.openembedded.dev/packages/libcgicc/libcgicc_3.2.3.bb, do_compile) failed NOTE: Tasks Summary: Attempted 277 tasks of which 277 didn't need to be rerun and 1 failed. ERROR: '/home/vpalacio/controldevice/org.openembedded.dev/packages/libcgicc/libcgicc_3.2.3.bb' failed |
_______________________________________________ Openembedded-users mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-users
