linphone-users
[Top][All Lists]
Advanced

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

Re: [Linphone-users] ld: cannot find -lbctoolbox-tester


From: Gautier Pelloux-Prayer
Subject: Re: [Linphone-users] ld: cannot find -lbctoolbox-tester
Date: Fri, 25 Mar 2016 09:31:34 +0100

Hi,

Do you have cunit available on system? bctoolbox-tester is generated only if 
you have it, since it's a wrapper for it. Check your cmake logs, you should see 
this:

-- Found CUnit: /usr/local/include
-- Looking for CU_get_suite
-- Looking for CU_get_suite - found
-- Looking for CU_curses_run_tests
-- Looking for CU_curses_run_tests - not found
-- Looking for CU_set_trace_handler
-- Looking for CU_set_trace_handler - found
-- Configuring done 

I believe that currently, you see this:

CMake Warning at CMakeLists.txt:114 (message):
  Could not find the cunit library!

Can you confirm?

Cheers,

Gautier Pelloux-Prayer
Software Engineer @ Belledonne Communications

> On 24 Mar 2016, at 17:37, John Dow <address@hidden> wrote:
> 
> Hello,
> 
> I try to build from source the linphone project 
> (git://git.linphone.org/linphone.git) version 3.9.1 on an Ubuntu 14.04 x64 
> machine.
> I was successful with previous versions (e.g., 3.7.0) but the new 
> prerequisite bctoolbox troubles me.
> I have git clone git://git.linphone.org/bctoolbox.git in /opt and run cmake . 
> -DCMAKE_INSTALL_PREFIX=/usr.
> Then make and make install with the following output:
> 
> address@hidden:/opt/bctoolbox#  make
> [ 50%] Building C object src/CMakeFiles/bctoolbox.dir/crypto/polarssl.c.o
> Linking CXX shared library libbctoolbox.so
> [ 50%] Built target bctoolbox
> [100%] Building C object 
> src/CMakeFiles/bctoolbox-static.dir/crypto/polarssl.c.o
> Linking C static library libbctoolbox.a
> [100%] Built target bctoolbox-static
> address@hidden:/opt/bctoolbox#  make install
> [ 50%] Built target bctoolbox
> [100%] Built target bctoolbox-static
> Install the project...
> -- Install configuration: ""
> -- Up-to-date: /usr/lib/pkgconfig/bctoolbox.pc
> -- Up-to-date: /usr/lib/pkgconfig/bctoolbox-tester.pc
> -- Up-to-date: /usr/share/bctoolbox/cmake/BcToolboxTargets.cmake
> -- Up-to-date: /usr/share/bctoolbox/cmake/BcToolboxTargets-noconfig.cmake
> -- Up-to-date: /usr/share/bctoolbox/cmake/BcToolboxConfig.cmake
> -- Up-to-date: /usr/share/bctoolbox/cmake/BcToolboxConfigVersion.cmake
> -- Up-to-date: /usr/include/bctoolbox/crypto.h
> -- Up-to-date: /usr/include/bctoolbox/tester.h
> -- Installing: /usr/lib/libbctoolbox.a
> -- Installing: /usr/lib/libbctoolbox.so.0
> -- Up-to-date: /usr/lib/libbctoolbox.so
> -- Set runtime path of "/usr/lib/libbctoolbox.so.0" to 
> "/usr/lib/i386-linux-gnu"
> 
> Then I git clone --recursive git://git.linphone.org/linphone.git and 
> successfully ./autogen.sh and ./configure.
> Then the  make exits with the following error:
> 
>  CCLD     mediastreamer2_tester
> /usr/bin/ld: cannot find -lbctoolbox-tester
> collect2: error: ld returned 1 exit status
> 
> The bctoolbox module does not creates any bctoolbox-tester.so library and 
> /configure --disable-test does not helps.
> Any ideas will be highly appreciated.
> 
> King regards,
> Giannis 
> 
> Το παρόν email στάλθηκε από ασφαλή υπολογιστή που προστατεύεται από το Avast. 
> www.avast.com
> _______________________________________________
> Linphone-users mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/linphone-users




reply via email to

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