Hi Kevin,<br><br><div class="gmail_quote">On Tue, May 29, 2012 at 10:22 PM, Kevin Burns <span dir="ltr"><<a href="mailto:kevinpb@vt.edu" target="_blank">kevinpb@vt.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Hello,<br>
<br>
I am currently trying to install vmkit from source. I am running archlinux i686 with the 3.1.9-2 kernel. This output is from the directions given on the llvm site. Below is the configureation output along with the make output.<br>

<br>
<br>
I run ./configure with the following parameters<br>
<br>
./configure --with-llvmsrc=../llvm --with-gnu-classpath-glibj=../classpath-0.97.2/lib/glibj.zip --with-gnu-classpath-libs=../classpath-0.97.2/lib/ --with-mmtk-plan=<a href="http://org.mmtk.plan.marksweep.MS" target="_blank">org.mmtk.plan.marksweep.MS</a></blockquote>
<div><br></div><div>You also need to tell vmkit where to find the binaries of llvm. This is done by passing --with-llvmobj=wherever you compiled llvm and clang. </div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
<br>
checking build system type... i686-pc-linux-gnu<br>
checking host system type... i686-pc-linux-gnu<br>
checking target system type... i686-pc-linux-gnu<br>
checking type of operating system we're going to host on... Linux<br>
configure: Validing GNU Classpath installation...<br>
checking for ../classpath-0.97.2/lib/... yes<br>
checking for ../classpath-0.97.2/lib//libjavaio.so... yes<br>
checking for ../classpath-0.97.2/lib//libjavalang.so... yes<br>
checking for ../classpath-0.97.2/lib//libjavalangreflect.so... yes<br>
checking for ../classpath-0.97.2/lib//libjavanet.so... yes<br>
checking for ../classpath-0.97.2/lib//libjavanio.so... yes<br>
checking for ../classpath-0.97.2/lib//libjavautil.so... yes<br>
checking for ../classpath-0.97.2/lib/glibj.zip... yes<br>
checking for gcc... gcc<br>
checking whether the C compiler works... yes<br>
checking for C compiler default output file name... a.out<br>
checking for suffix of executables...<br>
checking whether we are cross compiling... no<br>
checking for suffix of object files... o<br>
checking whether we are using the GNU C compiler... yes<br>
checking whether gcc accepts -g... yes<br>
checking for gcc option to accept ISO C89... none needed<br>
checking how to run the C preprocessor... gcc -E<br>
checking whether we are using the GNU C compiler... (cached) yes<br>
checking whether gcc accepts -g... (cached) yes<br>
checking for gcc option to accept ISO C89... (cached) none needed<br>
checking for g++... g++<br>
checking whether we are using the GNU C++ compiler... yes<br>
checking whether g++ accepts -g... yes<br>
checking for BSD-compatible nm... /usr/bin/nm -B<br>
checking whether ln -s works... yes<br>
checking for cmp... /usr/bin/cmp<br>
checking for cp... /bin/cp<br>
checking for date... /bin/date<br>
checking for find... /usr/bin/find<br>
checking for grep... /usr/bin/grep<br>
checking for mkdir... /bin/mkdir<br>
checking for mv... /bin/mv<br>
checking for ranlib... ranlib<br>
checking for rm... /bin/rm<br>
checking for sed... /bin/sed<br>
checking for tar... /bin/tar<br>
checking for pwd... /bin/pwd<br>
checking for cat... /bin/cat<br>
checking for llvm-as... /usr/local/bin/llvm-as<br>
checking for llc... /usr/local/bin/llc<br>
checking for ant... /usr/bin/ant<br>
checking for javac... /usr/bin/javac<br>
checking for zip... /usr/bin/zip<br>
checking for a BSD-compatible install... /bin/install -c<br>
checking for inflate in -lz... yes<br>
checking for grep that handles long lines and -e... (cached) /usr/bin/grep<br>
checking for egrep... /usr/bin/grep -E<br>
checking for ANSI C header files... yes<br>
checking for sys/types.h... yes<br>
checking for sys/stat.h... yes<br>
checking for stdlib.h... yes<br>
checking for string.h... yes<br>
checking for memory.h... yes<br>
checking for strings.h... yes<br>
checking for inttypes.h... yes<br>
checking for stdint.h... yes<br>
checking for unistd.h... yes<br>
checking zlib.h usability... yes<br>
checking zlib.h presence... yes<br>
checking for zlib.h... yes<br>
checking for pid_t... yes<br>
checking for size_t... yes<br>
checking whether struct tm is in sys/time.h or time.h... time.h<br>
checking for int64_t... yes<br>
checking for uint64_t... yes<br>
checking for setjmp... yes<br>
checking for longjmp... yes<br>
configure: creating ./config.status<br>
config.status: creating Makefile.common<br>
config.status: creating Makefile.config<br>
config.status: creating lib/j3/ClassLib/Classpath.h<br>
config.status: creating tools/llcj/LinkPaths.h<br>
config.status: creating mmtk/java/src/org/j3/config/Selected.java<br>
config.status: creating mmtk/java/build.xml<br>
config.status: creating include/vmkit/config.h<br>
config.status: include/vmkit/config.h is unchanged<br>
config.status: executing setup commands<br>
config.status: executing Makefile commands<br>
<br>
and then I run make<br>
<br>
make ENABLE_OPTIMIZED=1 VERBOSE=1                                                                                     vmkit<br>
Makefile.common:20: /Makefile.common: No such file or directory<br>
make: *** No rule to make target `/Makefile.common'.  Stop.<br>
<br>
<br>
<br>
I believe this is due to llvm failing to install, I will paste the configure and make outputs below as well.<br>
<br>
<br>
checking for clang... clang<br>
checking for C compiler default output file name... a.out<br>
checking whether the C compiler works... yes<br>
checking whether we are cross compiling... no<br>
checking for suffix of executables...<br>
checking for suffix of object files... o<br>
checking whether we are using the GNU C compiler... yes<br>
checking whether clang accepts -g... yes<br>
checking for clang option to accept ISO C89... none needed<br>
checking for clang++... clang++<br>
checking whether we are using the GNU C++ compiler... yes<br>
checking whether clang++ accepts -g... yes<br>
checking how to run the C preprocessor... clang -E<br>
checking build system type... i686-pc-linux-gnu<br>
checking host system type... i686-pc-linux-gnu<br>
checking target system type... i686-pc-linux-gnu<br>
checking type of operating system we're going to host on... Linux<br>
checking type of operating system we're going to target... Linux<br>
checking target architecture... x86<br>
checking for grep that handles long lines and -e... /usr/bin/grep<br>
checking for egrep... /usr/bin/grep -E<br>
checking for ANSI C header files... yes<br>
checking for sys/types.h... yes<br>
checking for sys/stat.h... yes<br>
checking for stdlib.h... yes<br>
checking for string.h... yes<br>
checking for memory.h... yes<br>
checking for strings.h... yes<br>
checking for inttypes.h... yes<br>
checking for stdint.h... yes<br>
checking for unistd.h... yes<br>
checking whether byte ordering is bigendian... no<br>
checking optimization flags... -O3<br>
checking for BSD-compatible nm... /usr/bin/nm -B<br>
checking for GNU make... make<br>
checking whether ln -s works... yes<br>
checking for cmp... /usr/bin/cmp<br>
checking for cp... /bin/cp<br>
checking for date... /bin/date<br>
checking for find... /usr/bin/find<br>
checking for grep... (cached) /usr/bin/grep<br>
checking for mkdir... /bin/mkdir<br>
checking for mv... /bin/mv<br>
checking for ranlib... ranlib<br>
checking for ar... ar<br>
checking for rm... /bin/rm<br>
checking for sed... /bin/sed<br>
checking for tar... /bin/tar<br>
checking for pwd... /bin/pwd<br>
checking for Graphviz... echo Graphviz<br>
checking for dot... echo dot<br>
checking for fdp... echo fdp<br>
checking for neato... echo neato<br>
checking for twopi... echo twopi<br>
checking for circo... echo circo<br>
checking for gv... no<br>
checking for gsview32... no<br>
checking for dotty... echo dotty<br>
checking for xdot.py... echo xdot.py<br>
checking for a BSD-compatible install... /bin/install -c<br>
checking for bzip2... /bin/bzip2<br>
checking for cat... /bin/cat<br>
checking for doxygen... no<br>
checking for groff... /usr/bin/groff<br>
checking for gzip... /bin/gzip<br>
checking for pdfroff... /usr/bin/pdfroff<br>
checking for runtest... no<br>
checking for the tclsh program in tclinclude directory... none<br>
checking for tclsh8.4... no<br>
checking for tclsh8.4.8... no<br>
checking for tclsh8.4.7... no<br>
checking for tclsh8.4.6... no<br>
checking for tclsh8.4.5... no<br>
checking for tclsh8.4.4... no<br>
checking for tclsh8.4.3... no<br>
checking for tclsh8.4.2... no<br>
checking for tclsh8.4.1... no<br>
checking for tclsh8.4.0... no<br>
checking for tclsh8.3... no<br>
checking for tclsh8.3.5... no<br>
checking for tclsh8.3.4... no<br>
checking for tclsh8.3.3... no<br>
checking for tclsh8.3.2... no<br>
checking for tclsh8.3.1... no<br>
checking for tclsh8.3.0... no<br>
checking for tclsh... no<br>
checking for zip... /usr/bin/zip<br>
checking for ocamlc... no<br>
checking for ocamlopt... no<br>
checking for ocamldep... no<br>
checking for ocamldoc... no<br>
checking for gas... no<br>
checking for as... /usr/bin/as<br>
checking for linker version... 2.22.0.20111227<br>
checking for compiler -Wl,-R<path> option... yes<br>
checking for compiler -Wl,-export-dynamic option... yes<br>
checking for compiler -Wl,--version-script option... yes<br>
checking for an ANSI C-conforming const... yes<br>
checking for dirent.h that defines DIR... yes<br>
checking for library containing opendir... none required<br>
checking dlfcn.h usability... yes<br>
checking dlfcn.h presence... yes<br>
checking for dlfcn.h... yes<br>
checking dynamic linker characteristics... GNU/Linux ld.so<br>
checking which extension is used for loadable modules... .so<br>
checking which variable specifies run-time library path... LD_LIBRARY_PATH<br>
checking for the default library search path... /lib /usr/lib /usr/lib/libfakeroot /usr/lib/llvm /usr/lib/perl5/core_perl/CORE<br>
checking for objdir... .libs<br>
checking command to parse /usr/bin/nm -B output from  object... ok<br>
checking whether libtool supports -dlopen/-dlpreopen... yes<br>
checking for shl_load... no<br>
checking for shl_load in -ldld... no<br>
checking for dlopen in -ldl... yes<br>
checking for dlerror... yes<br>
checking for _ prefix in compiled symbols... no<br>
checking whether deplibs are loaded by dlopen... yes<br>
checking argz.h usability... yes<br>
checking argz.h presence... yes<br>
checking for argz.h... yes<br>
checking for error_t... yes<br>
checking for argz_append... yes<br>
checking for argz_create_sep... yes<br>
checking for argz_insert... yes<br>
checking for argz_next... yes<br>
checking for argz_stringify... yes<br>
checking assert.h usability... yes<br>
checking assert.h presence... yes<br>
checking for assert.h... yes<br>
checking ctype.h usability... yes<br>
checking ctype.h presence... yes<br>
checking for ctype.h... yes<br>
checking errno.h usability... yes<br>
checking errno.h presence... yes<br>
checking for errno.h... yes<br>
checking malloc.h usability... yes<br>
checking malloc.h presence... yes<br>
checking for malloc.h... yes<br>
checking for memory.h... (cached) yes<br>
checking for stdlib.h... (cached) yes<br>
checking stdio.h usability... yes<br>
checking stdio.h presence... yes<br>
checking for stdio.h... yes<br>
checking for unistd.h... (cached) yes<br>
checking dl.h usability... no<br>
checking dl.h presence... no<br>
checking for dl.h... no<br>
checking sys/dl.h usability... no<br>
checking sys/dl.h presence... no<br>
checking for sys/dl.h... no<br>
checking dld.h usability... no<br>
checking dld.h presence... no<br>
checking for dld.h... no<br>
checking mach-o/dyld.h usability... no<br>
checking mach-o/dyld.h presence... no<br>
checking for mach-o/dyld.h... no<br>
checking for string.h... (cached) yes<br>
checking for strchr... yes<br>
checking for strrchr... yes<br>
checking for memcpy... yes<br>
checking for memmove... yes<br>
checking for strcmp... yes<br>
checking for closedir... yes<br>
checking for opendir... yes<br>
checking for readdir... yes<br>
checking tool compatibility... ok<br>
checking optional compiler flags... -Wno-variadic-macros -Wno-missing-field-initializers<br>
checking for sin in -lm... yes<br>
checking for library containing dlopen... -ldl<br>
checking for library containing mallinfo... none required<br>
checking for pthread_mutex_init in -lpthread... yes<br>
checking for library containing pthread_mutex_lock... none required<br>
checking for library containing pthread_rwlock_init... none required<br>
checking for library containing pthread_getspecific... none required<br>
checking for dirent.h that defines DIR... (cached) yes<br>
checking for library containing opendir... (cached) none required<br>
checking for MAP_ANONYMOUS vs. MAP_ANON... yes<br>
checking whether stat file-mode macros are broken... no<br>
checking for sys/wait.h that is POSIX.1 compatible... yes<br>
checking whether time.h and sys/time.h may both be included... yes<br>
checking for dlfcn.h... (cached) yes<br>
checking execinfo.h usability... yes<br>
checking execinfo.h presence... yes<br>
checking for execinfo.h... yes<br>
checking fcntl.h usability... yes<br>
checking fcntl.h presence... yes<br>
checking for fcntl.h... yes<br>
checking for inttypes.h... (cached) yes<br>
checking limits.h usability... yes<br>
checking limits.h presence... yes<br>
checking for limits.h... yes<br>
checking link.h usability... yes<br>
checking link.h presence... yes<br>
checking for link.h... yes<br>
checking for malloc.h... (cached) yes<br>
checking setjmp.h usability... yes<br>
checking setjmp.h presence... yes<br>
checking for setjmp.h... yes<br>
checking signal.h usability... yes<br>
checking signal.h presence... yes<br>
checking for signal.h... yes<br>
checking for stdint.h... (cached) yes<br>
checking termios.h usability... yes<br>
checking termios.h presence... yes<br>
checking for termios.h... yes<br>
checking for unistd.h... (cached) yes<br>
checking utime.h usability... yes<br>
checking utime.h presence... yes<br>
checking for utime.h... yes<br>
checking windows.h usability... no<br>
checking windows.h presence... no<br>
checking for windows.h... no<br>
checking sys/mman.h usability... yes<br>
checking sys/mman.h presence... yes<br>
checking for sys/mman.h... yes<br>
checking sys/param.h usability... yes<br>
checking sys/param.h presence... yes<br>
checking for sys/param.h... yes<br>
checking sys/resource.h usability... yes<br>
checking sys/resource.h presence... yes<br>
checking for sys/resource.h... yes<br>
checking sys/time.h usability... yes<br>
checking sys/time.h presence... yes<br>
checking for sys/time.h... yes<br>
checking sys/uio.h usability... yes<br>
checking sys/uio.h presence... yes<br>
checking for sys/uio.h... yes<br>
checking for sys/types.h... (cached) yes<br>
checking sys/ioctl.h usability... yes<br>
checking sys/ioctl.h presence... yes<br>
checking for sys/ioctl.h... yes<br>
checking malloc/malloc.h usability... no<br>
checking malloc/malloc.h presence... no<br>
checking for malloc/malloc.h... no<br>
checking mach/mach.h usability... no<br>
checking mach/mach.h presence... no<br>
checking for mach/mach.h... no<br>
checking valgrind/valgrind.h usability... no<br>
checking valgrind/valgrind.h presence... no<br>
checking for valgrind/valgrind.h... no<br>
checking fenv.h usability... yes<br>
checking fenv.h presence... yes<br>
checking for fenv.h... yes<br>
checking pthread.h usability... yes<br>
checking pthread.h presence... yes<br>
checking for pthread.h... yes<br>
checking CrashReporterClient.h usability... no<br>
checking CrashReporterClient.h presence... no<br>
checking for CrashReporterClient.h... no<br>
checking __crashreporter_info__... no<br>
checking for HUGE_VAL sanity... yes<br>
checking for pid_t... yes<br>
checking for size_t... yes<br>
checking whether struct tm is in sys/time.h or time.h... time.h<br>
checking for int64_t... yes<br>
checking for uint64_t... yes<br>
checking for backtrace... yes<br>
checking for ceilf... yes<br>
checking for floorf... yes<br>
checking for roundf... yes<br>
checking for rintf... yes<br>
checking for nearbyintf... yes<br>
checking for getcwd... yes<br>
checking for powf... yes<br>
checking for fmodf... yes<br>
checking for strtof... yes<br>
checking for round... yes<br>
checking for getpagesize... yes<br>
checking for getrusage... yes<br>
checking for getrlimit... yes<br>
checking for setrlimit... yes<br>
checking for gettimeofday... yes<br>
checking for isatty... yes<br>
checking for mkdtemp... yes<br>
checking for mkstemp... yes<br>
checking for mktemp... yes<br>
checking for posix_spawn... yes<br>
checking for pread... yes<br>
checking for realpath... yes<br>
checking for sbrk... yes<br>
 72 checking for ANSI C header files... yes<br>
checking for mktemp... yes<br>
checking for posix_spawn... yes<br>
checking for realpath... yes<br>
checking for sbrk... yes<br>
checking for setrlimit... (cached) yes<br>
checking for strdup... yes<br>
checking for strerror... yes<br>
checking for strerror_r... yes<br>
checking for setenv... yes<br>
checking for strtoll... yes<br>
checking for strtoq... yes<br>
checking for sysconf... yes<br>
checking for malloc_zone_statistics... no<br>
checking for setjmp... yes<br>
checking for longjmp... yes<br>
checking for sigsetjmp... no<br>
checking for siglongjmp... yes<br>
checking for writev... yes<br>
checking if printf has the %a format character... yes<br>
checking for srand48/lrand48/drand48 in <stdlib.h>... yes<br>
checking whether strerror_s is declared... no<br>
checking for isnan in <math.h>... yes<br>
checking for isnan in <cmath>... yes<br>
checking for std::isnan in <cmath>... yes<br>
checking for isinf in <math.h>... yes<br>
checking for isinf in <cmath>... yes<br>
checking for std::isinf in <cmath>... yes<br>
checking for finite in <ieeefp.h>... no<br>
checking for stdlib.h... (cached) yes<br>
checking for unistd.h... (cached) yes<br>
checking for getpagesize... (cached) yes<br>
checking for working mmap... yes<br>
checking for mmap of files... yes<br>
checking if /dev/zero is needed for mmap... no<br>
checking for GCC atomic builtins... yes<br>
checking for __dso_handle... yes<br>
checking for compiler -fvisibility-inlines-hidden option... yes<br>
configure: creating ./config.status<br>
config.status: creating Makefile.common<br>
config.status: creating Makefile.llvm.config<br>
config.status: executing setup commands<br>
config.status: executing Makefile commands<br>
config.status: executing lib/Makefile commands<br>
config.status: executing lib/sample/Makefile commands<br>
config.status: executing tools/Makefile commands<br>
config.status: executing tools/sample/Makefile commands<br>
<br>
and make outputs<br>
<br>
 make ENABLE_OPTIMIZED=1 VERBOSE=1                                                                                      llvm<br>
llvm[0]: Constructing LLVMBuild project information.<br>
/home/pacifist/research_documents/LLVM_Play/using_directions/llvm/utils/llvm-build/llvm-build \<br>
  --native-target "x86" \<br>
  --enable-targets "X86 Sparc PowerPC ARM Mips CellSPU XCore MSP430 CppBackend MBlaze NVPTX Hexagon" \<br>
  --enable-optional-components "" \<br>
  --write-library-table /home/pacifist/research_documents/LLVM_Play/using_directions/llvm/tools/llvm-config/LibraryDependencies.inc \<br>
  --write-make-fragment /home/pacifist/research_documents/LLVM_Play/using_directions/llvm/Makefile.llvmbuild<br>
Traceback (most recent call last):<br>
  File "/home/pacifist/research_documents/LLVM_Play/using_directions/llvm/utils/llvm-build/llvm-build", line 3, in <module><br>
    import llvmbuild<br>
  File "/home/pacifist/research_documents/LLVM_Play/using_directions/llvm/utils/llvm-build/llvmbuild/__init__.py", line 1, in <module><br>
    from main import main<br>
ImportError: No module named main<br>
for dir in lib/Support lib/TableGen utils lib/VMCore lib tools/llvm-config tools runtime docs unittests; do \<br>
  (make -C $dir all ) || exit 1; \<br>
done<br>
make[1]: Entering directory `/home/pacifist/research_documents/LLVM_Play/using_directions/llvm/lib/Support'<br>
llvm[1]: Constructing LLVMBuild project information.<br>
/home/pacifist/research_documents/LLVM_Play/using_directions/llvm/utils/llvm-build/llvm-build \<br>
  --native-target "x86" \<br>
  --enable-targets "X86 Sparc PowerPC ARM Mips CellSPU XCore MSP430 CppBackend MBlaze NVPTX Hexagon" \<br>
  --enable-optional-components "" \<br>
  --write-library-table /home/pacifist/research_documents/LLVM_Play/using_directions/llvm/tools/llvm-config/LibraryDependencies.inc \<br>
  --write-make-fragment /home/pacifist/research_documents/LLVM_Play/using_directions/llvm/Makefile.llvmbuild<br>
