[Asterisk-bsd] Re: current build problem
    Kurt Jaeger 
    lists at complx.LF.net
       
    Fri Jan 14 14:06:18 CST 2005
    
    
  
Hi!
> gmake[1]: Entering directory `/usr/ports/net/asterisk/work/asterisk-1.0.3/res'
> 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.3/res'
> gmake: *** [subdirs] Error 1
> *** Error code 2
> I forget the fix for this....
  cd /usr/ports/net/asterisk/work/asterisk-1.0.3/res
  vi Makefile
  res_odbc.so: res_odbc.o
        $(CC) $(SOLINK) -L/usr/local/lib -o $@ $< -lodbc
-- 
MfG/Best regards, Kurt Jaeger                                  16 years to go !
LF.net GmbH        fon +49 711 90074-23  pi at LF.net  
Ruppmannstr. 27    fax +49 711 90074-33
D-70565 Stuttgart  mob +49 171 3101372
    
    
More information about the Asterisk-BSD
mailing list