Skip to content

Instantly share code, notes, and snippets.

@craig5
Created August 20, 2014 19:51
Show Gist options
  • Save craig5/f77e7fe760195f8a7419 to your computer and use it in GitHub Desktop.
Save craig5/f77e7fe760195f8a7419 to your computer and use it in GitHub Desktop.
config.status: executing depfiles commands
config.status: executing libtool commands
+ make
make all-recursive
make[1]: Entering directory `/home/craig/open-source/libcrange/source'
Making all in src
make[2]: Entering directory `/home/craig/open-source/libcrange/source/src'
make all-am
make[3]: Entering directory `/home/craig/open-source/libcrange/source/src'
/bin/bash ../ylwrap range_parser.y y.tab.c range_parser.c y.tab.h `echo range_parser.c | sed -e s/cc$/hh/ -e s/cpp$/hpp/ -e s/cxx$/hxx/ -e s/c++$/h++/ -e s/c$/h/` y.output range_parser.output -- bison -y -d
/home/craig/open-source/libcrange/source/src/range_parser.y:19.29-34: warning: symbol tCOLON redeclared [-Wother]
%token tLBRACE tRBRACE tEOL tCOLON tERROR tHASH tEOF tWHITESPACE
^^^^^^
updating range_parser.h
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wall -DLIBCRANGE_FUNCDIR=\"/usr/lib/libcrange\" -DLIBCRANGE_CONF=\"/etc/range.conf\" -DDEFAULT_SQLITE_DB=\"/var/range.sqlite\" -DLIBCRANGE_YAML_DIR=\"/var/range/\" -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fstack-protector -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.18/CORE -pthread -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/apr-1.0 -I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu/python2.7 -g -O2 -MT libcrange_la-range_parser.lo -MD -MP -MF .deps/libcrange_la-range_parser.Tpo -c -o libcrange_la-range_parser.lo `test -f 'range_parser.c' || echo './'`range_parser.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -DLIBCRANGE_FUNCDIR=\"/usr/lib/libcrange\" -DLIBCRANGE_CONF=\"/etc/range.conf\" -DDEFAULT_SQLITE_DB=\"/var/range.sqlite\" -DLIBCRANGE_YAML_DIR=\"/var/range/\" -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fstack-protector -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.18/CORE -pthread -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/apr-1.0 -I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu/python2.7 -g -O2 -MT libcrange_la-range_parser.lo -MD -MP -MF .deps/libcrange_la-range_parser.Tpo -c range_parser.c -fPIC -DPIC -o .libs/libcrange_la-range_parser.o
range_parser.c: In function 'yyparse':
range_parser.c:1323:7: error: too few arguments to function 'yylex'
yychar = yylex (&yylval, &yylloc);
^
In file included from range_parser.y:8:0:
range_parser_defs.h:26:5: note: declared here
int yylex(YYSTYPE* yylval_param, YYLTYPE* yylloc_param, void* yyscanner);
^
range_parser.y:45:24: error: 'scanner' undeclared (first use in this function)
(*((range_extras**)scanner))->theast = $1;
^
range_parser.y:45:24: note: each undeclared identifier is reported only once for each function it appears in
make[3]: *** [libcrange_la-range_parser.lo] Error 1
make[3]: Leaving directory `/home/craig/open-source/libcrange/source/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/craig/open-source/libcrange/source/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/craig/open-source/libcrange/source'
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment