scons: Reading SConscript files ...
Checking target architecure...(cached) amd64, checking userland ...amd64
Checking for C library fl... yes
scons: done reading SConscript files.
scons: Building targets ...
bison --defines=globaliser//parser.tab.hh globaliser/parser.yc -o globaliser/
parser.tab.ccglobaliser/parser.yc: warning: 1 shift/reduce conflict [-Wconflicts-sr]
g++ -o globaliser/lexer.lex.o -c -Wall -g -O globaliser/
lexer.lex.ccg++ -o globaliser/parser.tab.o -c -Wall -g -O globaliser/
parser.tab.ccg++ -o globaliser/ilex.o -c -Wall -g -O globaliser/ilex.cc
g++ -o globaliser/handle_global.o -c -Wall -g -O globaliser/handle_global.cc
g++ -o globaliser/node.o -c -Wall -g -O globaliser/node.cc
globaliser/node.cc: In member function 'bool node_t::handle_global(std::__cxx11::string, std::__cxx11::list<std::__cxx11::basic_string<char> >*, std::__cxx11::list<std::__cxx11::basic_string<char> >*)':
globaliser/node.cc:906:36: warning: variable 'str_start' set but not used [-Wunused-but-set-variable]
string::size_type i, str_start, str_end;
^
globaliser/node.cc:772:40: warning: variable 'declarator' set but not used [-Wunused-but-set-variable]
*initialiser_node = NULL, *declarator = NULL;
^
globaliser/node.cc:483:9: warning: variable 'orig_newlines' set but not used [-Wunused-but-set-variable]
int orig_newlines;
^
g++ -o globaliser/globaliser globaliser/lexer.lex.o globaliser/parser.tab.o globaliser/ilex.o globaliser/handle_global.o globaliser/node.o -lfl
/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libfl.so: undefined reference to `yylex'
collect2: error: ld returned 1 exit status
scons: *** [globaliser/globaliser] Error 1
scons: building terminated because of errors.