Page 1 of 1

build 2.0.2 on debian linux with a 2.6.27 custom kernel

PostPosted: 17. Oct 2008, 15:06
by radiodee1
I have debian linux, lenny, and a custom 2.6.27 kernel. I want to build virtualbox deb packages for my system. I unpack the tar ball and execute
Code: Select all   Expand viewCollapse view
fakeroot debian/rules binary

but it doesn't work. It complains about g++. Then I edit the 'debian/rules' file so that '--with-gcc-compat=gcc-3.4' is passed as a parameter to '.configure' by debian/rules. This works a little better, and the program starts to compile, but after about a minute it stops:
Code: Select all   Expand viewCollapse view
kmk[2]: *** [/home/dave/VirtualBox-2.0.2/debian/builddir/obj/RuntimeR0Drv/common/alloc/alloc.o] Error 1

(I won't include the failing command unless someone really wants to see it)... I got the software to compile on a 2.6.26 kernel using the same process, so I don't know what's wrong. Any help would be appreciated.