/home/batman/build_test/tmp/gen-compat-autoconf.sh /home/batman/build_test/tmp/compat-autoconf.h /usr/bin/make -C /home/batman/build_test/linux-build/linux-2.6.31 M=/home/batman/build_test/tmp PWD=/home/batman/build_test/tmp modules make[1]: Entering directory `/home/batman/build_test/linux-build/linux-2.6.31' CC [M] /home/batman/build_test/tmp/compat.o /home/batman/build_test/tmp/types.h:190:27: error: expected ; at end of declaration /home/batman/build_test/tmp/types.h:190:27: error: Expected } at end of struct-union-enum-specifier /home/batman/build_test/tmp/types.h:190:27: error: got * /home/batman/build_test/tmp/types.h:266:1: error: Expected ; at the end of type declaration /home/batman/build_test/tmp/types.h:266:1: error: got } In file included from /home/batman/build_test/tmp/main.h:161, from /home/batman/build_test/tmp/compat.c:27: /home/batman/build_test/tmp/types.h:190: error: expected ':', ',', ';', '}' or '__attribute__' before '*' token In file included from /home/batman/build_test/tmp/compat.c:27: /home/batman/build_test/tmp/main.h: In function 'add_counter': /home/batman/build_test/tmp/main.h:269: error: 'struct bat_priv' has no member named 'bat_counters' /home/batman/build_test/tmp/main.h: In function 'sum_counter': /home/batman/build_test/tmp/main.h:283: error: 'struct bat_priv' has no member named 'bat_counters' At top level: cc1: warning: unrecognized command line option "-Wno-unused-but-set-variable" make[2]: *** [/home/batman/build_test/tmp/compat.o] Error 1 make[1]: *** [_module_/home/batman/build_test/tmp] Error 2 make[1]: Leaving directory `/home/batman/build_test/linux-build/linux-2.6.31' make: *** [all] Error 2