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 ?
4.1.0 fails to compile with --disable-kmods ?
-
- 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 ?
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?
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?
Re: 4.1.0 fails to compile with --disable-kmods ?
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.