Skip to content

Instantly share code, notes, and snippets.

@elorest
Created March 15, 2017 23:46
Show Gist options
  • Save elorest/55a65970a805a74ec7d6be8ba262efc1 to your computer and use it in GitHub Desktop.
Save elorest/55a65970a805a74ec7d6be8ba262efc1 to your computer and use it in GitHub Desktop.
pi@raspberrypi:~/crystal $ cc crystal.o -o crystal -rdynamic /home/pi/crystal/src/llvm/ext/llvm_ext.o `/usr/local/bin/llvm-config-3.9 --libs --system-libs --ldflags 2> /dev/null` -lstdc++ -lpcre -lm -lgc -lpthread /home/pi/crystal/src/ext/libcrystal.a -levent -lrt -ldl -L/usr/lib -L/usr/local/lib
crystal.o: In function `~LLVM::Attribute::kind_ids:init':
main_module:(.text+0x26a84): undefined reference to `LLVMGetEnumAttributeKindForName'
main_module:(.text+0x26acc): undefined reference to `LLVMGetEnumAttributeKindForName'
main_module:(.text+0x26b14): undefined reference to `LLVMGetEnumAttributeKindForName'
main_module:(.text+0x26b5c): undefined reference to `LLVMGetEnumAttributeKindForName'
main_module:(.text+0x26ba4): undefined reference to `LLVMGetEnumAttributeKindForName'
crystal.o:main_module:(.text+0x26bec): more undefined references to `LLVMGetEnumAttributeKindForName' follow
crystal.o: In function `default_target_triple':
/Users/isaac/workspace/crystal/recompile/crystal/src/llvm.cr:77: undefined reference to `LLVMGetDefaultTargetTriple'
crystal.o: In function `string_and_dispose':
/Users/isaac/workspace/crystal/recompile/crystal/src/llvm.cr:93: undefined reference to `LLVMDisposeMessage'
crystal.o: In function `default_target_triple':
/Users/isaac/workspace/crystal/recompile/crystal/src/llvm.cr:77: undefined reference to `LLVMGetDefaultTargetTriple'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment