I downloaded your scripts today and they fail. You need to add
"--without-x --disable-java-awt" to cfgxgcc.sh and cfgwingcc.sh,
otherwise (and you can verify this by checking config.status and
Makefile in your libjava build directory if you still have one lying around)
X_CFLAGS gets set to -I/usr/include and this gets added to the compiler
flags list. I'm guessing that you have an older gcc installed on your build
machine and that the erroneous headers you're picking up don't conflict
enough with the MinGW ones to stop the build in its tracks. Just a guess,
though.
BTW: Thanks for all the work you've done on the MinGW port
recently.