Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Unable to compile under MacOS 10.4
« previous next »
  • Print
Pages: [1]

Author Topic: Unable to compile under MacOS 10.4  (Read 2390 times)

Offline ell1ps1s

  • Member
  • *
  • Posts: 36
Unable to compile under MacOS 10.4
« on: June 26, 2008, 08:36:40 PM »
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?
Logged

Offline cool_walking_

  • Rockbox Expert
  • Member
  • *
  • Posts: 695
Re: Unable to compile under MacOS 10.4
« Reply #1 on: June 26, 2008, 08:55:43 PM »
http://www.rockbox.org/tracker/9006
Logged

Offline ell1ps1s

  • Member
  • *
  • Posts: 36
Re: Unable to compile under MacOS 10.4
« Reply #2 on: June 26, 2008, 10:46:28 PM »
Thanks very much.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Unable to compile under MacOS 10.4
 

  • SMF 2.0.18 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.079 seconds with 21 queries.