<HTML>
<HEAD>
<TITLE>Re: [Freeswitch-users] Unable to build Git tree on Mac OSX Lion</TITLE>
</HEAD>
<BODY>
<FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>Can you do a git bisect on this and figure out where it broke? This should build just fine...<BR>
<BR>
K<BR>
<BR>
<BR>
On 5/25/12 6:50 PM, &quot;Mario G&quot; &lt;<a href="mario_fs@mgtech.com">mario_fs@mgtech.com</a>&gt; wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>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...<BR>
Mario G<BR>
<BR>
On May 25, 2012, at 4:03 PM, Neil Patel wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>Hi Mario,<BR>
<BR>
This looks like a deeper problem. I tried commenting out mod_amr but then it broke on other codecs.<BR>
<BR>
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?<BR>
<BR>
Thanks,<BR>
Neil<BR>
<BR>
On Fri, May 25, 2012 at 3:53 PM, Mario G &lt;<a href="mario_fs@mgtech.com">mario_fs@mgtech.com</a>&gt; wrote:<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>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.<BR>
<BR>
On May 25, 2012, at 2:53 PM, Neil Patel wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>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:<BR>
<BR>
making all mod_amr <BR>
Creating mod_amr.so... <BR>
i686-apple-darwin11-llvm-gcc-4.2: -bundle not allowed with -dynamiclib <BR>
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 &nbsp;<BR>
make[5]: *** [mod_amr.so] Error 1 <BR>
make[4]: *** [all] Error 1 <BR>
make[3]: *** [mod_amr-all] Error 1 <BR>
make[2]: *** [all-recursive] Error 1 <BR>
make[1]: *** [all-recursive] Error 1 <BR>
make: *** [all] Error 2 <BR>
<BR>
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 &quot;bundle not allowed with -dynamiclib&quot; 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:<BR>
<BR>
<a href="http://jira.freeswitch.org/browse/FS-4240">http://jira.freeswitch.org/browse/FS-4240</a><BR>
<BR>
My sense this is a missing tool or config issue with my setup (pretty much fresh Lion install). Thanks in advance for your help!<BR>
Neil<BR>
_________________________________________________________________________<BR>
Professional FreeSWITCH Consulting Services:<BR>
<a href="consulting@freeswitch.org">consulting@freeswitch.org</a><BR>
<a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a> &lt;<a href="http://www.freeswitchsolutions.com/">http://www.freeswitchsolutions.com/</a>&gt; <BR>
<BR>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<BR>
<a href="http://www.cudatel.com">http://www.cudatel.com</a> &lt;<a href="http://www.cudatel.com/">http://www.cudatel.com/</a>&gt; <BR>
<BR>
Official FreeSWITCH Sites<BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a> &lt;<a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a>&gt; <BR>
<a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a> &lt;<a href="http://wiki.freeswitch.org/">http://wiki.freeswitch.org/</a>&gt; <BR>
<a href="http://www.cluecon.com">http://www.cluecon.com</a> &lt;<a href="http://www.cluecon.com/">http://www.cluecon.com/</a>&gt; <BR>
<BR>
Join Us At ClueCon - Aug 7-9, 2012<BR>
<BR>
FreeSWITCH-users mailing list<BR>
<a href="FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><BR>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><BR>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a> &lt;<a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a>&gt; <BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'><BR>
<BR>
_________________________________________________________________________<BR>
Professional FreeSWITCH Consulting Services:<BR>
<a href="consulting@freeswitch.org">consulting@freeswitch.org</a><BR>
<a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a> &lt;<a href="http://www.freeswitchsolutions.com/">http://www.freeswitchsolutions.com/</a>&gt; <BR>
<BR>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<BR>
<a href="http://www.cudatel.com">http://www.cudatel.com</a> &lt;<a href="http://www.cudatel.com/">http://www.cudatel.com/</a>&gt; <BR>
<BR>
Official FreeSWITCH Sites<BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a> &lt;<a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a>&gt; <BR>
<a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a> &lt;<a href="http://wiki.freeswitch.org/">http://wiki.freeswitch.org/</a>&gt; <BR>
<a href="http://www.cluecon.com">http://www.cluecon.com</a> &lt;<a href="http://www.cluecon.com/">http://www.cluecon.com/</a>&gt; <BR>
<BR>
Join Us At ClueCon - Aug 7-9, 2012<BR>
<BR>
FreeSWITCH-users mailing list<BR>
<a href="FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><BR>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><BR>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a> &lt;<a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a>&gt; <BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'><BR>
_________________________________________________________________________<BR>
Professional FreeSWITCH Consulting Services:<BR>
<a href="consulting@freeswitch.org">consulting@freeswitch.org</a><BR>
<a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><BR>
<BR>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<BR>
<a href="http://www.cudatel.com">http://www.cudatel.com</a><BR>
<BR>
Official FreeSWITCH Sites<BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
<a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a><BR>
<a href="http://www.cluecon.com">http://www.cluecon.com</a><BR>
<BR>
Join Us At ClueCon - Aug 7-9, 2012<BR>
<BR>
FreeSWITCH-users mailing list<BR>
<a href="FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><BR>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><BR>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'><BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"></SPAN></FONT><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'>_________________________________________________________________________<BR>
Professional FreeSWITCH Consulting Services:<BR>
<a href="consulting@freeswitch.org">consulting@freeswitch.org</a><BR>
<a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><BR>
<BR>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<BR>
<a href="http://www.cudatel.com">http://www.cudatel.com</a><BR>
<BR>
Official FreeSWITCH Sites<BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
<a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a><BR>
<a href="http://www.cluecon.com">http://www.cluecon.com</a><BR>
<BR>
Join Us At ClueCon - Aug 7-9, 2012<BR>
<BR>
FreeSWITCH-users mailing list<BR>
<a href="FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><BR>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><BR>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
</SPAN></FONT></FONT></BLOCKQUOTE>
</BODY>
</HTML>