I'm trying to compile the last * CVS version and I got this error: gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -DZAPTEL_OPTIMIZATIONS -DASTERISK_VERSION=\"CVS-09/10/03-18:47:18\" -DINSTALL_PREFIX=\"\" -DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk\" -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\" -DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" -DASTCONFPATH=\"/etc/asterisk/asterisk.conf\" -DASTMODDIR=\"/usr/lib/asterisk/modules\" -DASTAGIDIR=\"/var/lib/asterisk/agi-bin\" -DBUSYDETECT_MARTIN -DNEW_PRI_HANGUP -DZAPATA_MOH -DOPENSSL_NO_KRB5 -fPIC -c -o res_crypto.o res_crypto.c gcc -shared -Xlinker -x -o res_crypto.so res_crypto.o -lssl -lcrypto /usr/bin/ld: cannot find -lssl collect2: ld returned 1 exit status make[1]: *** [res_crypto.so] Error 1 make[1]: Leaving directory `/usr/src/asterisk/res' make: *** [subdirs] Error 1 The openssl is already installed and all the .h files are in /usr/include/openssl. What does it can be? tks jjj3_j _________________________________________________________________ Learn how to choose, serve, and enjoy wine at Wine @ MSN. http://wine.msn.com/
On Mon, 2004-02-02 at 23:19, jjj3 jjj3 wrote:> I'm trying to compile the last * CVS version and I got this error: > > gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes > -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE > -O6 -march=i686 -DZAPTEL_OPTIMIZATIONS > -DASTERISK_VERSION=\"CVS-09/10/03-18:47:18\" -DINSTALL_PREFIX=\"\" > -DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk\" > -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\" > -DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" > -DASTCONFPATH=\"/etc/asterisk/asterisk.conf\" > -DASTMODDIR=\"/usr/lib/asterisk/modules\" > -DASTAGIDIR=\"/var/lib/asterisk/agi-bin\" -DBUSYDETECT_MARTIN > -DNEW_PRI_HANGUP -DZAPATA_MOH -DOPENSSL_NO_KRB5 -fPIC -c -o > res_crypto.o res_crypto.c > gcc -shared -Xlinker -x -o res_crypto.so res_crypto.o -lssl -lcrypto > /usr/bin/ld: cannot find -lssl > collect2: ld returned 1 exit status > make[1]: *** [res_crypto.so] Error 1 > make[1]: Leaving directory `/usr/src/asterisk/res' > make: *** [subdirs] Error 1 > > > The openssl is already installed and all the .h files are in > /usr/include/openssl. > > What does it can be?Check /etc/ld.so.conf, ensure the path to your SSL libraries is in there. If it's not, add it and run "ldconfig". HTH. Regards, Gonzalo
_________________________________________________________________ Learn how to choose, serve, and enjoy wine at Wine @ MSN. http://wine.msn.com/
>Check /etc/ld.so.conf, ensure the path to your SSL libraries is in >here. If it's not, add it and run "ldconfig". > >HTH. > >Regards, >GonzaloBut I dont have /etc/ld.so.conf in my box. Is that the only way to solve this? How can I create ld.so.conf? tks jjj3_j _________________________________________________________________ Find high-speed ‘net deals — comparison-shop your local providers here. https://broadband.msn.com
Just did a new cvs download and then tried to compile. I get this error message: chan_zap.c:59:2: #error "You need newer libpri" Then there are some more chan_zap.c errors. Here is the cvs command: export CVSROOT=:pserver:anoncvs@cvs.digium.com:/usr/cvsroot cvs login cvs checkout zaptel asterisk libpri And the make command #cd /usr/src/zaptel #make #cd /usr/src/asterisk #make And I did this after moving the current zaptel, asterisk, and libpri to archival. Where do I get this file? Or what am I doing wrong... -- respectfully, Joseph - (606) 477-2355 x140 ------=============
checkout the libpri and compile & install *before* asterisk Matteo. Il gio, 2004-06-24 alle 19:01, Joseph ha scritto:> Just did a new cvs download and then tried to compile. > > I get this error message: > chan_zap.c:59:2: #error "You need newer libpri" > Then there are some more chan_zap.c errors. > > Here is the cvs command: > export CVSROOT=:pserver:anoncvs@cvs.digium.com:/usr/cvsroot > cvs login > cvs checkout zaptel asterisk libpri > > And the make command > #cd /usr/src/zaptel > #make > #cd /usr/src/asterisk > #make > > And I did this after moving the current zaptel, asterisk, and libpri to > archival. > > Where do I get this file? > Or what am I doing wrong...-- Brancaleoni Matteo <mbrancaleoni@espia.it> Espia Srl
On Thu, 2004-06-24 at 13:01, Joseph wrote:> Just did a new cvs download and then tried to compile. > > I get this error message: > chan_zap.c:59:2: #error "You need newer libpri" > Then there are some more chan_zap.c errors. > > Here is the cvs command: > export CVSROOT=:pserver:anoncvs@cvs.digium.com:/usr/cvsroot > cvs login > cvs checkout zaptel asterisk libpri > > And the make command > #cd /usr/src/zaptel > #make > #cd /usr/src/asterisk > #make > > And I did this after moving the current zaptel, asterisk, and libpri to > archival. > > Where do I get this file? > Or what am I doing wrong...The correct order is: cd zaptel make clean; make install cd libpri make clean; make install cd asterisk make clean; make install t o n y
Thanks very much. That fixed it. On Thu, 2004-06-24 at 14:31, Brancaleoni Matteo wrote:> checkout the libpri and compile & install > *before* asterisk > > Matteo. > > Il gio, 2004-06-24 alle 19:01, Joseph ha scritto: > > Just did a new cvs download and then tried to compile. > > > > I get this error message: > > chan_zap.c:59:2: #error "You need newer libpri" > > Then there are some more chan_zap.c errors. > > > > Here is the cvs command: > > export CVSROOT=:pserver:anoncvs@cvs.digium.com:/usr/cvsroot > > cvs login > > cvs checkout zaptel asterisk libpri > > > > And the make command > > #cd /usr/src/zaptel > > #make > > #cd /usr/src/asterisk > > #make > > > > And I did this after moving the current zaptel, asterisk, and libpri to > > archival. > > > > Where do I get this file? > > Or what am I doing wrong...-- respectfully, Joseph - (606) 477-2355 x140 ------=============
Hi, I have been running asterisk for about a week though on a debian system through apt-get. I am now trying to compile it use the CVS and im getting this error. /usr/bin/ld: cannot find -lssl What do I need to install to get rid of this message? Regards David Norton -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20041228/54f6c483/attachment.htm
On Tue, Dec 28, 2004 at 10:02:12PM +0200, David Norton wrote:> Hi, > > I have been running asterisk for about a week though on a debian system > through apt-get. I am now trying to compile it use the CVS and im getting > this error. > > /usr/bin/ld: cannot find -lssl > > What do I need to install to get rid of this message? >I built openssl from source to deal with that requirement, your mileage may vary :) -Dorn
I got an error when compiling asterisk 1.0.6 res_crypto.c: En la funci?n `crypto_init': res_crypto.c:553: aviso: declaraci?n impl?cita de la funci?n `SSL_library_init' res_crypto.c:554: aviso: declaraci?n impl?cita de la funci?n `ERR_load_crypto_strings' make[1]: *** [res_crypto.o] Error 1 make[1]: Saliendo directorio `/usr/src/asterisk-1.0.4/res' make: *** [subdirs] Error 1 What can I do? please If anyone can help me...
hi all, compiling 1.2 from CVS i get the following error in asterisk/apps make[1]: Entering directory `/usr/src/asterisk/apps' Makefile:14: *** missing separator. Stop. I looked at the makefile and i dont see anything glaring, but then again it's been a long time since i wrote any code. tried to compile 1-0 instead of 1-2 and got the same error. running Asterisk CVS-v1-0-07/23/05-21:30:43 on RHEL, compiled from CVS with no errors. anyone have anything similar? thanks, yair