OpenWrt package

General discussion regarding the development of POCO for contributors.
Posts: 2
Joined: 10 Sep 2010, 10:37

OpenWrt package

Postby nleonard » 10 Sep 2010, 10:45


Poco is now part of the openwrt package repository. (

I just applied the following patch, to allow shared memory module to be disabled at configure time (not supported by uClibc). It could be relevant to applied it to the main source tree.

Code: Select all

Index: configure
--- a/configure
+++ b/configure
@@ -50,6 +50,11 @@
     Useful if your C++ compiler has incomplete floating-point support
     (such as uClibc-based systems).
+  --no-sharedmemory
+    Compile with -DPOCO_NO_SHAREDMEMORY
+    Useful if your C++ compiler has incomplete shared memory support
+    (such as uClibc-based systems).
     Do not build the specified component(s).
     Example: --omit=Data/MySQL,Data/ODBC,Zip
@@ -140,6 +145,10 @@
                 flags="$flags -DPOCO_NO_FPENVIRONMENT"
+        if [ "$1" = "--no-sharedmemory" ] ; then
+                flags="$flags -DPOCO_NO_SHAREDMEMORY"
+        fi
         if [ "$1" = "--poquito" ] ; then

Posts: 1268
Joined: 11 Jul 2006, 16:27
Location: Austria

Re: OpenWrt package

Postby guenter » 10 Sep 2010, 12:44

Hey, that's great, thanks. I've already used POCO on OpenWRT myself, but never got around to building a package.
I'll incorporate the patch into the next release.

Posts: 16
Joined: 08 Dec 2011, 03:59

Re: OpenWrt package

Postby philipp » 11 Apr 2012, 00:49

Has this been tried with eglibc? I run OpenWRT on various x86 platforms (Alix2, Geos, net5501, etc) because I need the g.729 CODECs out there for use with Freeswitch and Asterisk...

Getting packages that build with uClibc to also build with eglibc is usually fairly straightforward, and indeed eglibc preserves more glibc semantics...


Return to “Contributors”

Who is online

Users browsing this forum: No registered users and 1 guest