Rockbox

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bugs
  • Category Infrastructure → Build environment
  • Assigned To No-one
  • Operating System All players
  • Severity Low
  • Priority Very Low
  • Reported Version Daily build (which?)
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by stix - 2008-05-18
Last edited by bluebrother - 2008-07-16

FS#9006 - Build failure on eg Mac OS X - elf.h

r17553 introduced a dependency on <elf.h> in tools/creative.c, which is not present on all platforms (eg. Mac OS X, probably not too many others - AIX anyone?). I am assuming this is undesirable, and that we’d like to maintain fairly neutral build platform requirements?

Closed by  bluebrother
2008-07-16 17:39
Reason for closing:  Fixed
myth commented on 2008-05-21 12:37

I can confirm this. Rockbox can not be compiled anymore under OS X. Can someone please fix it, or is there at least a workaround available? Maybe someone can post the required elf.h in the meantime.

As a work around, change #include <elf.h> to #include “elf.h” on line 24 of creative.c. Then copy the attached file to the tools directory.

   elf.h (100.4 KiB)
myth commented on 2008-05-27 19:34

Thanks that works like a treat. Hopefully someone can fix this in the official branch, asap.

stix commented on 2008-05-28 01:01

I did the same thing - except I used the much smaller elf.h from NetBSD (attached). I should have put that in the initial comment.

   elf.h (32.2 KiB)

Try this patch, it’s still a sort of workaround but after all it’s Apple who decided to not include elf.h …

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing