[Freeswitch-users] esl for Mac OS X 10.4
Anthony Minessale
anthony.minessale at gmail.com
Mon Dec 7 11:59:13 PST 2009
also,
don't use 1.0.4, please us the latest SVN or last svn snapshot at the very
least.
On Mon, Dec 7, 2009 at 12:34 PM, Kendall Stauffer <ken at ksac.com> wrote:
> Any direction on where to start would be appreciated. I am trying to get
> freepbx working with this, and everything works (I think) except esl
>
>
>
> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto:
> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Brian West
> *Sent:* Monday, December 07, 2009 1:10 PM
>
> *To:* freeswitch-users at lists.freeswitch.org
> *Subject:* Re: [Freeswitch-users] esl for Mac OS X 10.4
>
>
>
> The build system for libesl and everything below that won't work 100% on
> the mac just yet. You have to make some changes to how its linked and
> you'll have to compile php yourself to get everything in there properly.
> The perl one however is much easier to fix.
>
>
>
> -SOLINK=-shared -Xlinker -x
>
> +SOLINK=-dynamiclib -Xlinker -x
>
>
>
>
>
> Thats all you usually fix for the mac.
>
>
>
>
>
> /b
>
>
>
>
>
>
>
> On Dec 7, 2009, at 11:27 AM, Kendall Stauffer wrote:
>
>
>
> I have downloaded and compiled freeswitch, and it runs fine, can
> compile everything without error including spandsp, but can’t get esl to
> compile. My version is earlier than the snow leopard that is mentioned in
> the general install docs, and I have tried it with and without the compiler
> flags in the freewswtch installation -> MAC os X.
>
> I have also googled this, and don’t see what I am doing wrong. Anybody
> there that can help?
>
> applesrv:/usr/src/freeswitch-1.0.4/libs/esl root# make
> phpmod-install
>
> make MYLIB="../libesl.a" SOLINK="-Xlinker -x"
> CFLAGS="-I/usr/src/freeswitch-1.0.4/libs/esl/src/include -DHAVE_EDITLINE -g
> -ggdb -I../libedit/src/ -fPIC -O2 -ffast-math -Wall -Werror
> -Wunused-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes"
> CXXFLAGS="-I/usr/src/freeswitch-1.0.4/libs/esl/src/include -DHAVE_EDITLINE
> -g -ggdb -I../libedit/src/ -fPIC -Wall -Werror -Wno-unused-variable"
> CXX_CFLAGS="" -C php
>
> g++ -Xlinker -x esl_wrap.o ../libesl.a -L/usr/lib/mysql -liodbc
> -lmysqlclient -lldap -llber -lcurl -lm -lcurl -liodbc -o ESL.so -L.
>
> /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: Undefined symbols:
>
> _main
>
> __convert_to_string
>
> __efree
>
> __emalloc
>
> __estrndup
>
> __zend_get_parameters_array_ex
>
> __zend_list_find
>
> __zval_copy_ctor
>
> _compiler_globals
>
> _convert_to_long
>
> _zend_error
>
> _zend_get_constant
>
> _zend_hash_find
>
> _zend_register_list_destructors_ex
>
> _zend_register_long_constant
>
> _zend_register_resource
>
> _zend_rsrc_list_get_rsrc_type
>
> _zend_wrong_param_count
>
> collect2: ld returned 1 exit status
>
> make[1]: *** [ESL.so] Error 1
>
> make: *** [phpmod] Error 2
>
> _______________________________________________
> 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
>
>
>
> _______________________________________________
> 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
>
>
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20091207/dd9a5c4b/attachment-0002.html
More information about the FreeSWITCH-users
mailing list