Hi Daniel,Looks like the problem is only specific to .. ./os/src/drivers/audio_out ./os/src/drivers/nic everything else builds 32bit version on 64bit host platform.These targets alongside 'os/src/drivers/framebuffer/sdl' are hybrid programs using both the Genode framework as well as native Linux libraries. The 'audio_out' "driver" translates Genode's 'Audio_out_session' to ALSA, 'nic' translates Genode's 'Nic_session' to a Linux tap device, and 'fb_sdl' translates Genode's 'Framebuffer_session' and 'Input_session' to libSDL. Because of their hybrid nature, those programs are built without the '-nostdlib' switch. This way, the libraries at '/usr/lib' end up in those binaries.It looks like I need to add -m32 -L/usr/lib32 to the linux-compiled build flags - not sure how to do this, CC_OPT doesn't seem to percolate through.Normally, 'CC_OPT' is the right variable to use. However, I would not specify those arguments globally (hence, a spec-file is the wrong place for them). They should exceptionally be used for hybrid targets only. Can you successfully build 'audio_out' by adding those arguments to 'CC_OPT' in its 'target.mk' file? Best regards Norman
Daniel G.
Waddington Ph.D. C.Sci. | Samsung
Information Systems America (SISA)
Principal
Engineer/Research Manager, Systems Research Group, Computer
Science Lab
t: 408-544-5675 f: 408-544-5540 c:
408-890-0479
P lease consider the environment before printing this
email.
This
message is intended only for the named recipient(s) above and
may contain confidential or privileged informat
ion or protected attorney work product. If you are not the
intended recipient, any review, dissemination, distribution or
copying is strictly prohibited. If you have received
this message in error, please immediately notify the sender
and delete this message and its attachments from your computer
and dispose of all other copies or printouts. Thank you.