<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi all,<br>
<br>
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. <br>
<br>
Anyone knows how to avoid test.cpp compilation, or has solved a similar
problem?<br>
<br>
<br>
Ragards,<br>
<br>
<br>
<b>ERROR LOG:</b><br>
<br>
NOTE: Handling BitBake files: / (4641/4641) [100 %]<br>
NOTE: Parsing finished. 4417 cached, 0 parsed, 224 skipped, 0 masked.<br>
NOTE: build 200804041147: started<br>
<br>
OE Build Configuration:<br>
BB_VERSION&nbsp;&nbsp;&nbsp;&nbsp; = "1.8.5"<br>
OE_REVISION&nbsp;&nbsp;&nbsp; = "&lt;unknown&gt;"<br>
TARGET_ARCH&nbsp;&nbsp;&nbsp; = "arm"<br>
TARGET_OS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = "linux-gnueabi"<br>
MACHINE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = "colibri"<br>
DISTRO&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = "angstrom"<br>
DISTRO_VERSION = "test-20080404"<br>
TARGET_FPU&nbsp;&nbsp;&nbsp;&nbsp; = "soft"<br>
<br>
NOTE: Resolving missing task queue dependencies<br>
NOTE: preferred version 2.5 of glibc not available (for item
virtual/arm-angstrom-linux-gnueabi-libc-for-gcc)<br>
NOTE: Preparing runqueue<br>
NOTE: Executing runqueue<br>
NOTE: Running task 278 of 284 (ID: 0,
/home/vpalacio/controldevice/org.openembedded.dev/packages/libcgicc/libcgicc_3.2.3.bb,
do_compile)<br>
NOTE: package libcgicc-3.2.3: started<br>
NOTE: package libcgicc-3.2.3-r0: task do_compile: started<br>
ERROR: function do_compile failed<br>
ERROR: log data follows
(/home/vpalacio/controldevice/oebuild/work/armv5te-angstrom-linux-gnueabi/libcgicc-3.2.3-r0/temp/log.do_compile.24133)<br>
| NOTE: make<br>
| Making all in cgicc<br>
| make[1]: Entering directory
`/home/vpalacio/controldevice/oebuild/work/armv5te-angstrom-linux-gnueabi/libcgicc-3.2.3-r0/cgicc-3.2.3/cgicc'<br>
| make&nbsp; all-am<br>
| make[2]: Entering directory
`/home/vpalacio/controldevice/oebuild/work/armv5te-angstrom-linux-gnueabi/libcgicc-3.2.3-r0/cgicc-3.2.3/cgicc'<br>
| make[2]: Leaving directory
`/home/vpalacio/controldevice/oebuild/work/armv5te-angstrom-linux-gnueabi/libcgicc-3.2.3-r0/cgicc-3.2.3/cgicc'<br>
| make[1]: Leaving directory
`/home/vpalacio/controldevice/oebuild/work/armv5te-angstrom-linux-gnueabi/libcgicc-3.2.3-r0/cgicc-3.2.3/cgicc'<br>
| Making all in doc<br>
| make[1]: Entering directory
`/home/vpalacio/controldevice/oebuild/work/armv5te-angstrom-linux-gnueabi/libcgicc-3.2.3-r0/cgicc-3.2.3/doc'<br>
| make[1]: Leaving directory
`/home/vpalacio/controldevice/oebuild/work/armv5te-angstrom-linux-gnueabi/libcgicc-3.2.3-r0/cgicc-3.2.3/doc'<br>
| Making all in support<br>
| make[1]: Entering directory
`/home/vpalacio/controldevice/oebuild/work/armv5te-angstrom-linux-gnueabi/libcgicc-3.2.3-r0/cgicc-3.2.3/support'<br>
| make[1]: Nothing to be done for `all'.<br>
| make[1]: Leaving directory
`/home/vpalacio/controldevice/oebuild/work/armv5te-angstrom-linux-gnueabi/libcgicc-3.2.3-r0/cgicc-3.2.3/support'<br>
| Making all in demo<br>
| make[1]: Entering directory
`/home/vpalacio/controldevice/oebuild/work/armv5te-angstrom-linux-gnueabi/libcgicc-3.2.3-r0/cgicc-3.2.3/demo'<br>
| /bin/sh ../arm-angstrom-linux-gnueabi-libtool --tag=CXX --mode=link
ccache arm-angstrom-linux-gnueabi-g++ -march=armv5te -mtune=xscale&nbsp;
-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&nbsp;
-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&nbsp; test.o ../cgicc/libcgicc.la<br>
|
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&nbsp;
-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<br>
<font color="#cc0000">| test.o: In function `showForm(cgicc::Cgicc
const&amp;)':<br>
| test.cpp:(.text+0xe78): undefined reference to
`cgicc::FormEntry::operator*() const'<br>
| test.cpp:(.text+0xea8): undefined reference to
`cgicc::FormEntry::getStrippedValue() const'<br>
| test.cpp:(.text+0xecc): undefined reference to
`cgicc::FormEntry::getValue() const'<br>
| test.o: In function `dumpList(cgicc::Cgicc const&amp;)':<br>
| test.cpp:(.text+0x1ae0): undefined reference to
`cgicc::FormEntry::getName() const'<br>
| test.cpp:(.text+0x1ae4): undefined reference to
`cgicc::FormEntry::getValue() const'<br>
| test.o: In function `dumpEnvironment(cgicc::CgiEnvironment
const&amp;)':<br>
| test.cpp:(.text+0x2b70): undefined reference to
`cgicc::CgiEnvironment::getRequestMethod() const'<br>
| test.cpp:(.text+0x2b78): undefined reference to
`cgicc::CgiEnvironment::getPathInfo() const'<br>
| test.cpp:(.text+0x2b80): undefined reference to
`cgicc::CgiEnvironment::getPathTranslated() const'<br>
| test.cpp:(.text+0x2b88): undefined reference to
`cgicc::CgiEnvironment::getScriptName() const'<br>
| test.cpp:(.text+0x2b90): undefined reference to
`cgicc::CgiEnvironment::getReferrer() const'<br>
| test.cpp:(.text+0x2b98): undefined reference to
`cgicc::CgiEnvironment::getCookies() const'<br>
| test.cpp:(.text+0x2ba0): undefined reference to
`cgicc::CgiEnvironment::getQueryString() const'<br>
| test.cpp:(.text+0x4bdc): undefined reference to
`cgicc::CgiEnvironment::getPostData() const'<br>
| test.cpp:(.text+0x4bec): undefined reference to
`cgicc::CgiEnvironment::getRemoteHost() const'<br>
| test.cpp:(.text+0x4bf4): undefined reference to
`cgicc::CgiEnvironment::getRemoteAddr() const'<br>
| test.cpp:(.text+0x4bfc): undefined reference to
`cgicc::CgiEnvironment::getAuthType() const'<br>
| test.cpp:(.text+0x4c04): undefined reference to
`cgicc::CgiEnvironment::getRemoteUser() const'<br>
| test.cpp:(.text+0x4c0c): undefined reference to
`cgicc::CgiEnvironment::getRemoteIdent() const'<br>
| test.cpp:(.text+0x4c14): undefined reference to
`cgicc::CgiEnvironment::getContentType() const'<br>
| test.cpp:(.text+0x4c1c): undefined reference to
`cgicc::CgiEnvironment::getAccept() const'<br>
| test.cpp:(.text+0x4c24): undefined reference to
`cgicc::CgiEnvironment::getUserAgent() const'<br>
| test.cpp:(.text+0x4c34): undefined reference to
`cgicc::CgiEnvironment::getServerSoftware() const'<br>
| test.cpp:(.text+0x6b60): undefined reference to
`cgicc::CgiEnvironment::getServerName() const'<br>
| test.cpp:(.text+0x6b68): undefined reference to
`cgicc::CgiEnvironment::getGatewayInterface() const'<br>
| test.cpp:(.text+0x6b70): undefined reference to
`cgicc::CgiEnvironment::getServerProtocol() const'<br>
| test.cpp:(.text+0x6b8c): undefined reference to
`cgicc::CgiEnvironment::getRedirectRequest() const'<br>
| test.cpp:(.text+0x6b94): undefined reference to
`cgicc::CgiEnvironment::getRedirectURL() const'<br>
| test.cpp:(.text+0x6ba4): undefined reference to
`cgicc::CgiEnvironment::getRedirectStatus() const'<br>
| test.o: In function `main':<br>
| test.cpp:(.text+0x8604): undefined reference to
`cgicc::CgiEnvironment::getRemoteHost() const'<br>
| test.cpp:(.text+0x8614): undefined reference to
`cgicc::CgiEnvironment::getRemoteAddr() const'<br>
| test.cpp:(.text+0x866c): undefined reference to
`cgicc::CgiEnvironment::getReferrer() const'<br>
| test.o: In function `void
std::_Destroy&lt;cgicc::FormEntry&gt;(cgicc::FormEntry*)':<br>
| test.cpp:(.text._ZSt8_DestroyIN5cgicc9FormEntryEEvPT_[void
std::_Destroy&lt;cgicc::FormEntry&gt;(cgicc::FormEntry*)]+0x0):
undefined reference to `cgicc::FormEntry::~FormEntry()'<br>
| test.o: In function
`cgicc::comment::render(std::basic_ostream&lt;char,
std::char_traits&lt;char&gt; &gt;&amp;) const':<br>
|
test.cpp:(.text._ZNK5cgicc7comment6renderERSo[cgicc::comment::render(std::basic_ostream&lt;char,
std::char_traits&lt;char&gt; &gt;&amp;) const]+0xfc): undefined
reference to `cgicc::HTMLElement::getData() const'<br>
| test.o:(.rodata._ZTVN5cgicc17HTMLAtomicElementINS_5brTagEEE[vtable
for cgicc::HTMLAtomicElement&lt;cgicc::brTag&gt;]+0x1c): undefined
reference to `cgicc::HTMLElement::swapState() const'<br>
| test.o:(.rodata._ZTVN5cgicc17HTMLAtomicElementINS_5brTagEEE[vtable
for cgicc::HTMLAtomicElement&lt;cgicc::brTag&gt;]+0x20): undefined
reference to `cgicc::HTMLElement::getState() const'<br>
| test.o:(.rodata._ZTVN5cgicc17HTMLAtomicElementINS_6colTagEEE[vtable
for cgicc::HTMLAtomicElement&lt;cgicc::colTag&gt;]+0x1c): undefined
reference to `cgicc::HTMLElement::swapState() const'<br>
| test.o:(.rodata._ZTVN5cgicc17HTMLAtomicElementINS_6colTagEEE[vtable
for cgicc::HTMLAtomicElement&lt;cgicc::colTag&gt;]+0x20): undefined
reference to `cgicc::HTMLElement::getState() const'<br>
| test.o:(.rodata._ZTVN5cgicc17HTMLAtomicElementINS_5hrTagEEE[vtable
for cgicc::HTMLAtomicElement&lt;cgicc::hrTag&gt;]+0x1c): undefined
reference to `cgicc::HTMLElement::swapState() const'<br>
| test.o:(.rodata._ZTVN5cgicc17HTMLAtomicElementINS_5hrTagEEE[vtable
for cgicc::HTMLAtomicElement&lt;cgicc::hrTag&gt;]+0x20): undefined
reference to `cgicc::HTMLElement::getState() const'</font><br>
| collect2: ld returned 1 exit status<br>
| make[1]: *** [test.cgi] Error 1<br>
| make[1]: Leaving directory
`/home/vpalacio/controldevice/oebuild/work/armv5te-angstrom-linux-gnueabi/libcgicc-3.2.3-r0/cgicc-3.2.3/demo'<br>
| make: *** [all-recursive] Error 1<br>
| FATAL: oe_runmake failed<br>
NOTE: Task failed:
/home/vpalacio/controldevice/oebuild/work/armv5te-angstrom-linux-gnueabi/libcgicc-3.2.3-r0/temp/log.do_compile.24133<br>
NOTE: package libcgicc-3.2.3-r0: task do_compile: failed<br>
ERROR: TaskFailed event exception, aborting<br>
NOTE: package libcgicc-3.2.3: failed<br>
ERROR: Build of
/home/vpalacio/controldevice/org.openembedded.dev/packages/libcgicc/libcgicc_3.2.3.bb
do_compile failed<br>
ERROR: Task 0
(/home/vpalacio/controldevice/org.openembedded.dev/packages/libcgicc/libcgicc_3.2.3.bb,
do_compile) failed<br>
NOTE: Tasks Summary: Attempted 277 tasks of which 277 didn't need to be
rerun and 1 failed.<br>
ERROR:
'/home/vpalacio/controldevice/org.openembedded.dev/packages/libcgicc/libcgicc_3.2.3.bb'
failed<br>
<br>
<br>
<br>
<br>
<br>
<div class="moz-signature">-- <br>
<meta http-equiv="CONTENT-TYPE" content="text/html; ">
<title></title>
<meta name="GENERATOR" content="OpenOffice.org 2.2  (Linux)">
<meta name="CREATED" content="20070308;17134500">
<meta name="CHANGED" content="20080307;8233700">
<p align="left"><em><font face="Times New Roman"><i><b>V&iacute;ctor M.
Palacio T&aacute;rrega</b></i></font></em></p>
<p style="line-height: 100%;" align="left">
<script>
<!--
D(["mb","www.adtelecom.es</span></span></span></span></span></span></font></a></span></font></p>\n\n<p><font size\u003d\"3\" face\u003d\"Times New Roman\"><span style\u003d\"font-size:12.0pt\">&nbsp;</span></font></p>\n\n</div>\n\n</div>\n\n\n",0]
);
D(["ce"]);

//-->
</script><font face="ae_AlMateen"><font style="font-size: 9pt;" size="2"><a
 href="http://www.adtelecom.es/" target="_blank"
 onclick="return top.js.OpenExtLink(window,event,this)">www.adtelecom.es</a></font></font></p>
</div>
</body>
</html>