On 30.11.2011 17:12, Disreali wrote:
--- On Fri, 11/25/11, Oliver Tappe<zooey@xxxxxxxxxxxxxxx> wrote: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.Do you mean we need to copy *all* of the src headers headers or just TypeContants.h?
In this particular case, you would need to copy TypeConstants.h, and Mime.h (the former host of B_MIME_STRING_TYPE).
But as Oliver mentioned, that's all just hacks. Bye, Axel.