<div dir="ltr"><a href="https://bitbucket.org/kokua/kokua-sl-64">https://bitbucket.org/kokua/kokua-sl-64</a><br><div>which is merged with</div><div><a href="https://bitbucket.org/lindenlab/viewer64">https://bitbucket.org/lindenlab/viewer64</a><br></div><div>Where Linden Lab uses autobuild-1.1 build system.</div><div>Window 64 build of kokua-sl-64 builds and runs without issue.</div><div><br></div><div>Below is a copy paste of the top and bottom of the build log. The middle is mostly repeats.</div><div><br></div><div>Top part of log:</div><div><div>[  3%] Building CXX object llcommon/CMakeFiles/llcommon.dir/indra_constants.cpp.o</div><div>In file included from /usr/include/x86_64-linux-gnu/c++/4.9/bits/c++config.h:430:0,</div><div>                 from /usr/include/c++/4.9/cstring:41,</div><div>                 from /home/nicky/p64/kokua-sl-64/indra/llcommon/linden_common.h:50,</div><div>                 from /home/nicky/p64/kokua-sl-64/indra/llcommon/indra_constants.cpp:26:</div><div>/usr/include/x86_64-linux-gnu/c++/4.9/bits/os_defines.h:44:19: error: missing binary operator before token "("</div><div> #if __GLIBC_PREREQ(2,15) && defined(_GNU_SOURCE)</div><div>                   ^</div><div>In file included from /usr/include/c++/4.9/cstring:42:0,</div><div>                 from /home/nicky/p64/kokua-sl-64/indra/llcommon/linden_common.h:50,</div><div>                 from /home/nicky/p64/kokua-sl-64/indra/llcommon/indra_constants.cpp:26:</div><div>/usr/include/string.h:39:69: error: missing binary operator before token "("</div><div> #if defined __cplusplus && (__cplusplus >= 199711L || __GNUC_PREREQ (4, 4))</div><div>                                                                     ^</div><div>In file included from /usr/include/math.h:32:0,</div><div>                 from /usr/include/c++/4.9/cmath:44,</div><div>                 from /home/nicky/p64/kokua-sl-64/indra/llcommon/linden_common.h:53,</div><div>                 from /home/nicky/p64/kokua-sl-64/indra/llcommon/indra_constants.cpp:26:</div><div>/usr/include/x86_64-linux-gnu/bits/huge_val.h:26:18: error: missing binary operator before token "("</div><div> #if __GNUC_PREREQ(3,3)</div><div>                  ^</div><div>/usr/include/x86_64-linux-gnu/bits/huge_val.h:28:20: error: missing binary operator before token "("</div><div> #elif __GNUC_PREREQ(2,96)</div><div>                    ^</div><div>In file included from /usr/include/c++/4.9/cmath:44:0,</div><div>                 from /home/nicky/p64/kokua-sl-64/indra/llcommon/linden_common.h:53,</div><div>                 from /home/nicky/p64/kokua-sl-64/indra/llcommon/indra_constants.cpp:26:</div><div>/usr/include/math.h:410:42: error: missing binary operator before token "("</div><div> #if defined __USE_ISOC99 && __GNUC_PREREQ(2,97)</div></div><div>**********************************************************</div><div>Middle</div><div>**********************************************************</div><div>Bottom:</div><div><div>/usr/include/stdio.h:826:23: error: variable or field ‘clearerr’ declared void</div><div> extern void clearerr (FILE *__stream) __THROW;</div><div>                       ^</div><div>/usr/include/stdio.h:826:23: error: ‘FILE’ was not declared in this scope</div><div>/usr/include/stdio.h:826:29: error: ‘__stream’ was not declared in this scope</div><div> extern void clearerr (FILE *__stream) __THROW;</div><div>                             ^</div><div>/usr/include/stdio.h:828:18: error: ‘FILE’ was not declared in this scope</div><div> extern int feof (FILE *__stream) __THROW __wur;</div><div>                  ^</div><div>/usr/include/stdio.h:828:24: error: ‘__stream’ was not declared in this scope</div><div> extern int feof (FILE *__stream) __THROW __wur;</div><div>                        ^</div><div>/usr/include/stdio.h:830:20: error: ‘FILE’ was not declared in this scope</div><div> extern int ferror (FILE *__stream) __THROW __wur;</div><div>                    ^</div><div>/usr/include/stdio.h:830:26: error: ‘__stream’ was not declared in this scope</div><div> extern int ferror (FILE *__stream) __THROW __wur;</div><div>                          ^</div><div>In file included from /usr/include/libio.h:56:0,</div><div>                 from /usr/include/stdio.h:74,</div><div>                 from /usr/include/c++/4.9/cstdio:42,</div><div>                 from /home/nicky/p64/kokua-sl-64/indra/llcommon/linden_common.h:55,</div><div>                 from /home/nicky/p64/kokua-sl-64/indra/llcommon/llapp.cpp:27:</div><div>/usr/include/stdio.h:942:1: error: expected declaration before ‘}’ token</div><div> __END_DECLS</div><div> ^</div><div>llcommon/CMakeFiles/llcommon.dir/build.make:134: recipe for target 'llcommon/CMakeFiles/llcommon.dir/llapp.cpp.o' failed</div><div>make[2]: *** [llcommon/CMakeFiles/llcommon.dir/llapp.cpp.o] Error 1</div><div>CMakeFiles/Makefile2:358: recipe for target 'llcommon/CMakeFiles/llcommon.dir/all' failed</div><div>make[1]: *** [llcommon/CMakeFiles/llcommon.dir/all] Error 2</div><div>Makefile:83: recipe for target 'all' failed</div><div>make: *** [all] Error 2</div><div>ERROR: building configuration {'default': False, 'configure': {'command': None, 'options': ['-G', 'Unix Makefiles'], 'filters': None, 'arguments': None}, 'name': 'ReleaseOS', 'build': {'command': 'make', 'options': ['-j', '7'], 'filters': None, 'arguments': None}} returned 2</div><div>For more information: try re-running your command with --verbose or --debug</div></div><div><br></div><div>With autobuild-1.1 is a new viewer-build-variables repo.</div><div><br></div><div>The relevant parts of viewer-build-variables/variables are pasted below:</div><div><div># Mac and Linux base macros</div><div>LL_BUILD_POSIX_BASE_MACROS="-DLL_OS_DRAGDROP_ENABLED=1 -DCARES_STATICLIB -DLIB_NDOF=1"</div></div><div><br></div><div><div># Linux</div><div>LL_BUILD_LINUX_BASE_MACROS="-DLL_LINUX=1 -D_REENTRANT -DEXTERNAL_TOS -DAPPID=kokua $LL_BUILD_POSIX_BASE_MACROS"</div><div>LL_BUILD_LINUX_BASE_SWITCHES="-std=gnu++11 -g -fPIC -Wno-unused-local-typedefs -Wno-deprecated-declarations -DLL_LINUX=1 -D_REENTRANT -fexceptions -fno-math-errno -fno-strict-aliasing -fsigned-char -mmmx -msse -msse2 -mfpmath=sse -pthread"</div><div>LL_BUILD_LINUX_BASE="$LL_BUILD_LINUX_BASE_SWITCHES $LL_BUILD_LINUX_BASE_MACROS"</div></div><div><br></div><div>Trying this build is a bit in front of Linden Lab and I've been told we are on our own with this attempt.</div><div><br></div><div>I searched Stackoverflow and found a reference that this is likely a C++xx mismatch issue. The compile switch has "-std=gnu++11".</div><div><br></div><div>Does anyone have clue what is happening?</div><div><br></div><div>Nicky</div><div><br></div><div><br></div><div> </div><div><br></div><div><br></div><div><br></div></div>