Build problems (linux)

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.

Thank you,
Bolek (from Poland)

There have been problems with the “set_haiku_revision” feature on Linux in the past but I thought they had been resolved.

I recommend re-posting your problem on the development mailing list as you’re likely to catch the interest of Ingo and others who can look into the problem more in depth to figure out what is causing it.

If you’re not already subscribed the mailing list, you can find information here: http://haiku-os.org/community/ml