linphone-developers
[Top][All Lists]
Advanced

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

Re: [Linphone-developers] linpnone-3.6.1 wont compile


From: lux-integ
Subject: Re: [Linphone-developers] linpnone-3.6.1 wont compile
Date: Wed, 2 Oct 2013 14:38:31 +0100
User-agent: KMail/1.13.5 (Linux/3.1.4nbfARAID; KDE/4.4.5; x86_64; ; )

On Wednesday 02 October 2013 13:32:13 Guillaume Beraudo wrote:
> Note that you also need to install a srtp version from our git.

thanks for the advice 
BUT:-
I tried building  srtp-1.4.4 and srtp from the git repositories

########srtp-1.4.4 
gcc -DHAVE_CONFIG_H -Icrypto/include -I./include -I./crypto/include -
I/usr/include  -I/usr/local/include         -I/opt/llvm/include    -
I/opt/gtk2/include -I/opt/gtk3/include -I/opt/qt4/include     -
I/opt/openoffice.org/basis3.4/sdk/include      -march=amdfam10 -O2 -pipe -m64 
-fPIC -L/usr/lib -L/usr/local/lib      -L/opt/llvm/lib   -L/opt/gtk2/lib -
L/opt/gtk3/lib -L/opt/qt4/lib   -L/opt/openoffice.org/ure/lib            -L. 
test/roc_driver.c -o test/roc_driver -lsrtp 
gcc -DHAVE_CONFIG_H -Icrypto/include -I./include -I./crypto/include -
I/usr/include  -I/usr/local/include         -I/opt/llvm/include    -
I/opt/gtk2/include -I/opt/gtk3/include -I/opt/qt4/include     -
I/opt/openoffice.org/basis3.4/sdk/include      -march=amdfam10 -O2 -pipe -m64 
-fPIC -L/usr/lib -L/usr/local/lib      -L/opt/llvm/lib   -L/opt/gtk2/lib -
L/opt/gtk3/lib -L/opt/qt4/lib   -L/opt/openoffice.org/ure/lib            -L. -
o test/rdbx_driver test/rdbx_driver.c test/getopt_s.c libsrtp.a  -lsrtp
gcc -DHAVE_CONFIG_H -Icrypto/include -I./include -I./crypto/include -
I/usr/include  -I/usr/local/include         -I/opt/llvm/include    -
I/opt/gtk2/include -I/opt/gtk3/include -I/opt/qt4/include     -
I/opt/openoffice.org/basis3.4/sdk/include      -march=amdfam10 -O2 -pipe -m64 
-fPIC -L/usr/lib -L/usr/local/lib      -L/opt/llvm/lib   -L/opt/gtk2/lib -
L/opt/gtk3/lib -L/opt/qt4/lib   -L/opt/openoffice.org/ure/lib            -L. -
o test/rtpw test/rtpw.c test/rtp.c test/getopt_s.c libsrtp.a  -lsrtp
gcc -DHAVE_CONFIG_H -Icrypto/include -I./include -I./crypto/include -
I/usr/include  -I/usr/local/include         -I/opt/llvm/include    -
I/opt/gtk2/include -I/opt/gtk3/include -I/opt/qt4/include     -
I/opt/openoffice.org/basis3.4/sdk/include      -march=amdfam10 -O2 -pipe -m64 
-fPIC -L/usr/lib -L/usr/local/lib      -L/opt/llvm/lib   -L/opt/gtk2/lib -
L/opt/gtk3/lib -L/opt/qt4/lib   -L/opt/openoffice.org/ure/lib            -L. -
o test/dtls_srtp_driver test/dtls_srtp_driver.c test/getopt_s.c libsrtp.a  -
lsrtp
Build done. Please run 'make runtest' to run self tests.
########


and from the git repository (on 29th septemer 2013 ):-

