[haiku-development] build problems (linux)

  • From: "Bolesław Kulbabiński" <bolekk@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Wed, 28 Nov 2007 18:25:25 +0100

Hello,

I've encountered this problem while jamming the haiku source:

CopySetHaikuRevision1
generated/objects/haiku/x86/release/system/kernel/revisioned/kernel_x86
Usage: set_haiku_revision

Finds the haiku revision section in ELF object file and replaces the
writes the number given by into the first 32 bits of the
section.

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:generated/objects/linux/lib
revision=`(LANG=C svn info . 2> /dev/null || echo Revision: 0) |
grep Revision | awk '{printf $2}'`
generated/objects/linux/x86/release/tools/copyattr --data
generated/objects/haiku/x86/release/system/kernel/kernel_x86
generated/objects/haiku/x86/release/system/kernel/revisioned/kernel_x86 &&
generated/objects/linux/x86/release/tools/set_haiku_revision
generated/objects/haiku/x86/release/system/kernel/revisioned/kernel_x86
${revision}

...failed CopySetHaikuRevision1
generated/objects/haiku/x86/release/system/kernel/revisioned/kernel_x86 ...
...removing
generated/objects/haiku/x86/release/system/kernel/revisioned/kernel_x86
...skipped haiku.image-copy-files-dummy-beos/system for lack of
kernel_x86...

It seems as if "set_haiku_revision" didn't find "kernel_x86" in
generated/objects/haiku/x86/release/system/kernel/revisioned/ ...
At first I simply copied it there from
generated/objects/haiku/x86/release/system/kernel/ and the image was built
succesfully (I managed to boot haiku via vmware). But now I want to build it
again and making such copy of "kernel_x86" doesn't work.

Can anybody help me? Maybe it is only a matter of editing some configs - to
copy "kernel_x86" to this directory before running "set_haiku_revision" but
I'm
new to Haiku and don't know where to look for it.
I removed the <revisioned> tags standing before "kernel_x86" and "libroot.so"
in build/jam/HaikuImage file and now it's working without any problems but I
don't think it's a good solution...

Thank you,
Bolek (from Poland)

Other related posts: