[haiku-commits] Re: haiku: hrev43319 - src/add-ons/kernel/file_systems/packagefs src src/apps/deskbar src/kits/package/hpkg headers/private/file_systems

  • From: Oliver Tappe <zooey@xxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sat, 26 Nov 2011 01:11:47 +0100

On 2011-11-26 at 00:14:23 [+0100], Urias McCullough <umccullough@xxxxxxxxx> 
wrote:
> On Fri, Nov 25, 2011 at 2:13 PM, Niels Sascha Reedijk
> <niels.reedijk@xxxxxxxxx> wrote:
> > These changes break the build on my MacOS X 10.6. Actually, a little
> > googling showed this page:
> 
> Someone reported an entirely different failure building on a gcc4
> Haiku host - I don't have the pastebin handy unfortunately.
> 
> Can someone else confirm this?

Yes, I can - the problem is simply caused by the fact that we're not 
cross-compiling on Haiku hosts: since we use the system headers instead of 
the ones in the repo-checkout, an older TypeConstants.h is being used, 
which does not define B_MIME_STRING_TYPE. 
Nothing much to do for us there, I suppose, except for convincing gcc4 to 
cross-compile on Haiku (see #7824). As a (weak) workaround, the 
repo-headers can be copied to /boot/develop/headers to fix the build.

cheers,
        Oliver

Other related posts: