[devel] --as-need for new callweaver
Eugene Prokopiev
=?iso-8859-1?q?prokopiev_=CE=C1_stc=2Edonpac=2Eru?=
Пт Сен 28 00:35:55 MSD 2007
Здравствуйте!
Свежий callweaver не собирается в бранче с характерными признаками:
/bin/sh ./libtool --tag=CC --mode=link i586-alt-linux-gcc -pipe -Wall
-O2 -march=i586 -mtune=i686 -o callweaver callweaver-main.o
./corelib/libcallweaver.la ./libltdl/libltdlc.la -lreadline -lpq -lrt
-lresolv -lpthread -lnsl -lreadline -lm -lc
mkdir .libs
i586-alt-linux-gcc -pipe -Wall -O2 -march=i586 -mtune=i686 -o
.libs/callweaver callweaver-main.o ./corelib/.libs/libcallweaver.so
./libltdl/.libs/libltdlc.a -ldl -lpq -lrt -lresolv -lpthread -lnsl
-lreadline -lm -lc -Wl,--rpath -Wl,/usr/lib/callweaver
./corelib/.libs/libcallweaver.so: undefined reference to `EVP_DigestInit'
./corelib/.libs/libcallweaver.so: undefined reference to `EVP_DigestFinal'
./corelib/.libs/libcallweaver.so: undefined reference to `EVP_md5'
./corelib/.libs/libcallweaver.so: undefined reference to `EVP_DigestUpdate'
Обычно в таком случае положено искать, где определены EVP_* и исправлять
libcallweaver_la_LIBADD. Однако:
$ find -name *.so | xargs grep EVP_DigestInit
Binary file ./corelib/.libs/libcallweaver.so matches
$ find -name *.so | xargs grep EVP_DigestFinal
Binary file ./corelib/.libs/libcallweaver.so matches
$ find -name *.so | xargs grep EVP_md5
Binary file ./corelib/.libs/libcallweaver.so matches
$ find -name Makefile.am | xargs grep libcallweaver_la_LIBADD
./corelib/Makefile.am:libcallweaver_la_LIBADD = -lspandsp -ltiff
$(LIBLTDL) @SSL_LIBS@
./corelib/Makefile.am:libcallweaver_la_LIBADD += @SQLITE3_THREADSAFE_LIBS@
./corelib/Makefile.am:libcallweaver_la_LIBADD +=
${top_builddir}/stdtime/libtime.la
./corelib/Makefile.am:libcallweaver_la_LIBADD +=
${top_builddir}/corelib/jitterbuffer/libcwjb.la
./corelib/Makefile.am:libcallweaver_la_LIBADD += -lreadline
./corelib/Makefile.am:libcallweaver_la_LIBADD += -lssl
./corelib/Makefile.am:libcallweaver_la_LIBADD += -lsrtp
Дописывать -lcallweaver в libcallweaver_la_LIBADD вроде глупо. Так как
лечить?
--
С уважением, Прокопьев Евгений
Подробная информация о списке рассылки Devel