As stated here
Re: Ingenic Jz4740/Jz4732 players I have problems compiling a MIPS cross compiler. I'm using the rockboxdev.sh script to do this under Ubuntu 8.04 (Hardy).
I get an " 'O_RDONLY' undeclared " error, which would suggest that I do not have a proper build environment set-up (missing linux headers), but I do have both build-essential, libc6-dev and the linux headers instaled. And compiling another cross compiler (ARM) works without problems.
What I tried sofar:
- Use --disable-libssp
- Use --disable-libmudflap --disable-libssp
- Use --without-headers
- Use --without-headers -- disable-libssp
None helps, any other idea's?
PS I got a working copy via mcuelenaere, but I'm just curious as to why it does not compile