[Freeswitch-users] Mod_opal & PTLIB

Michael Collins msc at freeswitch.org
Tue Dec 11 22:32:08 MSK 2012


Can you modify the script, verify that it works for you, then open a jira
as a patch and attach your diff file? That would make our lives much
easier...

Thanks,
MC

On Tue, Dec 11, 2012 at 10:55 AM, Dmitry Sytchev <kbdfck at gmail.com> wrote:

> There is some error in configure script maybe
> It creates /lib/ptbuildopts.h (!) instead of ./include/ptbuildopts.h, so
> defines don't get their values and build fails.
>
> I'm now trying to get these ptlib / opal to work in order to build mod_opal
>
> 2012/11/10 Phil Quesinberry <philq at qsystemsengineering.com>
>
>> **
>>
>> 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*<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*<http://www.qsystemsengineering.com>
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> 
>> 
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>
>
> --
> Best regards,
>
> Dmitry Sytchev,
> IT Engineer
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>


-- 
Michael S Collins
Twitter: @mercutioviz
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121211/6ba45db6/attachment-0001.html 


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