4.1.0 fails to compile with --disable-kmods ?

Discussions related to using the OSE version of VirtualBox.
Post Reply
fredlwm
Posts: 6
Joined: 2. Jan 2008, 01:35

4.1.0 fails to compile with --disable-kmods ?

Post by fredlwm »

On IRC, someone suggested I post it on the forum instead of opening a bug report, so here it is.

Trying to compile VirtualBox 4.1.0 with --disable-kmods, the build fails with

kmk: *** No rule to make target `/home/fredlwm/tmp/objdir/out/linux.amd64/release/lib/SUPR0IdcClient.a', needed by `/home/fredlwm/tmp/objdir/out/linux.amd64/release/obj/VBoxPci/vboxpci.ko'. Stop.

Removing --disable-kmods from configure makes the build succeed.

Is this a bug or just me ?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: 4.1.0 fails to compile with --disable-kmods ?

Post by Perryg »

The rules were made using kmod. The --disable-kmods are for internal use (developer) only.
If you want to compile without you would need to edit the compile rules.
If I might ask why are you wanting to try to build without the kernel modules and what do you hope to achieve?
fredlwm
Posts: 6
Joined: 2. Jan 2008, 01:35

Re: 4.1.0 fails to compile with --disable-kmods ?

Post by fredlwm »

If I'm not mistaken, I only started to use --disable-kmods because, at least once, the produced modules without it were unusable (wouldn't load), while those compiled issuing a make in /opt/VirtualBox/src always worked.
Post Reply