Thanks for the bug report. Let's try to fix the first bug first. What is the output of the following command?
c99 -I. -I./lib -Ilib -I./lib -Isrc -I./src -I/usr/nekoware/include \ -O3 -mips4 -OPT:Olimit=0:roundoff=3 -TARG:platform=IP27:proc=r10000 -n32 \ -E lib/set-mode-acl.c
