Linux build prob

Getting lots of strange errors:

first error (jam -q haiku-image):

…failed C++ generated/objects/linux/x86/release/tools/rc/compile.o …
…skipped <build>librdef.a for lack of <build>librdef.a(compile.o)…
…skipped <build>rc for lack of <build>librdef.a…
…skipped <HaikuImage>haiku.image-init-vars for lack of <build>rc…
…skipped haiku.image for lack of <HaikuImage>haiku.image-init-vars…
…failed updating 1 target(s)…
…skipped 4 target(s)…
…updated 2 target(s)…

and lots of:

don’t know how to make <src!tests!add-ons!kernel!file_systems!udf!udf_shell>fsh.c
don’t know how to make <src!tests!add-ons!kernel!file_systems!udf!udf_shell>external_commands.cpp
don’t know how to make <src!tests!add-ons!kernel!network!core>cksum.c
don’t know how to make <src!tests!add-ons!kernel!network!core>core.c
don’t know how to make <src!tests!add-ons!kernel!network!core>if.c
don’t know how to make <src!tests!add-ons!kernel!network!core>ifq.c
don’t know how to make <src!tests!add-ons!kernel!network!core>in.c
don’t know how to make <src!tests!add-ons!kernel!network!core>inpcb.c
don’t know how to make <src!tests!add-ons!kernel!network!core>mbuf.c
don’t know how to make <src!tests!add-ons!kernel!network!core>misc.c
don’t know how to make <src!tests!add-ons!kernel!network!core>net_timer.c
don’t know how to make <src!tests!add-ons!kernel!network!core>nhash.c
don’t know how to make <src!tests!add-ons!kernel!network!core>pools.c
don’t know how to make <src!tests!add-ons!kernel!network!core>radix.c
don’t know how to make <src!tests!add-ons!kernel!network!core>route.c
don’t know how to make <src!tests!add-ons!kernel!network!core>sockbuf.c
don’t know how to make <src!tests!add-ons!kernel!network!core>socket.c
don’t know how to make <src!tests!add-ons!kernel!network!interfaces!ethernet>ethernet.c
don’t know how to make <src!tests!add-ons!kernel!network!interfaces!loopback>loopback.c
don’t know how to make <src!tests!add-ons!kernel!network!interfaces!ppp>ppp.cpp
don’t know how to make <src!tests!add-ons!kernel!network!interfaces!ppp>PPPManager.cpp
don’t know how to make libbind.so
…patience…
don’t know how to make <src!tests!add-ons!kernel!network!protocols!icmp>icmp.c
don’t know how to make <src!tests!add-ons!kernel!network!protocols!ipv4>ipv4.c
don’t know how to make <src!tests!add-ons!kernel!network!protocols!udp>udp.c
don’t know how to make <src!tests!add-ons!kernel!network!protocols!tcp>tcp.c
don’t know how to make <src!tests!add-ons!kernel!network!protocols!tcp>tcp_debug.c
don’t know how to make <src!tests!add-ons!kernel!network!protocols!tcp>tcp_input.c
don’t know how to make <src!tests!add-ons!kernel!network!protocols!tcp>tcp_output.c
don’t know how to make <src!tests!add-ons!kernel!network!protocols!tcp>tcp_timer.c
don’t know how to make <src!tests!add-ons!kernel!network!protocols!tcp>arc4random.c
don’t know how to make <src!tests!add-ons!kernel!network!protocols!raw>raw.c
don’t know how to make <src!tests!add-ons!kernel!network!protocols!route>route.c

etc, etc…

Using
Ubuntu 6.10
gcc version 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)
Jam 2.5-haiku-20060813. OS=LINUX. Copyright 1993-2002 Christopher Seiwald.
doing a GCC2.95 haiku cross-tools build

euan wrote:
Using Ubuntu 6.10 gcc version 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5) Jam 2.5-haiku-20060813. OS=LINUX. Copyright 1993-2002 Christopher Seiwald. doing a GCC2.95 haiku cross-tools build

I wasn’t able to get the build working on Ubuntu 6.10 either…

Someone else mentioned that possibly some important packages are missing from the default ubuntu install though.

Are you using i386 or amd64? amd64 unfortunately won’t work.
Also make sure you have flex and bison installed. That’s the only things I can think of, sorry. I’m building under edgy i386 and it’s working great.

Hi,

Running i386 ubuntu (beryl doesn’t work with amd64 sadly). I installed the build-essential apt package, as it took me a day or so to find out why I could even compile hello world! :smiley: How sad!

I’m sure I installed flex and “Yacc”? Not sure if I installed Bison, although I did see some checks for either / or bison during ./configure I’ll install bison, rebuild the buildtools, and try again. Thanks everyone…

I’ve installed Bison, and rebuild everything. Seems to have done the trick. There still seems to be a huge amount of stuff in /tests/ that doesn’t build but I guess I can ignore that for now.

Off to install Qemu then test the image. Fingers crossed…

Thanks all.

Just confirming, houston, we have a build. We have a build…

haiku’s booting up just nicely in qemu. :slight_smile:

euan wrote:
Just confirming, houston, we have a build. We have a build...

haiku’s booting up just nicely in qemu. :slight_smile:

NICE!

euan wrote:
Just confirming, houston, we have a build. We have a build...

haiku’s booting up just nicely in qemu. :slight_smile:

Great!
Now, if you want a faster experience, you might want to run in vmware. You can run
qemu-img convert generated/haiku.image -O vmdk generated/haiku.vmdk
from the trunk directory to convert the image to a vmware image.
Then place http://haikuhost.com/misc/haiku.vmx in generated/ and open with vmware player, which you can find in the edgy repositories.

Ekdahl wrote:
Great! Now, if you want a faster experience, you might want to run in vmware. You can run qemu-img convert generated/haiku.image -O vmdk generated/haiku.vmdk from the trunk directory to convert the image to a vmware image. Then place http://haikuhost.com/misc/haiku.vmx in generated/ and open with vmware player, which you can find in the edgy repositories.

Good point!

I also have a vmx here that uses the ipro1000 instead of the vlance if you’d like to try that:

ftp://ftp.binarychicken.com/haiku/haiku.vmx

It does run very well in VMWare on windows here!