kushvendra / doubango

Automatically exported from code.google.com/p/doubango
0 stars 0 forks source link

Doubango 2.0 compile error (GSM) #256

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Follow the building guide for doubango 
in(https://code.google.com/p/webrtc2sip/wiki/Building_Source_v2_0),
skipping libyuv.

2. Do full build of doubango without libyuv flag

3. Try to install doubango

What is the expected output? What do you see instead?

/usr/local/lib/libgsm.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [libtinyDAV.la] Error 1
make[2]: Leaving directory `/home/jbarbosa/webrtc2sip/doubango/tinyDAV'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jbarbosa/webrtc2sip/doubango'
make: *** [all] Error 2

What version of the product are you using? On what operating system?

Doubango 2.0 in CentOS 6.4 x64

Please provide any additional information below.

The problem is related with GSM (libgsm)

Original issue reported on code.google.com by Joao.Bar...@gmail.com on 22 Apr 2013 at 2:15

GoogleCodeExporter commented 9 years ago
Try to change Makefile of gsm. Find line 

CCFLAGS         = -c -O2 -DNeedFunctionPrototypes=1

and replace it with

CCFLAGS         = -c -O2 -DNeedFunctionPrototypes=1 -fPIC

Then execute 
make && make install
#cp -rf ./inc/* /usr/local/include
#cp -rf ./lib/* /usr/local/lib

It helped to me.

Original comment by webmusta...@gmail.com on 21 May 2013 at 9:14

GoogleCodeExporter commented 9 years ago
try follow your comment but still have 2 error like  Joao.Bar...@gmail.com,

Original comment by thi...@gmail.com on 31 May 2013 at 2:30

GoogleCodeExporter commented 9 years ago
Same here...

Original comment by darkdus...@googlemail.com on 7 Nov 2014 at 12:27