From: takeshi i. <tak...@gm...> - 2009-04-02 23:06:17
|
Mario. I tried.. but so many source files need to be modified. This is the std-out and err-out (combined) on Debian 50. Makefile:59: Makefile.depend: No such file or directory g++ -MM -MG -I. *.cc \ | perl -pe 's/:/ Makefile.depend:/' > Makefile.depend g++ -Wall -pedantic -Wpointer-arith -Wwrite-strings -ggdb -O3 -funroll-loops -I. -c -o main.o main.cc main.cc: In function 'int main(int, char**)': main.cc:99: error: 'strcmp' was not declared in this scope make: *** [main.o] Error 1 make -C stage4/generate_cc generate_cc.o make[1]: Entering directory `/root/mat-coruscant/logic/iec/stage4/generate_cc' Makefile:35: Makefile.depend: No such file or directory g++ -MM -MG -I. *.cc \ | perl -pe 's/:/ Makefile.depend:/' > Makefile.depend make[1]: Leaving directory `/root/mat-coruscant/logic/iec/stage4/generate_cc' make[1]: Entering directory `/root/mat-coruscant/logic/iec/stage4/generate_cc' g++ -Wall -pedantic -Wpointer-arith -Wwrite-strings -ggdb -O3 -funroll-loops -I. -I../* -I../../absyntax -c -o generate_cc.o generate_cc.cc generate_cc.cc: In function 'int compare_identifiers(symbol_c*, symbol_c*)': generate_cc.cc:112: error: 'strcasecmp' was not declared in this scope In file included from generate_cc.cc:171: function_call_param_iterator.cc: In member function 'void* function_call_param_iterator_c::handle_parameter_assignment(symbol_c*, symbol_c*)': function_call_param_iterator.cc:131: error: 'strcasecmp' was not declared in this scope In file included from generate_cc.cc:180: generate_cc_base.cc: In member function 'void* generate_cc_base_c::print_striped_token(token_c*, int)': generate_cc_base.cc:100: error: 'strlen' was not declared in this scope generate_cc_base.cc: In member function 'void* generate_cc_base_c::print_striped_binary_token(token_c*, unsigned int)': generate_cc_base.cc:116: error: 'strlen' was not declared in this scope generate_cc_base.cc:122: error: 'strlen' was not declared in this scope generate_cc_base.cc: In member function 'virtual void* generate_cc_base_c::visit(single_byte_character_string_c*)': generate_cc_base.cc:246: error: 'strlen' was not declared in this scope In file included from generate_cc.cc:181: generate_cc_typedecl.cc: In member function 'virtual void* generate_cc_typedecl_c::visit(direct_variable_c*)': generate_cc_typedecl.cc:372: error: 'strlen' was not declared in this scope In file included from generate_cc.cc:199: generate_cc_tempvardecl.cc: In member function 'std::string* temp_var_name_c::new_name()': generate_cc_tempvardecl.cc:56: error: 'malloc' was not declared in this scope generate_cc_tempvardecl.cc:59: error: 'free' was not declared in this scope make[1]: *** [generate_cc.o] Error 1 make[1]: Leaving directory `/root/mat-coruscant/logic/iec/stage4/generate_cc' make: *** [stage4/generate_cc/generate_cc.o] Error 2 make -C stage4 stage4.o make[1]: Entering directory `/root/mat-coruscant/logic/iec/stage4' g++ -Wall -pedantic -Wpointer-arith -Wwrite-strings -ggdb -O3 -funroll-loops -I. -I../* -I../../absyntax -c -o stage4.o stage4.cc make[1]: Leaving directory `/root/mat-coruscant/logic/iec/stage4' make -C absyntax absyntax.o make[1]: Entering directory `/root/mat-coruscant/logic/iec/absyntax' g++ -Wall -pedantic -Wpointer-arith -Wwrite-strings -ggdb -O3 -funroll-loops -I. -I../* -I../../absyntax -c -o absyntax.o absyntax.cc make[1]: Leaving directory `/root/mat-coruscant/logic/iec/absyntax' make -C absyntax visitor.o make[1]: Entering directory `/root/mat-coruscant/logic/iec/absyntax' g++ -Wall -pedantic -Wpointer-arith -Wwrite-strings -ggdb -O3 -funroll-loops -I. -I../* -I../../absyntax -c -o visitor.o visitor.cc make[1]: Leaving directory `/root/mat-coruscant/logic/iec/absyntax' make -C stage1_2 iec.y.o make[1]: Entering directory `/root/mat-coruscant/logic/iec/stage1_2' bison -d -v -o iec.y.cc iec.y iec.y:477.8-11: warning: symbol TIME redeclared iec.y:478.8-11: warning: symbol DATE redeclared iec.y:479.8-20: warning: symbol DATE_AND_TIME redeclared iec.y:481.8-18: warning: symbol TIME_OF_DAY redeclared iec.y:771.8-14: warning: symbol END_VAR redeclared iec.y:773.8-17: warning: symbol NON_RETAIN redeclared iec.y:774.8-14: warning: symbol END_VAR redeclared iec.y:815.8-13: warning: symbol ASSIGN redeclared iec.y:926.8-14: warning: symbol END_VAR redeclared iec.y:928.8-14: warning: symbol PROGRAM redeclared iec.y:929.8-13: warning: symbol RETAIN redeclared iec.y:930.8-17: warning: symbol NON_RETAIN redeclared iec.y:931.8-15: warning: symbol PRIORITY redeclared iec.y:1109.8-10: warning: symbol AND redeclared iec.y:1110.8-10: warning: symbol XOR redeclared iec.y:1111.8-9: warning: symbol OR redeclared iec.y:1112.8-10: warning: symbol MOD redeclared iec.y:1113.8-10: warning: symbol NOT redeclared iec.y:1132.8-13: warning: symbol ASSIGN redeclared iec.y:1145.8-13: warning: symbol ASSIGN redeclared iec.y:1146.8-13: warning: symbol SENDTO redeclared iec.y:1173.8-9: warning: symbol OF redeclared iec.y:1174.8-11: warning: symbol ELSE redeclared iec.y:1192.8-13: warning: symbol ASSIGN redeclared iec.y:1193.8-9: warning: symbol TO redeclared iec.y:1199.8-9: warning: symbol DO redeclared g++ -c iec.y.cc -D LIBDIRECTORY='"/usr/local/libIEC61131-3/"' -Wall -pedantic -Wpointer-arith -Wwrite-strings -ggdb -O3 -funroll-loops -I. -I../* -I../../absyntax make[1]: Leaving directory `/root/mat-coruscant/logic/iec/stage1_2' make -C stage1_2 iec.flex.o make[1]: Entering directory `/root/mat-coruscant/logic/iec/stage1_2' flex -oiec.flex.c iec.flex g++ -c iec.flex.c -D LIBDIRECTORY='"/usr/local/libIEC61131-3/"' -Wall -pedantic -Wpointer-arith -Wwrite-strings -ggdb -O3 -funroll-loops -I. -I../* -I../../absyntax iec.flex.c:6984: warning: 'void yyunput(int, char*)' defined but not used make[1]: Leaving directory `/root/mat-coruscant/logic/iec/stage1_2' make -C stage4/generate_iec generate_iec.o make[1]: Entering directory `/root/mat-coruscant/logic/iec/stage4/generate_iec' Makefile:33: Makefile.depend: No such file or directory g++ -MM -MG -I. *.cc \ | perl -pe 's/:/ Makefile.depend:/' > Makefile.depend make[1]: Leaving directory `/root/mat-coruscant/logic/iec/stage4/generate_iec' make[1]: Entering directory `/root/mat-coruscant/logic/iec/stage4/generate_iec' g++ -Wall -pedantic -Wpointer-arith -Wwrite-strings -ggdb -O3 -funroll-loops -I. -I../* -I../../absyntax -c -o generate_iec.o generate_iec.cc make[1]: Leaving directory `/root/mat-coruscant/logic/iec/stage4/generate_iec' make: Target `default' not remade because of errors. Ikeya |