* [devel] --as-need for new callweaver
@ 2007-09-27 20:35 Eugene Prokopiev
2007-09-28 4:08 ` Andrey Rahmatullin
0 siblings, 1 reply; 2+ messages in thread
From: Eugene Prokopiev @ 2007-09-27 20:35 UTC (permalink / raw)
To: Devel
Здравствуйте!
Свежий 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 вроде глупо. Так как
лечить?
--
С уважением, Прокопьев Евгений
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [devel] --as-need for new callweaver
2007-09-27 20:35 [devel] --as-need for new callweaver Eugene Prokopiev
@ 2007-09-28 4:08 ` Andrey Rahmatullin
0 siblings, 0 replies; 2+ messages in thread
From: Andrey Rahmatullin @ 2007-09-28 4:08 UTC (permalink / raw)
To: devel
On Fri, Sep 28, 2007 at 12:35:55AM +0400, Eugene Prokopiev wrote:
> ./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
Какой ужас. EVP_* это -lcrypto
--
WBR, wRAR (ALT Linux Team)
Powered by the ALT Linux fortune(8):
Да, создание коммьюнити техписов -- это вам не пряники под
одеялом хрумкать. Техписов всегда мало, тем более грамотных
техписов. А их ещё и организовать надо.
-- avp in docs@
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-09-28 4:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-27 20:35 [devel] --as-need for new callweaver Eugene Prokopiev
2007-09-28 4:08 ` Andrey Rahmatullin
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git