Traceback (most recent call last):<br>
  File "/home/pacifist/research_documents/LLVM_Play/using_directions/llvm/utils/llvm-build/llvm-build", line 3, in <module><br>
    import llvmbuild<br>
  File "/home/pacifist/research_documents/LLVM_Play/using_directions/llvm/utils/llvm-build/llvmbuild/__init__.py", line 1, in <module><br>
    from main import main<br>
ImportError: No module named main<br>
/home/pacifist/research_documents/LLVM_Play/using_directions/llvm/autoconf/mkinstalldirs /home/pacifist/research_documents/LLVM_Play/using_directions/llvm/lib/Support/Release+Asserts > /dev/null<br>
/bin/date > /home/pacifist/research_documents/LLVM_Play/using_directions/llvm/lib/Support/Release+Asserts/.dir<br>
llvm[1]: Compiling APFloat.cpp for Release+Asserts build<br>
if  clang++ -I/home/pacifist/research_documents/LLVM_Play/using_directions/llvm/include -I/home/pacifist/research_documents/LLVM_Play/using_directions/llvm/lib/Support  -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3 -fomit-frame-pointer -fvisibility-inlines-hidden -fno-exceptions -fPIC -Woverloaded-virtual -Wcast-qual    -Wall -W -Wno-unused-parameter -Wwrite-strings -c -MMD -MP -MF "/home/pacifist/research_documents/LLVM_Play/using_directions/llvm/lib/Support/Release+Asserts/APFloat.d.tmp" -MT "/home/pacifist/research_documents/LLVM_Play/using_directions/llvm/lib/Support/Release+Asserts/APFloat.o" -MT "/home/pacifist/research_documents/LLVM_Play/using_directions/llvm/lib/Support/Release+Asserts/APFloat.d" APFloat.cpp -o /home/pacifist/research_documents/LLVM_Play/using_directions/llvm/lib/Support/Release+Asserts/APFloat.o ; \<br>

        then /bin/mv -f "/home/pacifist/research_documents/LLVM_Play/using_directions/llvm/lib/Support/Release+Asserts/APFloat.d.tmp" "/home/pacifist/research_documents/LLVM_Play/using_directions/llvm/lib/Support/Release+Asserts/APFloat.d"; else /bin/rm "/home/pacifist/research_documents/LLVM_Play/using_directions/llvm/lib/Support/Release+Asserts/APFloat.d.tmp"; exit 1; fi<br>

