Hi Everyone I am trying to compile GT-ITM tool on Debian Linux. As per instructions in the Readme file i issued the following commands but got errors on the second one(make all). Can anybody please help remove these errors?
1. make veryclean \rm -f *.o \rm -f ../bin/* 2. make all gcc -I../include -L../lib -c -o itm.o itm.c gcc -I../include -L../lib -c -o geog.o geog.c geog.c: In function ‘geo’: geog.c:191: warning: incompatible implicit declaration of built-in function ‘malloc’ geog.c:255: warning: incompatible implicit declaration of built-in function ‘free’ geog.c: In function ‘geo_hier’: geog.c:411: warning: incompatible implicit declaration of built-in function ‘calloc’ geog.c:586: warning: incompatible implicit declaration of built-in function ‘free’ gcc -I../include -L../lib -c -o ts.o ts.c ts.c: In function ‘fdiam’: ts.c:87: warning: incompatible implicit declaration of built-in function ‘malloc’ ts.c:94: warning: incompatible implicit declaration of built-in function ‘malloc’ ts.c:155: warning: incompatible implicit declaration of built-in function ‘free’ ts.c:158: warning: incompatible implicit declaration of built-in function ‘free’ ts.c: In function ‘die’: ts.c:175: warning: incompatible implicit declaration of built-in function ‘exit’ ts.c: In function ‘transtub’: ts.c:270: warning: incompatible implicit declaration of built-in function ‘malloc’ ts.c:294: warning: incompatible implicit declaration of built-in function ‘free’ ts.c:541: warning: incompatible implicit declaration of built-in function ‘exit’ ts.c:666: warning: incompatible implicit declaration of built-in function ‘free’ gcc -I../include -L../lib -c -o dfs.o dfs.c dfs.c: In function ‘isconnected’: dfs.c:34: warning: incompatible implicit declaration of built-in function ‘malloc’ dfs.c:41: warning: incompatible implicit declaration of built-in function ‘free’ gcc -I../include -L../lib -o ../bin/itm itm.o geog.o ts.o dfs.o -lm -lgb-linux gcc -I../include -L../lib -c -o sgb2alt.o sgb2alt.c gcc -I../include -L../lib -o ../bin/sgb2alt sgb2alt.o -lm -lgb-linux gcc -I../include -L../lib -c -o edriver.o edriver.c edriver.c: In function ‘main’: edriver.c:85: warning: incompatible implicit declaration of built-in function ‘exit’ edriver.c:98: warning: incompatible implicit declaration of built-in function ‘strlen’ edriver.c:99: warning: incompatible implicit declaration of built-in function ‘strcpy’ edriver.c:105: warning: incompatible implicit declaration of built-in function ‘exit’ edriver.c:108: warning: incompatible implicit declaration of built-in function ‘exit’ edriver.c:147: warning: incompatible implicit declaration of built-in function ‘exit’ edriver.c:164: warning: incompatible implicit declaration of built-in function ‘exit’ gcc -I../include -L../lib -o ../bin/edriver edriver.o eval.o -lm -lgb-linux gcc: eval.o: No such file or directory make: *** [edriver] Error 1 Best Regards
