Skip to content

Instantly share code, notes, and snippets.

@pedrofaria
Created February 13, 2012 17:46
Show Gist options
  • Save pedrofaria/1818598 to your computer and use it in GitHub Desktop.
Save pedrofaria/1818598 to your computer and use it in GitHub Desktop.
[tasks:2] pedro@pedro:clever$ make VERBOSE=yes all
g++ -pipe -ggdb3 -D_DEBUG -DCLEVER_DEBUG -I. -DCLEVER_VERSION="\"devel\"" -Wall -ansi -fno-rtti -fno-exceptions -DHAVE_FFI -lpcre -lpcrecpp -lffi -ldl -o clever build/compiler/cgvisitor.o build/compiler/clever.o build/compiler/compiler.o build/compiler/cstring.o build/compiler/pkgmanager.o build/compiler/scope.o build/compiler/typechecker.o build/interpreter/driver.o build/interpreter/main.o build/interpreter/parser.o build/interpreter/scanner.o build/types/array.o build/types/bool.o build/types/byte.o build/types/double.o build/types/int.o build/types/map.o build/types/str.o build/types/type.o build/vm/opcode.o build/vm/vm.o build/modules/std/std_pkg.o build/modules/std/math/math.o build/modules/std/io/io.o build/modules/std/file/file.o build/modules/std/file/filestream.o build/modules/std/os/os.o build/modules/std/reflection/reflection.o build/modules/std/reflection/reflectionfunction.o build/modules/std/reflection/reflectionpackage.o build/modules/std/net/net.o build/modules/std/net/tcpsocket.o build/modules/std/regex/pcre.o build/modules/std/regex/regex.o build/modules/std/ffi/ffi.o
build/modules/std/regex/pcre.o: In function `clever::packages::std::regex::Pcre::matches(std::vector<clever::Value*, std::allocator<clever::Value*> > const*, clever::Value*, clever::Value*)':
/home/pedro/src/clever/modules/std/regex/pcre.cc:96: undefined reference to `pcrecpp::RE::no_arg'
/home/pedro/src/clever/modules/std/regex/pcre.cc:96: undefined reference to `pcrecpp::RE::no_arg'
/home/pedro/src/clever/modules/std/regex/pcre.cc:96: undefined reference to `pcrecpp::RE::no_arg'
/home/pedro/src/clever/modules/std/regex/pcre.cc:96: undefined reference to `pcrecpp::RE::no_arg'
/home/pedro/src/clever/modules/std/regex/pcre.cc:96: undefined reference to `pcrecpp::RE::no_arg'
build/modules/std/regex/pcre.o:/home/pedro/src/clever/modules/std/regex/pcre.cc:96: more undefined references to `pcrecpp::RE::no_arg' follow
build/modules/std/regex/pcre.o: In function `clever::packages::std::regex::Pcre::matches(std::vector<clever::Value*, std::allocator<clever::Value*> > const*, clever::Value*, clever::Value*)':
/home/pedro/src/clever/modules/std/regex/pcre.cc:96: undefined reference to `pcrecpp::RE::PartialMatch(pcrecpp::StringPiece const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&, pcrecpp::Arg const&) const'
build/modules/std/regex/pcre.o: In function `clever::packages::std::regex::Pcre::replace(std::vector<clever::Value*, std::allocator<clever::Value*> > const*, clever::Value*, clever::Value*)':
/home/pedro/src/clever/modules/std/regex/pcre.cc:106: undefined reference to `pcrecpp::RE::Replace(pcrecpp::StringPiece const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >*) const'
build/modules/std/regex/pcre.o: In function `clever::packages::std::regex::Pcre::replaceAll(std::vector<clever::Value*, std::allocator<clever::Value*> > const*, clever::Value*, clever::Value*)':
/home/pedro/src/clever/modules/std/regex/pcre.cc:118: undefined reference to `pcrecpp::RE::GlobalReplace(pcrecpp::StringPiece const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >*) const'
build/modules/std/regex/pcre.o: In function `RE':
/usr/include/pcrecpp.h:493: undefined reference to `pcrecpp::RE::Init(char const*, pcrecpp::RE_Options const*)'
/usr/include/pcrecpp.h:494: undefined reference to `pcrecpp::RE::Init(char const*, pcrecpp::RE_Options const*)'
build/modules/std/regex/pcre.o: In function `~PcreValue':
/home/pedro/src/clever/./modules/std/regex/pcrevalue.h:41: undefined reference to `pcrecpp::RE::~RE()'
build/modules/std/ffi/ffi.o: In function `clever::packages::std::ffi::find_ffi_type(char const*)':
/home/pedro/src/clever/modules/std/ffi/ffi.cc:68: undefined reference to `ffi_type_sint32'
/home/pedro/src/clever/modules/std/ffi/ffi.cc:70: undefined reference to `ffi_type_double'
/home/pedro/src/clever/modules/std/ffi/ffi.cc:72: undefined reference to `ffi_type_sint8'
/home/pedro/src/clever/modules/std/ffi/ffi.cc:74: undefined reference to `ffi_type_pointer'
/home/pedro/src/clever/modules/std/ffi/ffi.cc:76: undefined reference to `ffi_type_sint8'
/home/pedro/src/clever/modules/std/ffi/ffi.cc:78: undefined reference to `ffi_type_void'
build/modules/std/ffi/ffi.o: In function `clv_f_call_ext_func':
/home/pedro/src/clever/modules/std/ffi/ffi.cc:105: undefined reference to `dlopen'
/home/pedro/src/clever/modules/std/ffi/ffi.cc:114: undefined reference to `dlsym'
/home/pedro/src/clever/modules/std/ffi/ffi.cc:133: undefined reference to `ffi_type_sint32'
/home/pedro/src/clever/modules/std/ffi/ffi.cc:168: undefined reference to `ffi_type_double'
/home/pedro/src/clever/modules/std/ffi/ffi.cc:182: undefined reference to `ffi_prep_cif'
/home/pedro/src/clever/modules/std/ffi/ffi.cc:191: undefined reference to `ffi_call'
/home/pedro/src/clever/modules/std/ffi/ffi.cc:197: undefined reference to `ffi_call'
/home/pedro/src/clever/modules/std/ffi/ffi.cc:203: undefined reference to `ffi_call'
/home/pedro/src/clever/modules/std/ffi/ffi.cc:210: undefined reference to `ffi_call'
/home/pedro/src/clever/modules/std/ffi/ffi.cc:221: undefined reference to `ffi_call'
build/modules/std/ffi/ffi.o:/home/pedro/src/clever/modules/std/ffi/ffi.cc:226: more undefined references to `ffi_call' follow
build/modules/std/ffi/ffi.o: In function `~FFI':
/home/pedro/src/clever/modules/std/ffi/ffi.cc:277: undefined reference to `dlclose'
collect2: ld returned 1 exit status
make: *** [clever] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment