Making all in res make[1]: Entering directory `/usr/src/AutoMakeTest/res' if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../i nclude -g -O2 -MT res_features.lo -MD -MP -MF ".deps/res_features.Tpo" -c -o res_features.lo res_features.c; \ then mv -f ".deps/res_features.Tpo" ".deps/res_features.Plo"; else rm -f ".deps/ res_features.Tpo"; exit 1; fi mkdir .libs gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -MT res_features.lo -MD -MP -MF .deps/res_features.Tpo -c res_features.c -DPIC -o .libs/res_features.o /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o res_features.la -rpath /opt/openpbx.org/lib/modules -module -avoid-version -no-undefined res_features. lo -ltermcap -lresolv -lpthread -lncurses -lm -lexpat -lc -lz *** Warning: linker path does not have real file for library -ltermcap. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have *** because I did check the linker path looking for a file starting *** with libtermcap and none of the candidates passed a file format test *** using a file magic. Last file checked: /lib/libtermcap.a *** Warning: libtool could not satisfy all declared inter-library *** dependencies of module res_features. Therefore, libtool will create *** a static module, that should work as long as the dlopening *** application is linked with the -dlopen flag. /usr/bin/ar cru .libs/res_features.a .libs/res_features.o /usr/bin/ranlib .libs/res_features.a creating res_features.la (cd .libs && rm -f res_features.la && ln -s ../res_features.la res_features.la)