asterisk doesn't build

daniel freebsd at
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.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 
-DINSTALL_PREFIX=\"/usr/local\" -DASTETCDIR=\"/usr/local/etc/asterisk\" 
-DASTVARLIBDIR=\"/usr/local/share/asterisk\" -DASTVARRUNDIR=\"/var/run\" 
-DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" 
-DASTAGIDIR=\"/usr/local/share/asterisk/agi-bin\"     -DBUSYDETECT_MARTIN        
-I/usr/local/include -DZAPATA_MOH -DOPENSSL_NO_KRB5 -fPIC   -c -o res_odbc.o 
cc -shared -Xlinker -x -o res_odbc.o -lodbc
/usr/bin/ld: cannot find -lodbc
gmake[1]: *** [] 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