- Status Closed
- Percent Complete
- 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
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?
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task
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.
Thanks that works like a treat. Hopefully someone can fix this in the official branch, asap.
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.
Try this patch, it’s still a sort of workaround but after all it’s Apple who decided to not include elf.h …