nuser@nanoserver:~$ cat error mipsel-linux-uclibc-gcc -Wall -I/home/nuser/OpenWrt/kamikaze/trunk/build_mipsel/amwall-0.1.0 -DLANG=\"en\" -I/home/nuser/OpenWrt/kamikaze/trunk/staging_dir_mipsel/usr/include -I/home/nuser/OpenWrt/kamikaze/trunk/staging_dir_mipsel/usr/include/compat -D_GNU_SOURCE=1 -c -o grammar_en.o grammar_en.y.c In file included from grammar_en.y:33: grammar.h:1: error: syntax error before '-' token grammar.h:1: error: syntax error at '#' token In file included from grammar_en.y:33: grammar.h:4:2: #endif without #if make[4]: *** [grammar_en.o] Error 1 make[4]: Leaving directory `/home/nuser/OpenWrt/kamikaze/trunk/build_mipsel/amwall-0.1.0' make[3]: *** [/home/nuser/OpenWrt/kamikaze/trunk/build_mipsel/amwall-0.1.0/.built] Error 2 The patch to correct this problem is: nuser@nanoserver:~$ cat amwall.patch --- Makefile.old 2007-03-06 11:43:32.000000000 +0100 +++ Makefile 2007-03-06 11:14:53.000000000 +0100 @@ -122,7 +122,7 @@ $(RM) -f $(TARGET) $(OBJECTS) *.y.? grammar.h .y.o: - @echo -e \ + @echo \ "#ifndef _H_GRAMMAR\n#define _H_GRAMMAR\n#include \"$<.h\"\n#endif" \ > grammar.h @echo -e " YACC\t$<"