[Freeswitch-users] Mod_opal & PTLIB

Phil Quesinberry philq at qsystemsengineering.com
Sat Nov 10 19:26:12 MSK 2012


I’m trying to compile mod_opal here but I can’t get it to work.  I’ve tried
the buildopal.sh script, the manual install, sacrificial offerings, etc. to
no avail.  I was getting an error about PTLib being too old, so I grabbed
PTLib 2.10.7 source here:
http://www.linuxfromscratch.org/blfs/view/svn/general/ptlib.html

Trying to compile it, I get a “No operating system selected” error.  I’ve
pasted in the make attempt below, Distro is CentOS 5.8.

It looks like a lot of other folks have had/are having problems with
mod_opal and ptlib, but I’m not seeing much in the way of solutions.  Has
anyone else gotten past this problem?  Any pointers?  (no pun intended)

[root at Tyrion ptlib]# make
Setting default PTLIBDIR to /root/ptlib
make[1]: Entering directory `/root/ptlib'
make[2]: Entering directory `/root/ptlib'
make[3]: Entering directory `/root/ptlib'
make[3]: Leaving directory `/root/ptlib'
make[2]: Leaving directory `/root/ptlib'
set -e; if test -d /root/ptlib/src ; then make -C /root/ptlib/src optshared;
fi;  if test -d /root/ptlib/plugins ; then make -C/root/ptlib/plugins
optshared; fi;
make[2]: Entering directory `/root/ptlib/src'
make[3]: Entering directory `/root/ptlib/src'
[CC] ptclib/psasl.cxx
In file included from /root/ptlib/include/ptlib/object.h:44,
                 from /root/ptlib/include/ptlib.h:47,
                 from ptclib/psasl.cxx:35:
/root/ptlib/include/ptlib/unix/ptlib/platform.h:555:2: error: #error No
operating system selected.
/root/ptlib/include/ptlib/mutex.h:109: error: âPThreadIdentifierâ does not
name a type
/root/ptlib/include/ptlib/thread.h:292: error: âPThreadIdentifierâ does not
name a type
/root/ptlib/include/ptlib/thread.h:293: error: âPThreadIdentifierâ does not
name a type
/root/ptlib/include/ptlib/thread.h:403: error: âPThreadIdentifierâ does not
name a type
/root/ptlib/include/ptlib/syncthrd.h:326: error: âPThreadIdentifierâ was not
declared in this scope
/root/ptlib/include/ptlib/syncthrd.h:326: error: template argument 1 is
invalid
/root/ptlib/include/ptlib/syncthrd.h:326: error: template argument 3 is
invalid
/root/ptlib/include/ptlib/syncthrd.h:326: error: template argument 4 is
invalid
/root/ptlib/include/ptclib/cypher.h:382: error: âPUInt32lâ does not name a
type
make[3]: *** [/root/ptlib/lib_linux_x86_64/obj/psasl.o] Error 1
make[3]: Leaving directory `/root/ptlib/src'
make[2]: *** [optshared] Error 2
make[2]: Leaving directory `/root/ptlib/src'
make[1]: *** [optshared] Error 2
make[1]: Leaving directory `/root/ptlib'
make: *** [default] Error 2

Many thanks,

Phil Quesinberry
Q Systems Engineering, Inc.
Electronic Controls and Embedded Systems Development
(410) 969-8002
http://www.qsystemsengineering.com


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121110/cc30850b/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list