[openbeos] Re: building fs_shell on linux

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Fri, 01 Jul 2005 18:34:11 +0200 CEST

Philipp Schmid <schmidp-lists@xxxxxxxxx> wrote:
> I've managed to compile nearly the complete Haiku tree under Linux, 
> but
> I'm having a problem with the fs_shell.

Strangely enough.
You can build Haiku's BFS? It's the same line there, if that's working, 
it certainly doesn't get any clearer.

> src/tests/add-ons/kernel/file_systems/bfs/r5/Inode.cpp:1608: error:
> cannot bind packed field `data->
> data_stream::max_double_indirect_range'
> to `off_t&'

I guess it's complaining about the "packed" attribute the data_stream 
structure has (and needs, although it should work on x86 without it). 
That doesn't make a lot of sense to me, as it only has to pass in a 
pointer - might even be a bug in GCC, although someone seems to have 
written that error message :)
Have you introduced any optimization flags that were not part of the 
build? Does a -O0 build work?

> This is (hopefully) the last missing piece (beside a problem building
> bash) for me to build a working Haiku image under Linux.

I cannot remember we have resolved the numerous build issues that 
prevented that from working, but who cares? ;-)

Bye,
   Axel.


Other related posts: