mathCrazy / libjingle

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

srtp configure error #310

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. extract srtp-cvs into third_party directory 
2. execute ./configure
3. script fails

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

checking size of unsigned long... configure: error: cannot compute sizeof 
(unsigned long), 77

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

     libjingle-0.6.13.zip Mac OSX 10.6.8

Please provide any additional information below.

Original issue reported on code.google.com by russmitc...@gmail.com on 23 Feb 2012 at 9:25

GoogleCodeExporter commented 9 years ago
This stuff has all worked for me with 10.6.8.  What version of Xcode do you 
have installed?

Original comment by bprodo...@connectify.me on 24 Feb 2012 at 4:01

GoogleCodeExporter commented 9 years ago
I've tracked this down to being a problem with llvm, which can be soft linked 
to gcc/g++ in /usr/bin. It's got problems linking when compiling one of the 
tests for unsigned long checks. I suspect the linking is something that came 
with Xcode 4.2 or 4.2.1 (or is made when asked to use llvm instead of gcc for 
the optimizations). Running configure as '/configure 
CC=/Developer/usr/bin/i686-apple-darwin10-gcc-4.2.1' resolved this issue for me 
on OS 10.7. I'm not sure if srtp can be changed to fix this. A version check 
could be made to determine if gcc is actually llvm and print a warning. 

tl;dr: Running configure as '/configure 
CC=/Developer/usr/bin/i686-apple-darwin10-gcc-4.2.1' resolved this issue for me 
on OS 10.7.

Original comment by mastah...@gmail.com on 28 Apr 2012 at 8:41

GoogleCodeExporter commented 9 years ago

Original comment by juberti@google.com on 31 May 2013 at 8:46