./emconfigure ./configure fails, GCC version too old?

660 views
Skip to first unread message

Jack Woolford

unread,
Oct 6, 2014, 2:27:29 AM10/6/14
to emscripte...@googlegroups.com
Hello,

So I've encountered a fair few problems trying to setup emscripten but managed to work them out so far. This time I'm stumped, not really surprising as I'm a Linux newbie anyway. So here is what is happening I'm trying to ./emconfigure ./configure Cling everything starts running and I encounter an error I can't seem to work out how to fix. This is the output:

/home/jack/Desktop/Programming/emscripten/emconfigure ./configure
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /home/jack/Desktop/Programming/emscripten/emcc accepts -g... yes
checking for /home/jack/Desktop/Programming/emscripten/emcc option to accept ISO C89... none needed
checking whether we are using the GNU C++ compiler... yes
checking whether /home/jack/Desktop/Programming/emscripten/em++ accepts -g... yes
checking how to run the C preprocessor... /home/jack/Desktop/Programming/emscripten/emcc -E
checking whether GCC or Clang is our host compiler... clang
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking type of operating system we're going to host on... Linux
checking type of operating system we're going to target... Linux
checking target architecture... x86_64
checking whether Clang is new enough... yes
checking whether Clang will select a modern C++ standard library... no
configure: error:
We detected a missing feature in the standard C++ library that was known to be
missing in libstdc++4.6 and implemented in libstdc++4.7. There are numerous
C++11 problems with 4.6's library, and we don't support GCCs or libstdc++ older
than 4.7. You will need to update your system and ensure Clang uses the newer
standard library.

If this error is incorrect or you need to force things to work, you may pass
'--disable-compiler-version-checks' to configure to bypass this test.
ERROR    root: Configure step failed with non-zero return code 1! Command line: ['./configure']

