Commit Graph

9 Commits

Author SHA1 Message Date
Lukas Bulwahn 9faf9c5292 libpoco: openssl required for libpoco when compiling pcl-ros
When compiling pcl-ros, bitbake aborts because for compiling the
Crypto library in libpoco, it needs the openssl headers.

The condensed error output is

** Compiling src/CipherKeyImpl.cpp (debug, shared)
arm-oe-linux-gnueabi-g++  -march=armv5te -marm -mthumb-interwork
-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed
--sysroot=/home/lukas/oe-core/build/tmp-eglibc/sysroots/qemuarm
-I ... -DPOCO_BUILD_HOST=host -DPOCO_NO_WSTRING -DPOCO_UNBUNDLED
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_REENTRANT -D_THREAD_SAFE
-DPOCO_NO_FPENVIRONMENT  -g -D_DEBUG -fPIC -c src/CipherKeyImpl.cpp
-o ...
In file included from include/Poco/Crypto/CipherKeyImpl.h:44:0,
                 from include/Poco/Crypto/CipherKey.h:44,
                 from src/CipherKey.cpp:37:
include/Poco/Crypto/OpenSSLInitializer.h:45:33: fatal error: openssl/opensslconf.h: No such file or directory
 #include <openssl/opensslconf.h>
                                 ^
compilation terminated.
In file included from include/Poco/Crypto/CipherKeyImpl.h:44:0,
                 from src/CipherKeyImpl.cpp:37:
include/Poco/Crypto/OpenSSLInitializer.h:45:33: fatal error: openssl/opensslconf.h: No such file or directory
 #include <openssl/opensslconf.h>
                                 ^
compilation terminated.
make[1]: *** [.../tmp-eglibc/work/armv5te-oe-linux-gnueabi/libpoco/1.4.6p1-r0/poco-1.4.6p1-all/Crypto/obj/Linux/armv5te/debug_shared/CipherKey.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make -C /home/lukas/oe-core/build/tmp-eglibc/work/armv5te-oe-linux-gnueabi/libpoco/1.4.6p1-r0/poco-1.4.6p1-all/Util
make[1]: *** [.../tmp-eglibc/work/armv5te-oe-linux-gnueabi/libpoco/1.4.6p1-r0/poco-1.4.6p1-all/Crypto/obj/Linux/armv5te/debug_shared/CipherKeyImpl.o] Error 1
make[1]: Entering directory `/home/lukas/oe-core/build/tmp-eglibc/work/armv5te-oe-linux-gnueabi/libpoco/1.4.6p1-r0/poco-1.4.6p1-all/Util'
2013-08-04 09:33:51 +02:00
Lukas Bulwahn 723caecd6e libpoco: adding a patch to link correctly with pcre
The error message when compiling nodelet, which links the poco library, is:

| Linking CXX executable devel/lib/nodelet/nodelet
| /home/lukas/oe-core/build/tmp-eglibc/sysroots/x86_64-linux/usr/bin/cmake -E cmake_link_script CMakeFiles/nodelet.dir/link.txt --verbose=1
| /home/lukas/oe-core/build/tmp-eglibc/sysroots/x86_64-linux/usr/bin/armv5te-oe-linux-gnueabi/arm-oe-linux-gnueabi-g++    -march=armv5te -marm -mthumb-interwork  --sysroot=/home/lukas/oe-core/build/tmp-eglibc/sysroots/qemuarm  -O2 -pipe -g -feliminate-unused-debug-types -fpermissive -fvisibility-inlines-hidden -fpermissive  -march=armv5te -marm -mthumb-interwork  --sysroot=/home/lukas/oe-core/build/tmp-eglibc/sysroots/qemuarm  -O2 -pipe -g -feliminate-unused-debug-types -fpermissive -fvisibility-inlines-hidden -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed  -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed CMakeFiles/nodelet.dir/src/nodelet.cpp.o  -o devel/lib/nodelet/nodelet -rdynamic devel/lib/libnodeletlib.so -luuid -lbondcpp -luuid -lcpp_common -lroscpp_serialization -lrostime -lboost_date_time-mt -lboost_system-mt -lboost_thread-mt -lroscpp -lboost_signals-mt -lboost_filesystem-mt -lrosconsole -lboost_regex-mt -llog4cxx -lxmlrpcpp -ltinyxml -lclass_loader -lPocoFoundation -ldl -lconsole_bridge -lroslib -Wl,-rpath,/home/lukas/oe-core/build/tmp-eglibc/work/armv5te-oe-linux-gnueabi/nodelet/1.8.0-r0/nodelet_core-1.8.0/nodelet/build/devel/lib:
| /home/lukas/oe-core/build/tmp-eglibc/sysroots/qemuarm/usr/lib/libPocoFoundation.so: undefined reference to `_pcre_ucd_stage1'
| /home/lukas/oe-core/build/tmp-eglibc/sysroots/qemuarm/usr/lib/libPocoFoundation.so: undefined reference to `_pcre_ucd_records'
| /home/lukas/oe-core/build/tmp-eglibc/sysroots/qemuarm/usr/lib/libPocoFoundation.so: undefined reference to `_pcre_ucp_gentype'
| /home/lukas/oe-core/build/tmp-eglibc/sysroots/qemuarm/usr/lib/libPocoFoundation.so: undefined reference to `_pcre_ucd_stage2'
| collect2: error: ld returned 1 exit status
| make[2]: *** [devel/lib/nodelet/nodelet] Error 1
2013-07-31 16:28:23 +02:00
Lukas Bulwahn 9ee3479961 libpoco: formatting the recipe
This commit formats the libpoco recipe to follow the common
OpenEmbedded style more closely and removes a comment that points
to warnings that do not occur with the current recipe.
2013-07-31 16:28:23 +02:00
Lukas Bulwahn 02a63e0365 libpoco: using recipe name for pcre library instead of its alias 2013-07-31 16:28:23 +02:00
Lukas Bulwahn c6f5a883a9 libpoco: updating to current version 1.4.6p1 2013-07-31 16:28:23 +02:00
Lukas Bulwahn 835eb13279 libpoco: replacing license string causing warnings by common OpenEmbedded license string 2013-07-31 16:28:23 +02:00
Lukas Bulwahn 2e6abcbf3b libpoco: replacing our recipe by the external one 2013-07-31 16:28:22 +02:00
Lukas Bulwahn 282821221e libpoco: including an external recipe for the poco library
A previously written recipe for the poco library and
a special OpenEmbedded config file for poco is included from
https://gitorious.digitalstrom.org/dss-oe/dss-oe/blobs/raw/master/dS/meta-dss11-production/recipes-support/poco/poco_1.3.6p2.bb
and https://gitorious.digitalstrom.org/dss-oe/dss-oe/blobs/raw/master/dS/meta-dss11-production/recipes-support/poco/files/OE

This recipe and the config is redistributed here under the same
license agreement as the original.

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de>
2013-07-31 16:28:22 +02:00
Lukas Bulwahn 4609253cb2 libpoco: initial commit
The poco library is used by the class loader.
2013-05-29 13:34:10 +02:00