[Freeswitch-users] Unable to build Git tree on Mac OSX Lion

Mario G mario_fs at mgtech.com
Sat May 26 03:50:50 MSD 2012


This is not much help but I just updated with the current git and the make current went fine. However, I am on 10.6.8. Just out of curiosity I did a FIND on -bundle and found it was only used once with mod_lua, -dynamiclib was found only once but it looked to be referenced by several modules. I am not a linux developer so have little idea what the messages mean exactly. I found a few hits on the web, all involved source fixes, I know, not much help...
Mario G

On May 25, 2012, at 4:03 PM, Neil Patel wrote:

> Hi Mario,
> 
> This looks like a deeper problem. I tried commenting out mod_amr but then it broke on other codecs.
> 
> The error says -bundle not allowed with -dyanmiclib. Seems like these flags are mutually exclusive. Is there a problem in how the FS is configuring the build?
> 
> Thanks,
> Neil
> 
> On Fri, May 25, 2012 at 3:53 PM, Mario G <mario_fs at mgtech.com> wrote:
> The impression I get from the wiki is that mod_amr is optional. I would try to comment it out in modules.conf in the FS source dir and see what happens. I wish I had time to futz with FS on Lion but I am trying to resolve 2 other FS issues for over a month with no luck. This is why I put off updating the wiki, I won't until everything is perfect.
> 
> On May 25, 2012, at 2:53 PM, Neil Patel wrote:
> 
>> 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
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>> 
>> 
>> 
>> 
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>> 
>> Join Us At ClueCon - Aug 7-9, 2012
>> 
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
> 
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> 
> 
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
> 
> Join Us At ClueCon - Aug 7-9, 2012
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
> 
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> 
> 
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
> 
> Join Us At ClueCon - Aug 7-9, 2012
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120525/1f1bbe64/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list