Thought I had it easy since I'm on ubuntu...(with llvm package
installed)...

gcc -Ivm/external_libs/libtommath -Ivm/external_libs/libgdtoa -Ivm/
external_libs/onig -Ivm/external_libs/libffi/include -Ivm/
external_libs/libltdl -Ivm/external_libs/libev -Ivm/test/cxxtest -Ivm -
I. -I/usr/local/include -Ivm/external_libs/udis86 -pipe -Wall -Wno-
deprecated -DENABLE_LLVM -DHAS_EXECINFO -ggdb3 -O2 -Werror -
DRBX_PROFILER -c -o vm/primitives.o vm/primitives.cpp 2>&1
In file included from /usr/include/llvm/Support/
PointerLikeTypeTraits.h:18,
                 from /usr/include/llvm/ADT/PointerIntPair.h:17,
                 from /usr/include/llvm/Use.h:30,
                 from /usr/include/llvm/Value.h:18,
                 from /usr/include/llvm/User.h:22,
                 from /usr/include/llvm/Constant.h:17,
                 from /usr/include/llvm/GlobalValue.h:21,
                 from /usr/include/llvm/Function.h:21,
                 from /usr/include/llvm/Module.h:18,
                 from vm/llvm/jit.hpp:7,
                 from vm/primitives.cpp:14:
/usr/include/llvm/Support/DataTypes.h:47:3: error: #error "Must
#define __STDC_LIMIT_MACROS before #including Support/DataTypes.h"
/usr/include/llvm/Support/DataTypes.h:51:3: error: #error "Must
#define __STDC_CONSTANT_MACROS before " "#including Support/
DataTypes.h"
In file included from /usr/include/llvm/Attributes.h:18,
                 from /usr/include/llvm/Argument.h:18,
                 from /usr/include/llvm/Function.h:23,
                 from /usr/include/llvm/Module.h:18,
                 from vm/llvm/jit.hpp:7,
                 from vm/primitives.cpp:14:
/usr/include/llvm/Support/MathExtras.h: In function ‘bool llvm::isInt
(int64_t)’:
/usr/include/llvm/Support/MathExtras.h:57: error: there are no
arguments to ‘INT64_C’ that depend on a template parameter, so a
declaration of ‘INT64_C’ must be available
/usr/include/llvm/Support/MathExtras.h:57: note: (if you use ‘-
fpermissive’, G++ will accept your code, but allowing the use of an
undeclared name is deprecated)
/usr/include/llvm/Support/MathExtras.h:57: error: there are no
arguments to ‘INT64_C’ that depend on a template parameter, so a
declaration of ‘INT64_C’ must be available
/usr/include/llvm/Support/MathExtras.h: In function ‘bool llvm::isUint
(uint64_t)’:
/usr/include/llvm/Support/MathExtras.h:62: error: there are no
arguments to ‘UINT64_C’ that depend on a template parameter, so a
declaration of ‘UINT64_C’ must be available
rake aborted!
Command failed with status (1): [gcc -Ivm/external_libs/libtommath -
Ivm/ext...]

Thoughts there?
-r

-- 
--- !ruby/object:MailingList
name: rubinius-dev
view: http://groups.google.com/group/rubinius-dev?hl=en
post: [email protected]
unsubscribe: [email protected]

Reply via email to