I did make first, but did not install any extra dev stuff,
thinking I already had them. Is there a way to turn on verbose and finding out exactly
what it no there that is expected?
Thanksmuch!!
From:
freeswitch-users-bounces@lists.freeswitch.org
[mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Michael
Collins
Sent: Monday, December 07, 2009 1:22 PM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] esl for Mac OS X 10.4
Forgive me if I ask the obvious
questions...
Did you "make" in src/libs/esl before doing "make phpmod" ?
Did you install the php-devel stuff?
-MC
On Mon, Dec 7, 2009 at 9:27 AM, Kendall Stauffer <ken@ksac.com> 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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org