Has anyone noticed problems building RockBox under MacOS 10.4 recently?
When I try, it fails, with the following messages:
gcc -O -g -W -Wall -Wshadow -pedantic -c -o creative.o creative.c
creative.c:24:17: error: elf.h: No such file or directory
creative.c: In function 'elf_convert':
creative.c:84: error: 'Elf32_Ehdr' undeclared (first use in this function)
creative.c:84: error: (Each undeclared identifier is reported only once
creative.c:84: error: for each function it appears in.)
creative.c:84: error: 'main_header' undeclared (first use in this function)
creative.c:85: error: 'Elf32_Shdr' undeclared (first use in this function)
creative.c:85: error: 'section_header' undeclared (first use in this function)
creative.c:86: warning: ISO C90 forbids mixed declarations and code
creative.c:89: error: parse error before ')' token
creative.c:90: error: 'ELFMAG0' undeclared (first use in this function)
creative.c:91: error: 'ELFMAG1' undeclared (first use in this function)
creative.c:91: error: 'ELFMAG2' undeclared (first use in this function)
creative.c:91: error: 'ELFMAG3' undeclared (first use in this function)
creative.c:101: error: parse error before ')' token
creative.c:103: error: 'SHF_WRITE' undeclared (first use in this function)
creative.c:104: error: 'SHF_ALLOC' undeclared (first use in this function)
creative.c:104: error: 'SHF_EXECINSTR' undeclared (first use in this function)
creative.c:105: error: 'SHT_NOBITS' undeclared (first use in this function)
make[1]: *** [creative.o] Error 1
make: *** [tools] Error 2
Is this specific to my setup, or can others confirm the problem?