asterisk doesn't build

daniel freebsd at danielquinn.org
Mon Apr 11 18:02:50 PDT 2005


...and since i don't understand the output of c code, i don't know why.  can 
someone here help?

cc -shared -Xlinker -x -o res_agi.so res_agi.o
cc -O -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations  -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE   
-march=i386     -I/usr/local/include -DZAPTEL_OPTIMIZATIONS 
-DASTERISK_VERSION=\"1.0.6-BRIstuffed-0.2.0-RC7j\" 
-DINSTALL_PREFIX=\"/usr/local\" -DASTETCDIR=\"/usr/local/etc/asterisk\" 
-DASTLIBDIR=\"/usr/local/lib/asterisk\" 
-DASTVARLIBDIR=\"/usr/local/share/asterisk\" -DASTVARRUNDIR=\"/var/run\" 
-DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" 
-DASTCONFPATH=\"/usr/local/etc/asterisk/asterisk.conf\" 
-DASTMODDIR=\"/usr/local/lib/asterisk/modules\" 
-DASTAGIDIR=\"/usr/local/share/asterisk/agi-bin\"     -DBUSYDETECT_MARTIN        
-I/usr/local/include -DZAPATA_MOH -DOPENSSL_NO_KRB5 -fPIC   -c -o res_odbc.o 
res_odbc.c
cc -shared -Xlinker -x -o res_odbc.so res_odbc.o -lodbc
/usr/bin/ld: cannot find -lodbc
gmake[1]: *** [res_odbc.so] Error 1
gmake[1]: Leaving directory `/usr/ports/net/asterisk/work/asterisk-1.0.6/res'
gmake: *** [subdirs] Error 1
*** Error code 2

Stop in /usr/ports/net/asterisk.


-- 
You don't stand for that!
Someone tries and kill you, you kill them right back.
        - Mal to Saffron, Firefly, "Our Mrs. Reynolds"



More information about the freebsd-ports mailing list