Created
October 11, 2013 17:55
-
-
Save gideondsouza/6939174 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Gideons-Mac-mini:compiler gideon$ g++ -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS=1 -o parser parser.cpp tokens.cpp main.cpp | |
Undefined symbols for architecture x86_64: | |
"_LLVMLinkInJIT", referenced from: | |
(anonymous namespace)::ForceJITLinking::ForceJITLinking()in ccax3uOX.o | |
"CodeGenContext::generateCode(NBlock&)", referenced from: | |
_main in ccax3uOX.o | |
"CodeGenContext::runCode()", referenced from: | |
_main in ccax3uOX.o | |
"llvm::getGlobalContext()", referenced from: | |
CodeGenContext::CodeGenContext()in ccax3uOX.o | |
"llvm::Module::Module(llvm::StringRef, llvm::LLVMContext&)", referenced from: | |
CodeGenContext::CodeGenContext()in ccax3uOX.o | |
"vtable for NAssignment", referenced from: | |
NAssignment::NAssignment(NIdentifier&, NExpression&)in cc2RCwuq.o | |
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition. | |
"vtable for NIdentifier", referenced from: | |
NIdentifier::NIdentifier(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in cc2RCwuq.o | |
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition. | |
"vtable for NMethodCall", referenced from: | |
NMethodCall::NMethodCall(NIdentifier const&, std::vector<NExpression*, std::allocator<NExpression*> >&)in cc2RCwuq.o | |
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition. | |
"vtable for NBinaryOperator", referenced from: | |
NBinaryOperator::NBinaryOperator(NExpression&, int, NExpression&)in cc2RCwuq.o | |
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition. | |
"vtable for NExpressionStatement", referenced from: | |
NExpressionStatement::NExpressionStatement(NExpression&)in cc2RCwuq.o | |
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition. | |
"vtable for NFunctionDeclaration", referenced from: | |
NFunctionDeclaration::NFunctionDeclaration(NIdentifier const&, NIdentifier const&, std::vector<NVariableDeclaration*, std::allocator<NVariableDeclaration*> > const&, NBlock&)in cc2RCwuq.o | |
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition. | |
"vtable for NVariableDeclaration", referenced from: | |
NVariableDeclaration::NVariableDeclaration(NIdentifier const&, NIdentifier&)in cc2RCwuq.o | |
NVariableDeclaration::NVariableDeclaration(NIdentifier const&, NIdentifier&, NExpression*)in cc2RCwuq.o | |
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition. | |
"vtable for NBlock", referenced from: | |
NBlock::NBlock()in cc2RCwuq.o | |
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition. | |
"vtable for NDouble", referenced from: | |
NDouble::NDouble(double)in cc2RCwuq.o | |
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition. | |
"vtable for NInteger", referenced from: | |
NInteger::NInteger(long long)in cc2RCwuq.o | |
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition. | |
ld: symbol(s) not found for architecture x86_64 | |
collect2: ld returned 1 exit status |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You need to comment out codegen()s in node.h until you complete the next step in the examples.