In file included from APFloat.cpp:15:<br>
In file included from /home/pacifist/research_documents/LLVM_Play/using_directions/llvm/include/llvm/ADT/APFloat.h:104:<br>
In file included from /home/pacifist/research_documents/LLVM_Play/using_directions/llvm/include/llvm/ADT/APInt.h:18:<br>
In file included from /home/pacifist/research_documents/LLVM_Play/using_directions/llvm/include/llvm/ADT/ArrayRef.h:13:<br>
In file included from /home/pacifist/research_documents/LLVM_Play/using_directions/llvm/include/llvm/ADT/SmallVector.h:24:<br>
In file included from /usr/lib/gcc/i686-pc-linux-gnu/4.7.0/../../../../include/c++/4.7.0/iterator:63:<br>
In file included from /usr/lib/gcc/i686-pc-linux-gnu/4.7.0/../../../../include/c++/4.7.0/ostream:39:<br>
In file included from /usr/lib/gcc/i686-pc-linux-gnu/4.7.0/../../../../include/c++/4.7.0/ios:42:<br>
In file included from /usr/lib/gcc/i686-pc-linux-gnu/4.7.0/../../../../include/c++/4.7.0/bits/ios_base.h:40:<br>
/usr/lib/gcc/i686-pc-linux-gnu/4.7.0/../../../../include/c++/4.7.0/ext/atomicity.h:48:45: error: use of undeclared identifier<br>
      '__ATOMIC_ACQ_REL'<br>
  { return __atomic_fetch_add(__mem, __val, __ATOMIC_ACQ_REL); }<br>
                                            ^<br>
/usr/lib/gcc/i686-pc-linux-gnu/4.7.0/../../../../include/c++/4.7.0/ext/atomicity.h:52:38: error: use of undeclared identifier<br>
      '__ATOMIC_ACQ_REL'<br>
  { __atomic_fetch_add(__mem, __val, __ATOMIC_ACQ_REL); }<br>
                                     ^<br>
2 errors generated.<br>
make[1]: *** [/home/pacifist/research_documents/LLVM_Play/using_directions/llvm/lib/Support/Release+Asserts/APFloat.o] Error 1<br>
make[1]: Leaving directory `/home/pacifist/research_documents/LLVM_Play/using_directions/llvm/lib/Support'<br>
make: *** [all] Error 1<br></blockquote><div><br></div><div>Apparently gcc 4.7 cannot compile llvm. Maybe try to use an older version.</div><div><br></div><div>Cheers,</div><div>Nicolas</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<br>
<br>
<br>
<br>
<br>
<br>
<br>
any help would be greatly appretiated.<br>
<br>
Thank you for your time,<br>
-Kevin Burns<br>
<br>
<br>
<br>
<br>_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
<br></blockquote></div><br>