[Asterisk-Users] compile asterisk

Kamran Ahmad p_kami at yahoo.com
Thu Jun 2 10:46:46 MST 2005


hello

i have a small problem in installation of asterisk can
any one tell me what is the solution

gcc -shared -Xlinker -x -o app_zapscan.so
app_zapscan.o
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-HEAD-05/26/05-20:43:39\"
-DASTERISK_VERSION_NUM=999999 -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     -fomit-frame-pointer  -fPIC  
-c -o app_curl.o app_curl.c
gcc -shared -Xlinker -x -o app_curl.so app_curl.o
-L/usr/lib -lcurl -L/usr/kerberos/lib -lssl -lcrypto
-lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv
-ldl -lz -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err
-lresolv -L/usr/kerberos/lib -lidn -lssl -lcrypto
-lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err
-lk5crypto -lresolv -ldl -lz -lz
/usr/bin/ld: cannot find -lidn
collect2: ld returned 1 exit status
make[1]: *** [app_curl.so] Error 1
make[1]: Leaving directory `/asterisk/apps'


		
__________________________________ 
Discover Yahoo! 
Use Yahoo! to plan a weekend, have fun online and more. Check it out! 
http://discover.yahoo.com/



More information about the asterisk-users mailing list