Now I would force it, but thought better of it rather it just work smoothly and not produce other issues in the future I have to go back and fix. Anyway I u[dated GCC on my system to 4.7 and nothing has changed same error. So not really sure what is going on.

Anyway any help is appreciated,

Thanks.

Jack Woolford

unread,
Oct 6, 2014, 3:32:18 AM10/6/14
to emscripte...@googlegroups.com
Okay so now my system has updated to GCC 4.9.1 and still no change. Now I'm thinking I missed a bunch of steps somewhere maybe with Cling itself. 

I was following this: http://root.cern.ch/drupal/content/cling-build-instructions but it says to just follow on with this: http://clang.llvm.org/get_started.html which doesn't exactly interpret straight across to me entirely when it comes to the steps for Cling. As well as the fact I don't think it interprets across to Emscripten well either...

I know LLVM and Clang can be built with Emscripten as I believe the main developer Alon Zakai has done so (although that might be a sign this is over my head)... I'm also pretty sure it is to do with these particular lines: 


checking whether Clang is new enough... yes
checking whether Clang will select a modern C++ standard library... no

So I assume it is using the Clang I compile from source from the Emscripten repository, which brings me to a question, how do I update the Clang in the source build of Emscripten?

Anyway sorry if this is a pain I just thought it might be exactly what I'm looking for a way to setup Cling and compile it as JavaScript to allow me to hook it into Google Blockly. Although turns out nothing is as simple as first thought haha.

Jack Woolford

unread,
Oct 6, 2014, 5:29:33 AM10/6/14
to emscripte...@googlegroups.com
So I decided to try the emsdk instead (for some reason I didn't use it the first time) and that doesn't want to work either. This is the current outpu of ./emcc -v: 

jack@jack-Inspiron-3537 ~/Desktop/Programming/emsdk_portable/emscripten/master $ ./emcc -v
WARNING  root: cannot check node version: [Errno 2] No such file or directory
WARNING  root: did not see a source tree above the LLVM root directory (guessing based on directory of /home/jack/Desktop/Programming/emsdk_portable/clang/fastcomp/build_master_64/bin/llc), could not verify version numbers match
INFO     root: (Emscripten: Running sanity checks)
Checking JS engine node failed. Check ~/.emscripten. Details: [Errno 2] No such file or directory
CRITICAL root: The JavaScript shell used for compiling (node) does not seem to work, check the paths in ~/.emscripten

Which is unusual as it is reporting node is missing as I installed Nodejs as indicated by these instructions: http://kripken.github.io/emscripten-site/docs/getting_started/downloads.html#platform-notes-installation-instructions-portable-sdk where it mentions: Linux Pre-built binaries of tools are not available on Linux. So once again sort of stumped...

Jukka Jylänki

unread,
Oct 6, 2014, 5:59:12 AM10/6/14
to emscripte...@googlegroups.com
If you do know where node.js is located in your system, try editing the file ~/.emscripten and add the path to the node.js file in there. That should get rid of the node.js issue. The warning with "did not see a source tree above.." is currently expected in emsdk master and incoming branches, and can be safely ignored - apologies for the false positive noise in that message.

   Jukka

--
You received this message because you are subscribed to the Google Groups "emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to emscripten-disc...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jack Woolford

unread,
Oct 6, 2014, 8:50:09 AM10/6/14
to emscripte...@googlegroups.com
Okay will quickly reply while I have internet access via a tethered connection to my phone (maintenance going on here with the ADSL2+ connection). So I've now got the emsdk-master branch working but I now get these errors compiling LLVM (which I need to do before compiling Clang and Cling) via EMCMake:

jack@jack-Inspiron-3537 ~/Desktop/Programming/src/build_emscripten $ /home/jack/Desktop/Programming/emsdk_portable/emscripten/master/emcmake cmake /home/jack/Desktop/Programming/src
-- Looking for __dso_handle
-- Looking for __dso_handle - found
-- Performing Test HAVE_INT64_T
-- Performing Test HAVE_INT64_T - Success
-- Performing Test HAVE_UINT64_T
-- Performing Test HAVE_UINT64_T - Success
-- Performing Test HAVE_U_INT64_T
-- Performing Test HAVE_U_INT64_T - Success
-- Performing Test LLVM_HAS_ATOMICS
-- Performing Test LLVM_HAS_ATOMICS - Success
-- Performing Test SUPPORTS_NO_VARIADIC_MACROS_FLAG
-- Performing Test SUPPORTS_NO_VARIADIC_MACROS_FLAG - Success
-- Target triple: x86_64-unknown-linux-gnu
-- Native target architecture is X86
-- Threads enabled.
-- Doxygen disabled.
-- Sphinx disabled.
CMake Error at cmake/modules/HandleLLVMOptions.cmake:17 (message):
  Host Clang version must be at least 3.1!
Call Stack (most recent call first):
  CMakeLists.txt:315 (include)


-- Configuring incomplete, errors occurred!
See also "/home/jack/Desktop/Programming/src/build_emscripten/CMakeFiles/CMakeOutput.log".
See also "/home/jack/Desktop/Programming/src/build_emscripten/CMakeFiles/CMakeError.log".
ERROR    root: Configure step failed with non-zero return code 1! Command line: ['cmake', '/home/jack/Desktop/Programming/src', '-DCMAKE_TOOLCHAIN_FILE=/home/jack/Desktop/Programming/emsdk_portable/emscripten/master/cmake/Modules/Platform/Emscripten.cmake']

There is more output then this but mainly just it saying Not found, found etc. etc. Anyway I was looking at this: https://github.com/kripken/llvm.js and the commands used there, are these necessary for what I'm trying to do as well, even if I want a 64-bit output?

Thanks.

Jack Woolford

unread,
Oct 6, 2014, 11:41:59 AM10/6/14
to emscripte...@googlegroups.com
This time I tried with emconfigure again with the emsdk and the command: --disable-compiler-version-checks

Problem is everything seems to run fine or so it seems, I'm not entirely sure. Anyway I then went on to do ./emmake ./make and that produced a huge amount of errors although really just the same thing over and over for different files.

Output of ./emconfigure ./configure: 

jack@jack-Inspiron-3537 ~/Desktop/Programming/src/build_emscripten $  /home/jack/Desktop/Programming/emsdk_portable/emscripten/master/emconfigure /home/jack/Desktop/Programming/src/configure --disable-compiler-version-checks
checking
for C compiler default output file name... a.out

checking whether the C compiler works
... yes
checking whether we are cross compiling
... no
checking
for suffix of executables...
checking
for suffix of object files... o
checking whether we are
using the GNU C compiler...
yes
checking whether
/home/jack/Desktop/Programming/emsdk_portable/emscripten/master/emcc accepts -g... yes
checking
for /home/jack/Desktop/Programming/emsdk_portable/emscripten/master/emcc option to accept ISO C89... none needed
checking whether we are
using the GNU C++ compiler... yes
checking whether
/home/jack/Desktop/Programming/emsdk_portable/emscripten/master/em++ accepts -g... yes
checking how to run the C preprocessor
... /home/jack/Desktop/Programming/emsdk_portable/emscripten/master/emcc -E
checking whether GCC
or Clang is our host compiler... clang
checking build system type
... x86_64-unknown-linux-gnu
checking host system type
... x86_64-unknown-linux-gnu
checking target system type
... x86_64-unknown-linux-gnu

checking type of operating system we
're going to host on... Linux

checking type of operating system we'
re going to target... Linux
checking target architecture
... x86_64
checking optimization flags
... -O3
checking
for GNU make... make
checking whether ln
-s works... yes
checking
for nm... /usr/bin/nm
checking
for cmp... /usr/bin/cmp
checking
for cp... /bin/cp
checking
for date... /bin/date
checking
for find... /usr/bin/find
checking
for grep... /bin/grep
checking
for mkdir... /bin/mkdir
checking
for mv... /bin/mv
checking
for ranlib... /home/jack/Desktop/Programming/emsdk_portable/emscripten/master/emranlib
checking
for ar... /home/jack/Desktop/Programming/emsdk_portable/emscripten/master/emar
checking
for rm... /bin/rm
checking
for sed... /bin/sed
checking
for tar... /bin/tar
checking
for pwd... /bin/pwd
checking
for dot... echo dot
checking
for a BSD-compatible install... /usr/bin/install -c
checking
for bzip2... /bin/bzip2
checking
for cat... /bin/cat
checking
for doxygen... no
checking
for groff... /usr/bin/groff
checking
for gzip... /bin/gzip
checking
for pdfroff... no
checking
for zip... /usr/bin/zip
checking
for ocamlc... no
checking
for ocamlopt... no
checking
for ocamldep... no
checking
for ocamldoc... no
checking
for gas... no
checking
for as... /usr/bin/as
checking
for linker version... 3.3
checking
for compiler -Wl,-R<path> option... yes
checking
for compiler -rdynamic option... yes
checking
for compiler -Wl,--version-script option... yes
checking
for grep that handles long lines and -e... (cached) /bin/grep
checking
for egrep... /bin/grep -E
checking
for ANSI C header files... yes
checking
for sys/types.h... yes
checking
for sys/stat.h... yes
checking
for stdlib.h... yes
checking
for string.h... yes
checking
for memory.h... yes
checking
for strings.h... yes
checking
for inttypes.h... yes
checking
for stdint.h... yes
checking
for unistd.h... yes
checking errno
.h usability... yes
checking errno
.h presence... yes
checking
for errno.h... yes
checking tool compatibility
... ok
checking optional compiler flags
... -Wno-variadic-macros -Wno-missing-field-initializers -Wcovered-switch-default -Wno-uninitialized
checking
for python... /usr/bin/python
checking
for python >= 2.5... /usr/bin/python (2.7.6)
checking
for sin in -lm... yes
checking
for library containing dlopen... -ldl
checking
for library containing clock_gettime... none required
checking
for library containing setupterm... no
checking
for library containing el_init... no
checking
for library containing mallinfo... none required
checking
for pthread_mutex_init in -lpthread... yes
checking
for library containing pthread_mutex_lock... none required
checking
for library containing pthread_rwlock_init... none required
checking
for library containing pthread_getspecific... none required
checking
for compress2 in -lz... no
checking
for xml2-config... no
checking
for libxml2 includes... xml2-config not found
checking
for dirent.h that defines DIR... yes
checking
for library containing opendir... none required
checking
for MAP_ANONYMOUS vs. MAP_ANON... yes
checking whether stat file
-mode macros are broken... no
checking
for sys/wait.h that is POSIX.1 compatible... yes
checking whether time
.h and sys/time.h may both be included... yes
checking how to run the C
++ preprocessor... /home/jack/Desktop/Programming/emsdk_portable/emscripten/master/em++ -E
checking cxxabi
.h usability... no
checking cxxabi
.h presence... no
checking
for cxxabi.h... no
checking dlfcn
.h usability... yes
checking dlfcn
.h presence... yes
checking
for dlfcn.h... yes
checking execinfo
.h usability... no
checking execinfo
.h presence... no
checking
for execinfo.h... no
checking fcntl
.h usability... yes
checking fcntl
.h presence... yes
checking
for fcntl.h... yes
checking
for inttypes.h... (cached) yes
checking link
.h usability... yes
checking link
.h presence... yes
checking
for link.h... yes
checking malloc
.h usability... yes
checking malloc
.h presence... yes
checking
for malloc.h... yes
checking setjmp
.h usability... yes
checking setjmp
.h presence... yes
checking
for setjmp.h... yes
checking signal
.h usability... yes
checking signal
.h presence... yes
checking
for signal.h... yes
checking
for stdint.h... (cached) yes
checking termios
.h usability... yes
checking termios
.h presence... yes
checking
for termios.h... yes
checking
for unistd.h... (cached) yes
checking utime
.h usability... yes
checking utime
.h presence... yes
checking
for utime.h... yes
checking sys
/mman.h usability... yes
checking sys
/mman.h presence... yes
checking
for sys/mman.h... yes
checking sys
/param.h usability... yes
checking sys
/param.h presence... yes
checking
for sys/param.h... yes
checking sys
/resource.h usability... yes
checking sys
/resource.h presence... yes
checking
for sys/resource.h... yes
checking sys
/time.h usability... yes
checking sys
/time.h presence... yes
checking
for sys/time.h... yes
checking sys
/uio.h usability... yes
checking sys
/uio.h presence... yes
checking
for sys/uio.h... yes
checking sys
/ioctl.h usability... yes
checking sys
/ioctl.h presence... yes
checking
for sys/ioctl.h... yes
checking malloc
/malloc.h usability... no
checking malloc
/malloc.h presence... no
checking
for malloc/malloc.h... no
checking mach
/mach.h usability... no
checking mach
/mach.h presence... no
checking
for mach/mach.h... no
checking valgrind
/valgrind.h usability... no
checking valgrind
/valgrind.h presence... no
checking
for valgrind/valgrind.h... no
checking fenv
.h usability... yes
checking fenv
.h presence... yes
checking
for fenv.h... yes
checking whether FE_ALL_EXCEPT
is declared... yes
checking whether FE_INEXACT
is declared... yes
checking pthread
.h usability... yes
checking pthread
.h presence... yes
checking
for pthread.h... yes
checking zlib
.h usability... no
checking zlib
.h presence... no
checking
for zlib.h... no
checking
CrashReporterClient.h usability... no
checking
CrashReporterClient.h presence... no
checking
for CrashReporterClient.h... no
checking __crashreporter_info__
... no
checking
for HUGE_VAL sanity... yes
checking
for pid_t... yes
checking
for size_t... yes
checking whether
struct tm is in sys/time.h or time.h... time.h
checking
for int64_t... yes
checking
for uint64_t... yes
checking
for backtrace... yes
checking
for ceilf... yes
checking
for floorf... yes
checking
for roundf... yes
checking
for rintf... yes
checking
for nearbyintf... yes
checking
for getcwd... yes
checking
for powf... yes
checking
for fmodf... yes
checking
for strtof... yes
checking
for round... yes
checking
for log... yes
checking
for log2... yes
checking
for log10... yes
checking
for exp... yes
checking
for exp2... yes
checking
for getpagesize... yes
checking
for getrusage... yes
checking
for getrlimit... yes
checking
for setrlimit... yes
checking
for gettimeofday... yes
checking
for isatty... yes
checking
for mkdtemp... yes
checking
for mkstemp... yes
checking
for mktemp... yes
checking
for posix_spawn... yes
checking
for pread... yes
checking
for realpath... yes
checking
for sbrk... yes
checking
for setrlimit... (cached) yes
checking
for strerror... yes
checking
for strerror_r... yes
checking
for setenv... yes
checking
for strtoll... yes
checking
for strtoq... yes
checking
for sysconf... yes
checking
for malloc_zone_statistics... no
checking
for setjmp... yes
checking
for longjmp... yes
checking
for sigsetjmp... no
checking
for siglongjmp... yes
checking
for writev... yes
checking
for futimes... yes
checking
for futimens... yes
checking
if printf has the %a format character... yes
checking
for srand48/lrand48/drand48 in <stdlib.h>... yes
checking whether arc4random
is declared... no
checking whether strerror_s
is declared... no
checking
for isnan in <math.h>... yes
checking
for isnan in <cmath>... yes
checking
for std::isnan in <cmath>... yes
checking
for isinf in <math.h>... yes
checking
for isinf in <cmath>... yes
checking
for std::isinf in <cmath>... yes
checking
for finite in <ieeefp.h>... no
checking
for stdlib.h... (cached) yes
checking
for unistd.h... (cached) yes
checking
for getpagesize... (cached) yes
checking
for working mmap... yes
checking
for mmap of files... yes
checking
if /dev/zero is needed for mmap... no
checking
for GCC atomic builtins... yes
checking
for 32-bit userspace on 64-bit system... no
checking
for __dso_handle... yes
checking
for compiler -fvisibility-inlines-hidden option... yes
configure
: creating ./config.status
config
.status: creating include/llvm/Config/Targets.def
config
.status: creating include/llvm/Config/AsmPrinters.def
config
.status: creating include/llvm/Config/AsmParsers.def
config
.status: creating include/llvm/Config/Disassemblers.def
config
.status: creating Makefile.config
config
.status: creating llvm.spec
config
.status: creating docs/doxygen.cfg
config
.status: creating tools/clang/docs/doxygen.cfg
config
.status: creating bindings/ocaml/llvm/META.llvm
config
.status: creating include/llvm/Config/config.h
config
.status: creating include/llvm/Config/llvm-config.h
config
.status: creating include/llvm/Support/DataTypes.h
config
.status: creating tools/clang/include/clang/Config/config.h
config
.status: executing setup commands
config
.status: executing Makefile commands
config
.status: executing Makefile.common commands
config
.status: executing examples/Makefile commands
config
.status: executing lib/Makefile commands
config
.status: executing test/Makefile commands
config
.status: executing test/Makefile.tests commands
config
.status: executing unittests/Makefile commands
config
.status: executing tools/Makefile commands
config
.status: executing utils/Makefile commands
config
.status: executing projects/Makefile commands
config
.status: executing bindings/Makefile commands
config
.status: executing bindings/ocaml/Makefile.ocaml commands



Output of ./emmake ./make:


jack@jack
-Inspiron-3537 ~/Desktop/Programming/src/build_emscripten $  /home/jack/Desktop/Programming/emsdk_portable/emscripten/master/emmake make
llvm
[0]: Constructing LLVMBuild project information.
make
[1]: Entering directory `/home/jack/Desktop/Programming/src/build_emscripten/lib/Support'
llvm[1]: Compiling APFloat.cpp for Debug+Asserts build
WARNING  root: -I or -L of an absolute path "-I/home/jack/Desktop/Programming/src/build_emscripten/include" encountered. If this is to a local system header/library, it may cause problems (local system files make sense for compiling natively on your system, but not necessarily to JavaScript). Pass '-Wno-warn-absolute-paths' to emcc to hide this warning.
llvm[1]: Compiling APInt.cpp for Debug+Asserts build
WARNING  root: -I or -L of an absolute path "-I/home/jack/Desktop/Programming/src/build_emscripten/include" encountered. If this is to a local system header/library, it may cause problems (local system files make sense for compiling natively on your system, but not necessarily to JavaScript). Pass '-Wno-warn-absolute-paths' to emcc to hide this warning.
llvm[1]: Compiling APSInt.cpp for Debug+Asserts build
WARNING  root: -I or -L of an absolute path "-I/home/jack/Desktop/Programming/src/build_emscripten/include" encountered. If this is to a local system header/library, it may cause problems (local system files make sense for compiling natively on your system, but not necessarily to JavaScript). Pass '-Wno-warn-absolute-paths' to emcc to hide this warning.
llvm[1]: Compiling ARMBuildAttrs.cpp for Debug+Asserts build
WARNING  root: -I or -L of an absolute path "-I/home/jack/Desktop/Programming/src/build_emscripten/include" encountered. If this is to a local system header/library, it may cause problems (local system files make sense for compiling natively on your system, but not necessarily to JavaScript). Pass '-Wno-warn-absolute-paths' to emcc to hide this warning.
llvm[1]: Compiling ARMWinEH.cpp for Debug+Asserts build
WARNING  root: -I or -L of an absolute path "-I/home/jack/Desktop/Programming/src/build_emscripten/include" encountered. If this is to a local system header/library, it may cause problems (local system files make sense for compiling natively on your system, but not necessarily to JavaScript). Pass '-Wno-warn-absolute-paths' to emcc to hide this warning.
llvm[1]: Compiling Allocator.cpp for Debug+Asserts build
WARNING  root: -I or -L of an absolute path "-I/home/jack/Desktop/Programming/src/build_emscripten/include" encountered. If this is to a local system header/library, it may cause problems (local system files make sense for compiling natively on your system, but not necessarily to JavaScript). Pass '-Wno-warn-absolute-paths' to emcc to hide this warning.
llvm[1]: Compiling Atomic.cpp for Debug+Asserts build
WARNING  root: -I or -L of an absolute path "-I/home/jack/Desktop/Programming/src/build_emscripten/include" encountered. If this is to a local system header/library, it may cause problems (local system files make sense for compiling natively on your system, but not necessarily to JavaScript). Pass '-Wno-warn-absolute-paths' to emcc to hide this warning.
llvm[1]: Compiling BlockFrequency.cpp for Debug+Asserts build
WARNING  root: -I or -L of an absolute path "-I/home/jack/Desktop/Programming/src/build_emscripten/include" encountered. If this is to a local system header/library, it may cause problems (local system files make sense for compiling natively on your system, but not necessarily to JavaScript). Pass '-Wno-warn-absolute-paths' to emcc to hide this warning.
llvm[1]: Compiling BranchProbability.cpp for Debug+Asserts build
WARNING  root: -I or -L of an absolute path "-I/home/jack/Desktop/Programming/src/build_emscripten/include" encountered. If this is to a local system header/library, it may cause problems (local system files make sense for compiling natively on your system, but not necessarily to JavaScript). Pass '-Wno-warn-absolute-paths' to emcc to hide this warning.
llvm[1]: Compiling CommandLine.cpp for Debug+Asserts build
WARNING  root: -I or -L of an absolute path "-I/home/jack/Desktop/Programming/src/build_emscripten/include" encountered. If this is to a local system header/library, it may cause problems (local system files make sense for compiling natively on your system, but not necessarily to JavaScript). Pass '-Wno-warn-absolute-paths' to emcc to hide this warning.
llvm[1]: Compiling Compression.cpp for Debug+Asserts build
WARNING  root: -I or -L of an absolute path "-I/home/jack/Desktop/Programming/src/build_emscripten/include" encountered. If this is to a local system header/library, it may cause problems (local system files make sense for compiling natively on your system, but not necessarily to JavaScript). Pass '-Wno-warn-absolute-paths' to emcc to hide this warning.
llvm[1]: Compiling ConvertUTF.c for Debug+Asserts build
WARNING  root: -I or -L of an absolute path "-I/home/jack/Desktop/Programming/src/build_emscripten/include" encountered. If this is to a local system header/library, it may cause problems (local system files make sense for compiling natively on your system, but not necessarily to JavaScript). Pass '-Wno-warn-absolute-paths' to emcc to hide this warning.
llvm[1]: Compiling ConvertUTFWrapper.cpp for Debug+Asserts build
WARNING  root: -I or -L of an absolute path "-I/home/jack/Desktop/Programming/src/build_emscripten/include" encountered. If this is to a local system header/library, it may cause problems (local system files make sense for compiling natively on your system, but not necessarily to JavaScript). Pass '-Wno-warn-absolute-paths' to emcc to hide this warning.
llvm[1]: Compiling CrashRecoveryContext.cpp for Debug+Asserts build
WARNING  root: -I or -L of an absolute path "-I/home/jack/Desktop/Programming/src/build_emscripten/include" encountered. If this is to a local system header/library, it may cause problems (local system files make sense for compiling natively on your system, but not necessarily to JavaScript). Pass '-Wno-warn-absolute-paths' to emcc to hide this warning.
llvm[1]: Compiling DAGDeltaAlgorithm.cpp for Debug+Asserts build
WARNING  root: -I or -L of an absolute path "-I/home/jack/Desktop/Programming/src/build_emscripten/include" encountered. If this is to a local system header/library, it may cause problems (local system files make sense for compiling natively on your system, but not necessarily to JavaScript). Pass '-Wno-warn-absolute-paths' to emcc to hide this warning.
llvm[1]: Compiling DataExtractor.cpp for Debug+Asserts build
WARNING  root: -I or -L of an absolute path "-I/home/jack/Desktop/Programming/src/build_emscripten/include" encountered. If this is to a local system header/library, it may cause problems (local system files make sense for compiling natively on your system, but not necessarily to JavaScript). Pass '-Wno-warn-absolute-paths' to emcc to hide this warning.
llvm[1]: Compiling DataStream.cpp for Debug+Asserts build
WARNING  root: -I or -L of an absolute path "-I/home/jack/Desktop/Programming/src/build_emscripten/include" encountered. If this is to a local system header/library, it may cause problems (local system files make sense for compiling natively on your system, but not necessarily to JavaScript). Pass '-Wno-warn-absolute-paths' to emcc to hide this warning.
llvm[1]: Compiling Debug.cpp for Debug+Asserts build
WARNING  root: -I or -L of an absolute path "-I/home/jack/Desktop/Programming/src/build_emscripten/include" encountered. If this is to a local system header/library, it may cause problems (local system files make sense for compiling natively on your system, but not necessarily to JavaScript). Pass '-Wno-warn-absolute-paths' to emcc to hide this warning.
llvm[1]: Compiling DeltaAlgorithm.cpp for Debug+Asserts build
WARNING  root: -I or -L of an absolute path "-I/home/jack/Desktop/Programming/src/build_emscripten/include" encountered. If this is to a local system header/library, it may cause problems (local system files make sense for compiling natively on your system, but not necessarily to JavaScript). Pass '-Wno-warn-absolute-paths' to emcc to hide this warning.
llvm[1]: Compiling Dwarf.cpp for Debug+Asserts build
WARNING  root: -I or -L of an absolute path "-I/home/jack/Desktop/Programming/src/build_emscripten/include" encountered. If this is to a local system header/library, it may cause problems (local system files make sense for compiling natively on your system, but not necessarily to JavaScript). Pass '-Wno-warn-absolute-paths' to emcc to hide this warning.
llvm[1]: Compiling DynamicLibrary.cpp for Debug+Asserts build
WARNING  root: -I or -L of an absolute path "-I/home/jack/Desktop/Programming/src/build_emscripten/include" encountered. If this is to a local system header/library, it may cause problems (local system files make sense for compiling natively on your system, but not necessarily to JavaScript). Pass '-Wno-warn-absolute-paths' to emcc to hide this warning.
llvm[1]: Compiling Errno.cpp for Debug+Asserts build
WARNING  root: -I or -L of an absolute path "-I/home/jack/Desktop/Programming/src/build_emscripten/include" encountered. If this is to a local system header/library, it may cause problems (local system files make sense for compiling natively on your system, but not necessarily to JavaScript). Pass '-Wno-warn-absolute-paths' to emcc to hide this warning.
llvm[1]: Compiling ErrorHandling.cpp for Debug+Asserts build
WARNING  root: -I or -L of an absolute path "-I/home/jack/Desktop/Programming/src/build_emscripten/include" encountered. If this is to a local system header/library, it may cause problems (local system files make sense for compiling natively on your system, but not necessarily to JavaScript). Pass '-Wno-warn-absolute-paths' to emcc to hide this warning.
llvm[1]: Compiling FileOutputBuffer.cpp for Debug+Asserts build
WARNING  root: -I or -L of an absolute path "-I/home/jack/Desktop/Programming/src/build_emscripten/include" encountered. If this is to a local system header/library, it may cause problems (local system files make sense for compiling natively on your system, but not necessarily to JavaScript). Pass '-Wno-warn-absolute-paths' to emcc to hide this warning.
llvm[1]: Compiling FileUtilities.cpp for Debug+Asserts build
WARNING  root: -I or -L of an absolute path "-I/home/jack/Desktop/Programming/src/build_emscripten/include" encountered. If this is to a local system header/library, it may cause problems (local system files make sense for compiling natively on your system, but not necessarily to JavaScript). Pass '-Wno-warn-absolute-paths' to emcc to hide this warning.
llvm[1]: Compiling FoldingSet.cpp for Debug+Asserts build
WARNING  root: -I or -L of an absolute path "-I/home/jack/Desktop/Programming/src/build_emscripten/include" encountered. If this is to a local system header/library, it may cause problems (local system files make sense for compiling natively on your system, but not necessarily to JavaScript). Pass '-Wno-warn-absolute-paths' to emcc to hide this warning.
llvm[1]: Compiling FormattedStream.cpp for Debug+Asserts build
WARNING  root: -I or -L of an absolute path "-I/home/jack/Desktop/Programming/src/build_emscripten/include" encountered. If this is to a local system header/library, it may cause problems (local system files make sense for compiling natively on your system, but not necessarily to JavaScript). Pass '-Wno-warn-absolute-paths' to emcc to hide this warning.
llvm[1]: Compiling GraphWriter.cpp for Debug+Asserts build
WARNING  root: -I or -L of an absolute path "-I/home/jack/Desktop/Programming/src/build_emscripten/include" encountered. If this is to a local system header/library, it may cause problems (local system files make sense for compiling natively on your system, but not necessarily to JavaScript). Pass '-Wno-warn-absolute-paths' to emcc to hide this warning.
llvm[1]: Compiling Hashing.cpp for Debug+Asserts build
WARNING  root: -I or -L of an absolute path "-I/home/jack/Desktop/Programming/src/build_emscripten/include" encountered. If this is to a local system header/library, it may cause problems (local system files make sense for compiling natively on your system, but not necessarily to JavaScript). Pass '-Wno-warn-absolute-paths' to emcc to hide this warning.
llvm[1]: Compiling Host.cpp for Debug+Asserts build
WARNING  root: -I or -L of an absolute path "-I/home/jack/Desktop/Programming/src/build_emscripten/include" encountered. If this is to a local system header/library, it may cause problems (local system files make sense for compiling natively on your system, but not necessarily to JavaScript). Pass '-Wno-warn-absolute-paths' to emcc to hide this warning.
llvm[1]: Compiling IncludeFile.cpp for Debug+Asserts build
WARNING  root: -I or -L of an absolute path "-I/home/jack/Desktop/Programming/src/build_emscripten/include" encountered. If this is to a local system header/library, it may cause problems (local system files make sense for compiling natively on your system, but not necessarily to JavaScript). Pass '-Wno-warn-absolute-paths' to emcc to hide this warning.
llvm[1]: Compiling IntEqClasses.cpp for Debug+Asserts build
WARNING  root: -I or -L of an absolute path "-I/home/jack/Desktop/Programming/src/build_emscripten/include" encountered. If this is to a local system header/library, it may cause problems (local system files make sense for compiling natively on your system, but not necessarily to JavaScript). Pass '-Wno-warn-absolute-paths' to emcc to hide this warning.
llvm[1]: Compiling IntervalMap.cpp for Debug+Asserts build
WARNING  root: -I or -L of an absolute path "-I/home/jack/Desktop/Programming/src/build_emscripten/include" encountered. If this is to a local system header/library, it may cause problems (local system files make sense for compiling natively on your system, but not necessarily to JavaScript). Pass '-Wno-warn-absolute-paths' to emcc to hide this warning.
llvm[1]: Compiling IntrusiveRefCntPtr.cpp for Debug+Asserts build
WARNING  root: -I or -L of an absolute path "-I/home/jack/Desktop/Programming/src/build_emscripten/include" encountered. If this is to a local system header/library, it may cause problems (local system files make sense for compiling natively on your system, but not necessarily to JavaScript). Pass '-Wno-warn-absolute-paths' to emcc to hide this warning.
llvm[1]: Compiling IsInf.cpp for Debug+Asserts build
WARNING  root: -I or -L of an absolute path "-I/home/jack/Desktop/Programming/src/build_emscripten/include" encountered. If this is to a local system header/library, it may cause problems (local system files make sense for compiling natively on your system, but not necessarily to JavaScript). Pass '-Wno-warn-absolute-paths' to emcc to hide this warning.
llvm[1]: Compiling IsNAN.cpp for Debug+Asserts build
WARNING  root: -I or -L of an absolute path "-I/home/jack/Desktop/Programming/src/build_emscripten/include" encountered. If this is to a local system header/library, it may cause problems (local system files make sense for compiling natively on your system, but not necessarily to JavaScript). Pass '-Wno-warn-absolute-paths' to emcc to hide this warning.
llvm[1]: Compiling LEB128.cpp for Debug+Asserts build
WARNING  root: -I or -L of an absolute path "-I/home/jack/Desktop/Programming/src/build_emscripten/include" encountered. If this is to a local system header/library, it may cause problems (local system files make sense for compiling natively on your system, but not necessarily to JavaScript). Pass '-Wno-warn-absolute-paths' to emcc to hide this warning.
llvm[1]: Compiling LineIterator.cpp for Debug+Asserts build
WARNING  root: -I or -L of an absolute path "-I/home/jack/Desktop/Programming/src/build_emscripten/include" encountered. If this is to a local system header/library, it may cause problems (local system files make sense for compiling natively on your system, but not necessarily to JavaScript). Pass '-Wno-warn-absolute-paths' to emcc to hide this warning.
llvm[1]: Compiling Locale.cpp for Debug+Asserts build
WARNING  root: -I or -L of an absolute path "-I/home/jack/Desktop/Programming/src/build_emscripten/include" encountered. If this is to a local system header/library, it may cause problems (local system files make sense for compiling natively on your system, but not necessarily to JavaScript). Pass '-Wno-warn-absolute-paths' to emcc to hide this warning.
llvm[1]: Compiling LockFileManager.cpp for Debug+Asserts build
WARNING  root: -I or -L of an absolute path "-I/home/jack/Desktop/Programming/src/build_emscripten/include" encountered. If this is to a local system header/library, it may cause problems (local system files make sense for compiling natively on your system, but not necessarily to JavaScript). Pass '-Wno-warn-absolute-paths' to emcc to hide this warning.
llvm[1]: Compiling MD5.cpp for Debug+Asserts build
WARNING  root: -I or -L of an absolute path "-I/home/jack/Desktop/Programming/src/build_emscripten/include" encountered. If this is to a local system header/library, it may cause problems (local system files make sense for compiling natively on your system, but not necessarily to JavaScript). Pass '-Wno-warn-absolute-paths' to emcc to hide this warning.
llvm[1]: Compiling ManagedStatic.cpp for Debug+Asserts build
WARNING  root: -I or -L of an absolute path "-I/home/jack/Desktop/Programming/src/build_emscripten/include" encountered. If this is to a local system header/library, it may cause problems (local system files make sense for compiling natively on your system, but not necessarily to JavaScript). Pass '-Wno-warn-absolute-paths' to emcc to hide this warning.
llvm[1]: Compiling Memory.cpp for Debug+Asserts build
WARNING  root: -I or -L of an absolute path "-I/home/jack/Desktop/Programming/src/build_emscripten/include" encountered. If this is to a local system header/library, it may cause problems (local system files make sense for compiling natively on your system, but not necessarily to JavaScript). Pass '-Wno-warn-absolute-paths' to emcc to hide this warning.
llvm[1]: Compiling MemoryBuffer.cpp for Debug+Asserts build
WARNING  root: -I or -L of an absolute path "-I/home/jack/Desktop/Programming/src/build_emscripten/include" encountered. If this is to a local system header/library, it may cause problems (local system files make sense for compiling natively on your system, but not necessarily to JavaScript). Pass '-Wno-warn-absolute-paths' to emcc to hide this warning.
llvm[1]: Compiling MemoryObject.cpp for Debug+Asserts build
WARNING  root: -I or -L of an absolute path "-I/home/jack/Desktop/Programming/src/build_emscripten/include" encountered. If this is to a local system header/library, it may cause problems (local system files make sense for compiling natively on your system, but not necessarily to JavaScript). Pass '-Wno-warn-absolute-paths' to emcc to hide this warning.
llvm[1]: Compiling Mutex.cpp for Debug+Asserts build
WARNING  root: -I or -L of an absolute path "-I/home/jack/Desktop/Programming/src/build_emscripten/include" encountered. If this is to a local system header/library, it may cause problems (local system files make sense for compiling natively on your system, but not necessarily to JavaScript). Pass '-Wno-warn-absolute-paths' to emcc to hide this warning.
llvm[1]: Compiling Path.cpp for Debug+Asserts build
WARNING  root: -I or -L of an absolute path "-I/home/jack/Desktop/Programming/src/build_emscripten/include" encountered. If this is to a local system header/library, it may cause problems (local system files make sense for compiling natively on your system, but not necessarily to JavaScript). Pass '-Wno-warn-absolute-paths' to emcc to hide this warning.
llvm[1]: Compiling PluginLoader.cpp for Debug+Asserts build
WARNING  root: -I or -L of an absolute path "-I/home/jack/Desktop/Programming/src/build_emscripten/include" encountered. If this is to a local system header/library, it may cause problems (local system files make sense for compiling natively on your system, but not necessarily to JavaScript). Pass '-Wno-warn-absolute-paths' to emcc to hide this warning.
llvm[1]: Compiling PrettyStackTrace.cpp for Debug+Asserts build
WARNING  root: -I or -L of an absolute path "-I/home/jack/Desktop/Programming/src/build_emscripten/include" encountered. If this is to a local system header/library, it may cause problems (local system files make sense for compiling natively on your system, but not necessarily to JavaScript). Pass '-Wno-warn-absolute-paths' to emcc to hide this warning.
llvm[1]: Compiling Process.cpp for Debug+Asserts build
WARNING  root: -I or -L of an absolute path "-I/home/jack/Desktop/Programming/src/build_emscripten/include" encountered. If this is to a local system header/library, it may cause problems (local system files make sense for compiling natively on your system, but not necessarily to JavaScript). Pass '-Wno-warn-absolute-paths' to emcc to hide this warning.
llvm[1]: Compiling Program.cpp for Debug+Asserts build
WARNING  root: -I or -L of an absolute path "-I/home/jack/Desktop/Programming/src/build_emscripten/include" encountered. If this is to a local system header/library, it may cause problems (local system files make sense for compiling natively on your system, but not necessarily to JavaScript). Pass '-Wno-warn-absolute-paths' to emcc to hide this warning.
llvm[1]: Compiling RWMutex.cpp for Debug+Asserts build
WARNING  root: -I or -L of an absolute path "-I/home/jack/Desktop/Programming/src/build_emscripten/include" encountered. If this is to a local system header/library, it may cause problems (local system files make sense for compiling natively on your system, but not necessarily to JavaScript). Pass '-Wno-warn-absolute-paths' to emcc to hide this warning.
llvm[1]: Compiling RandomNumberGenerator.cpp for Debug+Asserts build
WARNING  root: -I or -L of an absolute path "-I/home/jack/Desktop/Programming/src/build_emscripten/include" encountered. If this is to a local system header/library, it may cause problems (local system files make sense for compiling natively on your system, but not necessarily to JavaScript). Pass '-Wno-warn-absolute-paths' to emcc to hide this warning.
llvm[1]: Compiling Regex.cpp for Debug+Asserts build
WARNING  root: -I or -L of an absolute path "-I/home/jack/Desktop/Programming/src/build_emscripten/include" encountered. If this is to a local system header/library, it may cause problems (local system files make sense for compiling natively on your system, but not necessarily to JavaScript). Pass '-Wno-warn-absolute-paths' to emcc to hide this warning.
llvm[1]: Compiling ScaledNumber.cpp for Debug+Asserts build
WARNING  root: -I or -L of an absolute path "-I/home/jack/Desktop/Programming/src/build_emscripten/include" encountered. If this is to a local system header/library, it may cause problems (local system files make sense for compiling natively on your system, but not necessarily to JavaScript). Pass '-Wno-warn-absolute-paths' to emcc to hide this warning.
llvm[1]: Compiling SearchForAddressOfSpecialSymbol.cpp for Debug+Asserts build
WARNING  root: -I or -L of an absolute path "-I/home/jack/Desktop/Programming/src/build_emscripten/include" encountered. If this is to a local system header/library, it may cause problems (local system files make sense for compiling natively on your system, but not necessarily to JavaScript). Pass '-Wno-warn-absolute-paths' to emcc to hide this warning.
llvm[1]: Compiling Signals.cpp for Debug+Asserts build
WARNING  root: -I or -L of an absolute path "-I/home/jack/Desktop/Programming/src/build_emscripten/include" encountered. If this is to a local system header/library, it may cause problems (local system files make sense for compiling natively on your system, but not necessarily to JavaScript). Pass '-Wno-warn-absolute-paths' to emcc to hide this warning.
In file included from /home/jack/Desktop/Programming/src/lib/Support/Signals.cpp:30:
/home/jack/Desktop/Programming/src/lib/Support/Unix/Signals.inc:272:15: error:
      use of undeclared identifier 'backtrace'
  int depth = backtrace(StackTrace,
              ^
1 error generated.
ERROR    root: compiler frontend failed to generate LLVM bitcode, halting
make[1]: *** [/home/jack/Desktop/Programming/src/build_emscripten/lib/Support/Debug+Asserts/Signals.o] Error 1
make[1]: Leaving directory `
/home/jack/Desktop/Programming/src/build_emscripten/lib/Support'
make: *** [all] Error 1

Once again any help with this is appreciated,

Thanks!
Reply all
Reply to author
Forward
0 new messages