Prophidys / RTG2

Realtime Traffic Grapher 2
GNU General Public License v2.0
11 stars 9 forks source link

Error compiling on Centos 5.2 #4

Closed Prophidys closed 10 years ago

Prophidys commented 10 years ago

From c4ip...@gmail.com on April 16, 2009 13:47:51

What steps will reproduce the problem? 1.Configure works well

  1. Make gives this error : gcc -g -O2 -o rtgpoll rtgsnmp.o rtgdbi.o rtgpoll.o rtgutil.o rtgtarg.o rtggram.o rtghash.o -L/usr/local/ssl/lib -L/usr/lib -lfl -lnetsnmp -lcrypto -lmysqlclient_r -lgd -lpng /usr/lib/libltdl.so -ldl -lz -lrt -lpthread -lm -lnsl -Wl,--rpath -Wl,/usr/local/rtg/lib rtgtarg.o: In function yyerror': /home/soft/rtg2/rtg2/src/rtgtarg.y:146: undefined reference tolineno' /home/soft/rtg2/rtg2/src/rtgtarg.y:147: undefined reference to yytext' rtgtarg.o: In functionyyparse': /home/soft/rtg2/rtg2/src/rtgtarg.c:305: undefined reference to yylex' rtgtarg.o: In functionyyparse': /home/soft/rtg2/rtg2/src/rtgtarg.y:52: undefined reference to yylineno' /home/soft/rtg2/rtg2/src/rtgtarg.y:50: undefined reference toyylineno' rtgtarg.o: In function yyparse': /home/soft/rtg2/rtg2/src/rtgtarg.c:520: undefined reference toyylex' rtghash.o: In function hash_target_file': /home/soft/rtg2/rtg2/src/rtghash.c:256: undefined reference toyyin' /home/soft/rtg2/rtg2/src/rtghash.c:264: undefined reference to yyin' collect2: ld returned 1 exit status make[2]: *** [rtgpoll] Error 1 make[2]: Leaving directory/home/soft/rtg2/rtg2/src' make[1]: * [all] Error 2 make[1]: Leaving directory `/home/soft/rtg2/rtg2/src' make: * [all-recursive] Error 1

Original issue: http://code.google.com/p/rtg2/issues/detail?id=4

Prophidys commented 10 years ago

From c4ip...@gmail.com on April 16, 2009 10:51:07

User the solution for issue make clean/distclean does not remove src/rtggram.c and was able to sucefully compile

Prophidys commented 10 years ago

From adrian.c...@gmail.com on June 26, 2009 18:03:38

Fixed in r13 . thanks!

Status: Fixed