[sr-dev] Kamailio on OS/X Mavericks

Olle E. Johansson oej at edvina.net
Sun Nov 3 18:33:16 CET 2013


Hi!

Kamailio by default doesn't compile on OS/X Mavericks.

$ make
generating autover.h ...
/Applications/Xcode.app/Contents/Developer/usr/bin/make --no-print-directory -wC . cfg-defs
target architecture <x86_64>, host architecture <x86_64>
making config...
CC (gcc) [kamailio]		action.o
error: invalid value '9' in '-O9'
make: *** [action.o] Error 1


$ gcc --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/c++/4.2.1
Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin13.0.0
Thread model: posix

Anyone that has found an optimal way to patch the Makefile?
/O


More information about the sr-dev mailing list