linphone-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-users] belle-sip-1.5.0 fails to link which makes update of


From: Sergey Kondakov
Subject: Re: [Linphone-users] belle-sip-1.5.0 fails to link which makes update of linphone impossible
Date: Mon, 22 Aug 2016 07:12:18 +0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2

On 20.08.2016 15:43, Andrey Gursky wrote:

There is not enough info. Please run the build again (no clean build
necessary) with:
make VERBOSE=1

It will show the full command used to link, thus you could check, what
bctoolbox library is in use.

Best regards,
Andrey


Hi ! I figured that error out: bctoolbox in openSUSE is built as "placebo", mbedtls isn't present and it doesn't actually linked with it, hence the errors. I fixed that but then bctoolbox didn't want to link with it until I forced it with '-DMBEDTLS_V2=yes' parameter. Then I had to put '--disable-pcap' for mediastreamer because it failed on building some test even though I had '--disable-tests' already. Later I failed to build linphone because I wanted to enable all its features but vcard support doesn't work without some library that isn't present in openSUSE.

And after all that now linphone fails with:
[ 567s] /bin/sh ../libtool --tag=CC --mode=link gcc -DIN_LINPHONE -D_ORTP_SOURCE -Wall -Wuninitialized -fno-inline-small-functions -Wdeclaration-after-statement -Wstrict-prototypes -I/usr/local/include -DSQLITE_STORAGE_ENABLED -I/usr/include/libxml2 -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -o linphonec linphonec-linphonec.o linphonec-commands.o ../coreapi/liblinphone.la -L/usr/local/lib -lreadline -lsqlite3 -lX11 -lbellesip -lxml2 [ 567s] libtool: link: gcc -DIN_LINPHONE -D_ORTP_SOURCE -Wall -Wuninitialized -fno-inline-small-functions -Wdeclaration-after-statement -Wstrict-prototypes -I/usr/local/include -DSQLITE_STORAGE_ENABLED -I/usr/include/libxml2 -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -o .libs/linphonec linphonec-linphonec.o linphonec-commands.o ../coreapi/.libs/liblinphone.so -lmediastreamer_base -lmediastreamer_voip -lortp -lldap -llber -lsasl2 -L/usr/local/lib -lreadline -lsqlite3 -lX11 -lbellesip /usr/lib64/libxml2.so -ldl -lz -llzma -lm -Wl,-rpath -Wl,/usr/lib64 [ 568s] /usr/lib64/gcc/x86_64-suse-linux/6/../../../../x86_64-suse-linux/bin/ld: linphonec-commands.o: undefined reference to symbol 'bctbx_list_next' [ 568s] /usr/lib64/libbctoolbox.so.0: error adding symbols: DSO missing from command line
[  568s] collect2: error: ld returned 1 exit status

Should I attach full build log ?

PS: Linphone's tendency for proliferation of unused-by-anything-else-and-not-part-of-its-tarball shared libraries is making things really difficult >_<

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]