Skip to content

Instantly share code, notes, and snippets.

@pedrofaria
Created February 13, 2012 16:06
Show Gist options
  • Save pedrofaria/1817886 to your computer and use it in GitHub Desktop.
Save pedrofaria/1817886 to your computer and use it in GitHub Desktop.
[tasks:2] pedro@pedro:clever$ make
LD clever
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