[haiku-commits] Re: r34216 - haiku/trunk/src/add-ons/kernel/file_systems/bfs

  • From: Ingo Weinhold <ingo_weinhold@xxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 25 Nov 2009 11:36:45 +0100

On 2009-11-25 at 11:26:05 [+0100], Siarzhuk Zharski <zharik@xxxxxx> wrote:
> On Tue, 24 Nov 2009 20:48:33 +0100 (CET), ingo_weinhold@xxxxxx wrote:
> > Author: bonefish
> > Date: 2009-11-24 20:48:32 +0100 (Tue, 24 Nov 2009)
> > New Revision: 34216
> > Changeset: http://dev.haiku-os.org/changeset/34216/haiku
> > 
> > Modified:
> >    haiku/trunk/src/add-ons/kernel/file_systems/bfs/BPlusTree.cpp
> >    haiku/trunk/src/add-ons/kernel/file_systems/bfs/BlockAllocator.cpp
> >    haiku/trunk/src/add-ons/kernel/file_systems/bfs/Debug.cpp
> >    haiku/trunk/src/add-ons/kernel/file_systems/bfs/Inode.cpp
> >    haiku/trunk/src/add-ons/kernel/file_systems/bfs/Journal.cpp
> >    haiku/trunk/src/add-ons/kernel/file_systems/bfs/Query.cpp
> >    haiku/trunk/src/add-ons/kernel/file_systems/bfs/kernel_interface.cpp
> > Log:
> > Replaced "%Ld" and "%lld" in printf()s by the new B_PRI* macros to avoid
> > warnings when building with a 64 bit compiler.
> 
> I'm sorry for bad news, but today morning I have build problems with
> undefined B_PRI* macros. I'm building on Haiku hybrid 4/2. Target system is
> the same. The problem observed during building bfs_shell and bfs FS addon.
> Where those macros should be defined?

The macros are defined in <SupportDefs.h>. I'm afraid your Haiku is no 
longer Haiku compatible. Copying headers/config to /boot/develop/headers and 
replacing the system's <BeBuild.h> and <SupportDefs.h> should solve the 
problem. If it doesn't, with replacing the complete set of headers you 
should be on the safe side. If that doesn't help either, please post the 
build log (the failing part at least).

CU, Ingo

Other related posts: