Jean-Yves,

you may describe exactly all the steps you are taking, the command you use to compile ESL, and how you compiled FreeSWITCH before.

David Ponzone  Direction Technique
tel:      01 74 03 18 97
gsm:   06 66 98 76 34

Service Client IPeva
tel:      0811 46 26 26

Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. IPeva décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur.




Le 25/08/2010 à 04:11, Jean-Yves F. Barbier a écrit :

Debian sid
==========

Hi list,

I'm trying to figure out a way to compile ESL for PHP on my system.

I was obliged to copy ../src/include/* into .../esl/php and modify
them a bit, but I still have an error:

g++   -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM
-I/usr/include/php5/Zend -I/usr/include/php5/ext
-I/usr/include/php5/ext/date/lib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-Wno-unused-label -Wno-unused-function -c esl_wrap.cpp -o esl_wrap.o

esl_wrap.cpp:2583: attention : deprecated conversion from string constant
to ‘char*’

g++  esl_wrap.o   -lcrypt -lcrypt -lonig -ldb -lqdbm -lrt -lm
-ldl -lnsl -lcrypt -lcrypt -lpthread -o ESL.so -L.

/usr/bin/ld: cannot find -lonig collect2: ld a retourné 1 code d'état
d'exécution make: *** [ESL.so]

Error 1

Apparently it is a missing library (onig), but which one?

JY
--
On a clear disk you can seek forever.

_______________________________________________
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