From: Manuel E. S. <ran...@at...> - 2002-01-25 13:34:50
|
On Thu, Jan 24, 2002 at 01:48:07PM -0600, Thomas wrote: > hmm, tried it out, and got this error while compiling: > > gcc -DHAVE_CONFIG_H -I. -I. -I. > -DPKGDATADIR=\"/usr/local/share/lircrc_config\" > -g -O2 -I/usr/local/include/gtk-1.2 -I/usr/local/include/glib-1.2 > -I/usr/local/lib/glib/include -I/usr/X11R6/include -I/usr/include/gnome-xml > -I/usr/include > -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/lib/glib/include > -I/usr/X11R6/include -c `test -f lex.yy.c || echo './'`lex.yy.c > parser.lex: In function `yylex': > parser.lex:75: wrong type argument to increment > parser.lex:80: wrong type argument to increment > parser.lex:80: wrong type argument to increment > make[1]: *** [lex.yy.o] Error 1 > make[1]: Leaving directory `/home/thomas/lircrc_config-0.1.0' > make: *** [all] Error 2 > > i dont even know what a .lex file is, so i have no idea if the problem is my > system or your code though... > > sounds like i neat program though, maybe ill actually be able to use my > remote... It is a compatibility problem with the original lex I think. What version of flex/lex ("flex --version"/"lex --version") do you have installed? Could you send me the file lex.yy.c right after the compile failure? Please try with this patch and report, and if there is some lex guru around please double check that this is the right solution. ranty -- --- Manuel Estrada Sainz <ra...@de...> <ra...@at...> ------------------------ <ra...@so...> --------------------------------- God grant us the serenity to accept the things we cannot change, courage to change the things we can, and wisdom to know the difference. |