[Freeswitch-users] Unable to build Git tree on Mac OSX Lion
Neil Patel
neilp at cs.stanford.edu
Sat May 26 01:53:34 MSD 2012
Hi All, I am getting this error when trying to build latest git on Mac OSX
Lion, after fresh checkout and running ./boostraph.sh and ./configure:
making all mod_amr
Creating mod_amr.so...
i686-apple-darwin11-llvm-gcc-4.2: -bundle not allowed with -dynamiclib
gcc -I/usr/local/src/freeswitch/libs/curl/include
-I/usr/local/src/freeswitch/src/include
-I/usr/local/src/freeswitch/src/include
-I/usr/local/src/freeswitch/libs/libteletone/src -Werror
-fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -ggdb
-DMACOSX -DHAVE_OPENSSL -g -O2 -Wall -std=c99 -pedantic
-Wdeclaration-after-statement -D_GNU_SOURCE -DAMR_PASSTHROUGH -shared -o
.libs/mod_amr.so -dynamic -bundle -force-flat-namespace .libs/mod_amr.o
/usr/local/src/freeswitch/.libs/libfreeswitch.dylib -lodbc -lresolv
-L/usr/local/src/freeswitch/libs/apr-util/xml/expat/lib -lpq
/usr/local/src/freeswitch/libs/apr-util/xml/expat/lib/.libs/libexpat.a
/usr/local/src/freeswitch/libs/apr/.libs/libapr-1.a -lpthread -lm
-L/usr/local/src/freeswitch/libs/srtp -ldl -lssl -lcrypto -lz -lncurses
/usr/local/lib/libjpeg.dylib /usr/local/lib/libodbc.dylib -liconv
make[5]: *** [mod_amr.so] Error 1
make[4]: *** [all] Error 1
make[3]: *** [mod_amr-all] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Heeding Mario's advice, I tried making with open-ssl flag, but that didn't
help. If I go about commenting out offending modules, the same "bundle not
allowed with -dynamiclib" appears for any number of other mods. I have
installed all the prerequisites for Mac OSX (to my knowledge), including
Apple and Unix dev tools. I am 100% macports/fink/brew free, AFAIK. Jira
filed, but no response for a while:
http://jira.freeswitch.org/browse/FS-4240
My sense this is a missing tool or config issue with my setup (pretty much
fresh Lion install). Thanks in advance for your help!
Neil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120525/e93ca73d/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list