I tried to reproduce this by compiling a 32GB 5G iPod simulator in Cygwin, and I ran into a different error:CC apps/alarm_menu.c
In file included from /usr/include/string.h:11,
from /home/Boris/Rockbox/rockbox/apps/alarm_menu.c:28:
/usr/include/sys/reent.h:185: error: parse error before "_READ_WRITE_RETURN_TYPE"
/usr/include/sys/reent.h:187: error: parse error before '(' token
That problem is fixed if I move the "#include <string.h>" to just below <stdbool.h>, above the Rockbox specific includes. A similar sort of thing happens in apps/language.c:CC apps/language.c:
In file included from /usr/include/string.h:11,
from /home/Boris/Rockbox/rockbox/apps/language.c:27:
/usr/include/sys/reent.h:185: error: parse error before '(' token
/usr/include/sys/reent.h:186: error: field `_EXFNPTR' declared as a function
There are a lot of errors after that, but I think the first error is the one that matters. Moving "#include "string.h"" to be the first include fixes that. Is Rockbox even supposed to be using system libc here though? Then again, another error: CC apps/main.c
In file included from /usr/include/time.h:11,
from /home/Boris/Rockbox/rockbox/firmware/export/rtc.h:27,
from /home/Boris/Rockbox/rockbox/apps/main.c:28:
/usr/include/sys/reent.h:185: error: parse error before "_READ_WRITE_RETURN_TYPE
Again there seems to be some conflict between system includes and Rockbox includes. I don't feel like continuing what I've been doing to try to get through the compile, and I instead installed the gcc4 Cygwin package, resulting in installation of gcc 4.3.4-3. I reverted the changes, made above, reconfigured, ran "make veryclean" and I again ran into similar errors:CC apps/alarm_menu.c
In file included from /usr/include/string.h:11,
from /home/Boris/Rockbox/rockbox/apps/alarm_menu.c:28:
/usr/include/sys/reent.h:185: error: expected specifier-qualifier-list before ‘_READ_WRITE_RETURN_TYPE’
/usr/include/sys/reent.h:597: error: expected ‘)’ before ‘(’ token