Rockbox Technical Forums

Rockbox Development => Starting Development and Compiling => Topic started by: parkerlreed on November 07, 2018, 04:51:54 PM

Title: Simulator compile failure on Linux
Post by: parkerlreed on November 07, 2018, 04:51:54 PM
Trying to build a simulator and getting this

Code: [Select]
#error "Missing OS swap defines."
Printed quite a lot and then some errors at the end. Full log

http://ix.io/1q7l (http://ix.io/1q7l)

Arch Linux with gcc 8.2.1+20180831-1 and sdl 1.2.15-9

Checked here but not sure if related since that was trying to compile on
Windows

http://forums.rockbox.org/index.php?topic=51618.0 (http://forums.rockbox.org/index.php?topic=51618.0)
Title: Re: Simulator compile failure on Linux
Post by: saratoga on November 07, 2018, 05:33:32 PM
Usually that means that the system can't figure out the endianness macros needed by firmware/include/rbendian.h.

I'm not sure what the function is on arch linux though, and a couple minutes on Google doesn't show anything obvious. 

Title: Re: Simulator compile failure on Linux
Post by: parkerlreed on November 07, 2018, 06:28:23 PM
Yeah I just built it in a debian chroot and it worked. Not sure what could be causing this.