[openbeos] Re: compilation problem with Haiku

"David McPaul" <dmcpaul@xxxxxxxxxxxxxx> wrote:
> Well after getting to compile what I can I am now left with a few 
> compile errors

You have to make sure that you build for target "haiku" (to be 
specified on the configure line).
Currently, "configure" defaults to the host platform - the more likely 
that you actually want to compile the tree for building Haiku itself 
(and not some components for R5 use), we probably want to change that.
Anyway, as a workaround if you want to keep your configure environment 
unchanged, you have to compile additional build targets this way:
$ TARGET_PLATFORM=haiku jam <target>

Of course, you would have to recompile those that failed (either with -
a or by removing the object files with the unreferenced exports).

Bye,
   Axel.


Other related posts: