I followed the instructions on http://www.haiku-os.org/documents/dev/building_haiku_ubuntu_linux_step_step.
When I tried to “make” the Haiku Jam, I met the following problems:
yzhua3@ubuntu:~/develop/haiku/buildtools/jam$ make
cc -o ./jam0 -O3 builtins.c command.c compile.c execunix.c execvms.c expand.c filent.c fileos2.c fileunix.c filevms.c glob.c hash.c headers.c jam.c jambase.c jamgram.c lists.c make.c make1.c newstr.c option.c parse.c pathunix.c pathvms.c regexp.c rules.c scan.c search.c timestamp.c variable.c
execunix.c: In function ‘execcmd’:
execunix.c:235: warning: incompatible implicit declaration of built-in function ‘_exit’
pathunix.c: In function ‘normalize_path’:
pathunix.c:261: warning: assignment makes pointer from integer without a cast
LINKLIBS= ./jam0
Segmentation fault
make: *** [all] Error 139