This is a discussion on problems compiling e2salvage within the Linux General forums, part of the Linux Forums category; Hi, can somebody help me compile e2salvage, i get the following error message: ---- .... gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -c ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi,
can somebody help me compile e2salvage, i get the following error message: ---- .... gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -c main.c In file included from main.c:19: config.h:1: error: parse error before "_CONFIG_H" config.h:33: error: syntax error before '{' token In file included from /usr/include/linux/vfs.h:4, from /usr/include/linux/fs.h:13, from main.h:4, from main.c:20: /usr/include/asm/statfs.h:23: error: parse error before '}' token main.c:49:2: #error "Check the src/config.h before compilation!" main.c: In function `main': main.c:81: warning: implicit declaration of function `open' main.c:92: warning: implicit declaration of function `fstat64' main.c:106: warning: long unsigned int format, different type arg (arg 4) make[2]: *** [main.o] Error 1 make[2]: Leaving directory `/root/e2salvage-0.0.8/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/e2salvage-0.0.8' make: *** [all-recursive-am] Error 2 --- |