<div dir="ltr">Bug reports go on <a href="https://freeswitch.org/jira">https://freeswitch.org/jira</a><div><br></div><div>Thanks,</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 10, 2015 at 3:43 PM, Lee Azzarello <span dir="ltr">&lt;<a href="mailto:lee@seriesdigital.com" target="_blank">lee@seriesdigital.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello everyone,<br><br>I&#39;m compiling Freeswitch (both 1.6 and git HEAD as of this email timestamp) and I require a JavaScript interpreter. When the build process hits mod_v8 I get the following error[1]. System info: OS X 10.11.1 (El Capitan), homebrew updated as of this morning, current stable Xcode, all default ./configure options. One thing I noticed is the build system ignores my environment if I export CFLAGS=&quot;-Wno-errors&quot; and CXXFLAGS=&quot;-Wno-errors&quot;. Warnings are always handled as errors because -Werror is always appended to the compiler flags.<div><br></div><div>Thanks,</div><div>Lee<br><br>[1]<br>making all mod_v8<br><br>cd /Users/lazzarello/src/freeswitch/libs/v8-3.24.14 &amp;&amp; (test -f .stamp-patch || patch -t -p0 &lt; /Users/lazzarello/src/freeswitch/src/mod/languages/mod_v8/v8-build.patch)<br><br>patching file Makefile<br><br>touch /Users/lazzarello/src/freeswitch/libs/v8-3.24.14/.stamp-patch<br><br>mkdir -p /Users/lazzarello/src/freeswitch/libs/v8-3.24.14<br><br>if test &quot;x86_64&quot; = &quot;x86_64&quot;; then \<br><br>  defines=&quot;v8_target_arch=x64 target_arch=x64&quot;; \<br><br>else \<br><br>  if test &quot;x86_64&quot; = &quot;arm&quot;; then \<br><br>      defines=&quot;v8_target_arch=arm target_arch=arm&quot;; \<br><br>  else \<br><br>      if test &quot;x36_64&quot; = &quot;i386&quot;; then \<br><br>        defines=&quot;v8_target_arch=ia32 target_arch=ia32&quot;; \<br><br>      fi; \<br><br>  fi; \<br><br>fi; \<br><br>cd /Users/lazzarello/src/freeswitch/libs/v8-3.24.14 &amp;&amp; CFLAGS=&quot;&quot; CXXFLAGS=&quot;&quot; \<br><br>LINK=g++ CXX=g++ GYPFLAGS=&quot;&quot; GYP_DEFINES=&quot;$defines&quot; \<br><br>OUTDIR=/Users/lazzarello/src/freeswitch/libs/v8-3.24.14/out \<br><br>PYTHONPATH=&quot;/Users/lazzarello/src/freeswitch/libs/v8-3.24.14/build/gyp/pylib:&quot; /Applications/Xcode.app/Contents/Developer/usr/bin/make -C /Users/lazzarello/src/freeswitch/libs/v8-3.24.14 snapshot=off i18nsupport=off library=shared native<br><br>PYTHONPATH=&quot;/Users/lazzarello/src/freeswitch/libs/v8-3.24.14/tools/generate_shim_headers:/Users/lazzarello/src/freeswitch/libs/v8-3.24.14/build/gyp/pylib:&quot; \<br><br>GYP_GENERATORS=make \<br><br>build/gyp/gyp --generator-output=&quot;/Users/lazzarello/src/freeswitch/libs/v8-3.24.14/out&quot; build/all.gyp \<br><br>              -Ibuild/standalone.gypi --depth=. -S.native  -Dcomponent=shared_library -Dv8_enable_backtrace=1 -Dv8_use_snapshot=&#39;false&#39; -Dv8_enable_i18n_support=0 -Darm_fpu=default -Darm_float_abi=default<br><br>  CXX(target) /Users/lazzarello/src/freeswitch/libs/v8-3.24.14/out/native/obj.target/v8_base.x64/src/accessors.o<br><br>In file included from ../src/accessors.cc:28:<br><br>In file included from ../src/v8.h:62:<br><br>In file included from ../src/objects-inl.h:38:<br><br>In file included from ../src/elements.h:33:<br><br>In file included from ../src/heap.h:36:<br><br>In file included from ../src/incremental-marking.h:33:<br><br>In file included from ../src/mark-compact.h:32:<br><br>../src/spaces.h:925:26: error: &#39;this&#39; pointer cannot be null in well-defined C++ code; comparison may be<br><br>      assumed to always evaluate to true [-Werror,-Wtautological-undefined-compare]<br><br>  bool exists() { return this != NULL &amp;&amp; code_range_ != NULL; }<br><br>                         ^~~~    ~~~~<br><br>../src/spaces.h:927:9: error: &#39;this&#39; pointer cannot be null in well-defined C++ code; comparison may be<br><br>      assumed to always evaluate to false [-Werror,-Wtautological-undefined-compare]<br><br>    if (this == NULL || code_range_ == NULL) return NULL;<br><br>        ^~~~    ~~~~<br><br>../src/spaces.h:931:9: error: &#39;this&#39; pointer cannot be null in well-defined C++ code; comparison may be<br><br>      assumed to always evaluate to false [-Werror,-Wtautological-undefined-compare]<br><br>    if (this == NULL || code_range_ == NULL) return false;<br><br>        ^~~~    ~~~~<br><br>3 errors generated.<br><br>make[5]: *** [/Users/lazzarello/src/freeswitch/libs/v8-3.24.14/out/native/obj.target/v8_base.x64/src/accessors.o] Error 1<br><br>make[4]: *** [native] Error 2<br><br>make[3]: *** [/Users/lazzarello/src/freeswitch/libs/v8-3.24.14/out/native/libv8.dylib] Error 2<br><br>make[2]: *** [mod_v8-all] Error 1<br><br>make[1]: *** [mod_v8] Error 2<br><br>make: *** [mod_v8] Error 2<br><div><br></div><div><br></div></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" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><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" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">







<p><font face="courier new, monospace"><b><i><font size="4">Brian West</font></i></b><br><span style="font-size:x-small"><a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a></span></font></p>
<p><font size="1" face="courier new, monospace"><img src="http://billing.freeswitch.org/templates/default/img/whmcslogo.png"><br></font></p><p><font size="2" face="monospace, monospace"><b><i>Twitter: @FreeSWITCH , @briankwest</i></b><br><a href="http://www.freeswitchbook.com" target="_blank">http://www.freeswitchbook.com</a><br><a href="http://www.freeswitchcookbook.com" target="_blank">http://www.freeswitchcookbook.com</a></font></p><p><font face="monospace, monospace">Got Bugs? Report them <a href="https://freeswitch.org/jira" target="_blank">here</a>! | Reddit: <a href="https://www.reddit.com/r/freeswitch" target="_blank">/r/freeswitch</a></font></p>
<p><font size="2" face="monospace, monospace"><b>T:</b>+19184209001 | <b>F:</b>+19184209002 | <b>M:</b>+1918424WEST (9378)<br><b>iNUM:</b>+883 5100 1420 9001 | <b>ISN:</b>410*543 | <b>Skype:</b>briankwest</font></p></div></div></div></div></div></div></div></div></div></div>
</div>