########srtpGIT290913
gcc -DHAVE_CONFIG_H -Icrypto/include -I./include -I./crypto/include -
I/usr/include  -I/usr/local/include         -I/opt/llvm/include    -
I/opt/gtk2/include -I/opt/gtk3/include -I/opt/qt4/include     -
I/opt/openoffice.org/basis3.4/sdk/include      -march=amdfam10 -O2 -pipe -m64 
-fPIC -L/usr/lib -L/usr/local/lib      -L/opt/llvm/lib   -L/opt/gtk2/lib -
L/opt/gtk3/lib -L/opt/qt4/lib   -L/opt/openoffice.org/ure/lib            -L. 
crypto/test/aes_calc.c -o crypto/test/aes_calc -lsrtp 
gcc -DHAVE_CONFIG_H -Icrypto/include -I./include -I./crypto/include -
I/usr/include  -I/usr/local/include         -I/opt/llvm/include    -
I/opt/gtk2/include -I/opt/gtk3/include -I/opt/qt4/include     -
I/opt/openoffice.org/basis3.4/sdk/include      -march=amdfam10 -O2 -pipe -m64 
-fPIC -L/usr/lib -L/usr/local/lib      -L/opt/llvm/lib   -L/opt/gtk2/lib -
L/opt/gtk3/lib -L/opt/qt4/lib   -L/opt/openoffice.org/ure/lib            -L. 
crypto/test/cipher_driver.c -o crypto/test/cipher_driver -lsrtp 
gcc -DHAVE_CONFIG_H -Icrypto/include -I./include -I./crypto/include -
I/usr/include  -I/usr/local/include         -I/opt/llvm/include    -
I/opt/gtk2/include -I/opt/gtk3/include -I/opt/qt4/include     -
I/opt/openoffice.org/basis3.4/sdk/include      -march=amdfam10 -O2 -pipe -m64 
-fPIC -L/usr/lib -L/usr/local/lib      -L/opt/llvm/lib   -L/opt/gtk2/lib -
L/opt/gtk3/lib -L/opt/qt4/lib   -L/opt/openoffice.org/ure/lib            -L. 
crypto/test/datatypes_driver.c -o crypto/test/datatypes_driver -lsrtp 
gcc -DHAVE_CONFIG_H -Icrypto/include -I./include -I./crypto/include -
I/usr/include  -I/usr/local/include         -I/opt/llvm/include    -
I/opt/gtk2/include -I/opt/gtk3/include -I/opt/qt4/include     -
I/opt/openoffice.org/basis3.4/sdk/include      -march=amdfam10 -O2 -pipe -m64 
-fPIC -L/usr/lib -L/usr/local/lib      -L/opt/llvm/lib   -L/opt/gtk2/lib -
L/opt/gtk3/lib -L/opt/qt4/lib   -L/opt/openoffice.org/ure/lib            -L. 
crypto/test/kernel_driver.c -o crypto/test/kernel_driver -lsrtp 
gcc -DHAVE_CONFIG_H -Icrypto/include -I./include -I./crypto/include -
I/usr/include  -I/usr/local/include         -I/opt/llvm/include    -
I/opt/gtk2/include -I/opt/gtk3/include -I/opt/qt4/include     -
I/opt/openoffice.org/basis3.4/sdk/include      -march=amdfam10 -O2 -pipe -m64 
-fPIC -L/usr/lib -L/usr/local/lib      -L/opt/llvm/lib   -L/opt/gtk2/lib -
L/opt/gtk3/lib -L/opt/qt4/lib   -L/opt/openoffice.org/ure/lib            -L. 
crypto/test/rand_gen.c -o crypto/test/rand_gen -lsrtp 
gcc -DHAVE_CONFIG_H -Icrypto/include -I./include -I./crypto/include -
I/usr/include  -I/usr/local/include         -I/opt/llvm/include    -
I/opt/gtk2/include -I/opt/gtk3/include -I/opt/qt4/include     -
I/opt/openoffice.org/basis3.4/sdk/include      -march=amdfam10 -O2 -pipe -m64 
-fPIC -L/usr/lib -L/usr/local/lib      -L/opt/llvm/lib   -L/opt/gtk2/lib -
L/opt/gtk3/lib -L/opt/qt4/lib   -L/opt/openoffice.org/ure/lib            -L. 
crypto/test/sha1_driver.c -o crypto/test/sha1_driver -lsrtp 
/tmp/ccZ0EORZ.o: In function `sha1_test_case_validate':
sha1_driver.c:(.text+0xf9): undefined reference to `crypto_sha1_init'
sha1_driver.c:(.text+0x10e): undefined reference to `crypto_sha1_update'
sha1_driver.c:(.text+0x119): undefined reference to `crypto_sha1_final'
collect2: error: ld returned 1 exit status
make: *** [crypto/test/sha1_driver] Error 1
########


I would be grateful   for advice on how to fix this or if   this has been 
fixed recently.

thanks in advance
luxInteg



reply via email to

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