Skip to content

Instantly share code, notes, and snippets.

@dgtized
Created July 29, 2008 17:59
Show Gist options
  • Save dgtized/3134 to your computer and use it in GitHub Desktop.
Save dgtized/3134 to your computer and use it in GitHub Desktop.
$ rake
(in /home/clgc/languages/rbx-cpp/vm)
g++ -L/home/clgc/languages/rbx-cpp/vm/external_libs/llvm/Release/lib -lpthread -ldl -lm -o test/runner builtin_regexp.o builtin_string.o llvm.o builtin_list.o vmmethod.o marshal.o builtin_lookuptable.o objects.o builtin_iseq.o gc_marksweep.o builtin_bytearray.o compiled_file.o builtin_float.o builtin_symbol.o builtin_contexts.o builtin_bignum.o type_info.o virtual.o gc_root.o gc_debug.o builtin_thread.o builtin_io.o builtin_executable.o builtin_memorypointer.o builtin_selector.o builtin_compiledmethod.o builtin_object.o event.o builtin_immediates.o builtin_channel.o vm.o builtin_staticscope.o builtin_sendsite.o primitives.o environment.o builtin_hash.o builtin_exception.o message.o ar.o gc.o ffi.o builtin_task.o builtin_dir.o builtin_class.o gc_baker.o objectmemory.o builtin_tuple.o probes.o builtin_block_environment.o builtin_array.o strlcpy.o strlcat.o instructions.o test/runner.o external_libs/llvm/Release/lib/libLLVMSystem.a external_libs/libtommath/libtommath.a external_libs/onig/.libs/libonig.a external_libs/libffi/.libs/libffi.a external_libs/libltdl/.libs/libltdl.a external_libs/libev/.libs/libev.a -ldl -lrt /home/clgc/languages/rbx-cpp/vm/external_libs/llvm/Release/lib/libLLVMLinker.a /home/clgc/languages/rbx-cpp/vm/external_libs/llvm/Release/lib/libLLVMipo.a /home/clgc/languages/rbx-cpp/vm/external_libs/llvm/Release/lib/LLVMInterpreter.o /home/clgc/languages/rbx-cpp/vm/external_libs/llvm/Release/lib/libLLVMInstrumentation.a /home/clgc/languages/rbx-cpp/vm/external_libs/llvm/Release/lib/LLVMExecutionEngine.o /home/clgc/languages/rbx-cpp/vm/external_libs/llvm/Release/lib/LLVMJIT.o /home/clgc/languages/rbx-cpp/vm/external_libs/llvm/Release/lib/libLLVMDebugger.a /home/clgc/languages/rbx-cpp/vm/external_libs/llvm/Release/lib/libLLVMBitWriter.a /home/clgc/languages/rbx-cpp/vm/external_libs/llvm/Release/lib/LLVMX86.o /home/clgc/languages/rbx-cpp/vm/external_libs/llvm/Release/lib/libLLVMSelectionDAG.a /home/clgc/languages/rbx-cpp/vm/external_libs/llvm/Release/lib/libLLVMCodeGen.a /home/clgc/languages/rbx-cpp/vm/external_libs/llvm/Release/lib/libLLVMScalarOpts.a /home/clgc/languages/rbx-cpp/vm/external_libs/llvm/Release/lib/libLLVMTransformUtils.a /home/clgc/languages/rbx-cpp/vm/external_libs/llvm/Release/lib/libLLVMipa.a /home/clgc/languages/rbx-cpp/vm/external_libs/llvm/Release/lib/libLLVMAsmParser.a /home/clgc/languages/rbx-cpp/vm/external_libs/llvm/Release/lib/libLLVMArchive.a /home/clgc/languages/rbx-cpp/vm/external_libs/llvm/Release/lib/libLLVMBitReader.a /home/clgc/languages/rbx-cpp/vm/external_libs/llvm/Release/lib/libLLVMAnalysis.a /home/clgc/languages/rbx-cpp/vm/external_libs/llvm/Release/lib/libLLVMTarget.a /home/clgc/languages/rbx-cpp/vm/external_libs/llvm/Release/lib/libLLVMCore.a /home/clgc/languages/rbx-cpp/vm/external_libs/llvm/Release/lib/libLLVMSupport.a /home/clgc/languages/rbx-cpp/vm/external_libs/llvm/Release/lib/libLLVMSystem.a
test/runner.o: In function `TestDir::make_directory()':
runner.cpp:(.text._ZN7TestDir14make_directoryEv[TestDir::make_directory()]+0xb): warning: the use of `tmpnam' is dangerous, better use `mkstemp'
ffi.o: In function `rubinius::NativeFunction::find_symbol(rubinius::VM*, rubinius::Object*, rubinius::String*)':
/home/clgc/languages/rbx-cpp/vm/ffi.cpp:363: undefined reference to `strlcpy(char*, char const*, unsigned int)'
/home/clgc/languages/rbx-cpp/vm/ffi.cpp:364: undefined reference to `strlcat(char*, char const*, unsigned int)'
collect2: ld returned 1 exit status
rake aborted!
Command failed with status (1): [g++ -L/home/clgc/languages/rbx-cpp/vm/exte...]
/home/clgc/languages/rbx-cpp/vm/Rakefile:215:in `link'
(See full trace by running task with --trace)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment