<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">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...<div>Mario G<br><div><br><div><div>On May 25, 2012, at 4:03 PM, Neil Patel wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi Mario,</div><div><br></div>This looks like a deeper problem. I tried commenting out mod_amr but then it broke on other codecs.<div><br></div><div>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?</div>

<div><br></div><div>Thanks,<br>Neil<br><br><div class="gmail_quote">On Fri, May 25, 2012 at 3:53 PM, Mario G <span dir="ltr">&lt;<a href="mailto:mario_fs@mgtech.com" target="_blank">mario_fs@mgtech.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; position: static; z-index: auto; "><div style="word-wrap:break-word">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.<div>

<br><div><div><div class="h5"><div>On May 25, 2012, at 2:53 PM, Neil Patel wrote:</div><br></div></div><blockquote type="cite"><div><div class="h5">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:<div>

<br></div><div>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  
<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&nbsp;<br>
</div><div><br></div><div>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:<br>



</div><div><br></div><div><a href="http://jira.freeswitch.org/browse/FS-4240" target="_blank">http://jira.freeswitch.org/browse/FS-4240</a></div><div><br></div><div>My sense this is a missing tool or config issue with my setup (pretty much fresh Lion install). Thanks in advance for your help!</div>



<div>Neil</div></div></div>
_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br><a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br><a href="http://www.freeswitchsolutions.com/" target="_blank">http://www.freeswitchsolutions.com</a><br>

<br>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br><a href="http://www.cudatel.com/" target="_blank">http://www.cudatel.com</a><br><br>Official FreeSWITCH Sites<br><a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>

<a href="http://wiki.freeswitch.org/" target="_blank">http://wiki.freeswitch.org</a><br><a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com</a><br><br>Join Us At ClueCon - Aug 7-9, 2012<br><br>FreeSWITCH-users mailing list<br>

<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>

UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>

</blockquote></div><br></div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com/" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com/" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org/" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com</a><br>
<br>
Join Us At ClueCon - Aug 7-9, 2012<br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>
_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>http://www.freeswitchsolutions.com<br><br>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>http://www.cudatel.com<br><br>Official FreeSWITCH Sites<br>http://www.freeswitch.org<br>http://wiki.freeswitch.org<br>http://www.cluecon.com<br><br>Join Us At ClueCon - Aug 7-9, 2012<br><br>FreeSWITCH-users mailing list<br>FreeSWITCH-users@lists.freeswitch.org<br>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>http://www.freeswitch.org<br></blockquote></div><br></div></div></body></html>