On Fri, Jul 12, 2013 at 6:52 PM, Pete Goodeve <pete.goodeve@xxxxxxxxxxxx> wrote: > Hi, > > I'm still not clear on some of the basic procedures when building > a Haiku image. > > I just updated my git, and am trying to compile. I think I did all > the necessary './configure's and things (I have a "hybrid_config" > script that's supposed to do that), and then did a 'jam -q' in > the generated.x86gcc4 directory. It fails. This seems to be > the relevant output: > > Link > /boot/WORK/HAIKU_DEV/haiku/generated.x86gcc4/objects/haiku/x86/release/add-ons/kernel/busses/virtio/virtio_pci > /boot/WORK/HAIKU_DEV/haiku/generated.x86gcc4/objects/haiku/x86/release/add-ons/kernel/busses/virtio/virtio_pci.o: > In function `uninit_bus(void*)': > virtio_pci.cpp:(.text+0x4d8): undefined reference to `operator > delete[](void*)' > /boot/WORK/HAIKU_DEV/haiku/generated.x86gcc4/objects/haiku/x86/release/add-ons/kernel/busses/virtio/virtio_pci.o: > In function `setup_interrupt(void*, unsigned short)': > virtio_pci.cpp:(.text+0xada): undefined reference to `operator new[](unsigned > long, std::nothrow_t const&)' > collect2: error: ld returned 1 exit status > > I'm assuming this means my development environment is > out of date, but I'm not sure how to fix this. It seems like there is some stale object files that are not being updated correctly. change into your /boot/WORK/HAIKU_DEV/haiku/generated.x86gcc4 directory and run 'jam clean' to clean out the object files. Once that is complete run 'jam -q' again. Since the object files need to rebuilt it will take a bit longer to build, but, should fix your problem.