os x compile problems
Posted: Fri Dec 03, 2010 11:19 am
Having problems compiling context free on os x. I'm not using xcode, just the command line. libpng is installed.
---------
MacBookPro running 10.6, 64bit intel.
Polymanos:ContextFreeSource2.2.2 seant$ make
cc -Isrc-common -Isrc-unix -Iobjs -Isrc-agg/include -Isrc-common/agg-extras -O3 -Wall -c -o objs/lex.yy.o objs/lex.yy.c
<stdout>:856: error: conflicting types for ‘yyget_leng’
src-common/yglue.h:54: error: previous declaration of ‘yyget_leng’ was here
<stdout>:2291: error: conflicting types for ‘yyget_leng’
src-common/yglue.h:54: error: previous declaration of ‘yyget_leng’ was here
make: *** [objs/lex.yy.o] Error 1
---------
Any help?
---------
MacBookPro running 10.6, 64bit intel.
Polymanos:ContextFreeSource2.2.2 seant$ make
cc -Isrc-common -Isrc-unix -Iobjs -Isrc-agg/include -Isrc-common/agg-extras -O3 -Wall -c -o objs/lex.yy.o objs/lex.yy.c
<stdout>:856: error: conflicting types for ‘yyget_leng’
src-common/yglue.h:54: error: previous declaration of ‘yyget_leng’ was here
<stdout>:2291: error: conflicting types for ‘yyget_leng’
src-common/yglue.h:54: error: previous declaration of ‘yyget_leng’ was here
make: *** [objs/lex.yy.o] Error 1
---------
Any help?