[Asterisk-Users] compile asterisk

Juan Pablo Abuyeres jpabuyer at tecnoera.com
Thu Jun 2 11:13:29 MST 2005


maybe I'm totally wrong, but check if you have installed libidn-devel
and libidn.


On Thu, 2005-06-02 at 10:46 -0700, Kamran Ahmad wrote:

> 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/
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050602/d185fa98/attachment.htm


More information about the asterisk-users mailing list