[patch available] Re: lguest compilation problem in 2.6.23-rc9



On Fri, 5 Oct 2007 16:21:47 +0100 Luciano Rocha wrote:


$ git describe
v2.6.23-rc9

$ make
...
BUILD arch/i386/boot/bzImage
Root device is (254, 3)
Setup is 11496 bytes (padded to 11776 bytes).
System is 1233 kB
Kernel: arch/i386/boot/bzImage is ready (#1)
Building modules, stage 2.
MODPOST 282 modules
ERROR: "kasprintf" [drivers/lguest/lg.ko] undefined!
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2

Latest Linus' kernel tree:
$ git describe
v2.6.23-rc9-41-g804b3f9
$ make oldconfig
...
$ make
BUILD arch/i386/boot/bzImage
Root device is (254, 3)
Setup is 11496 bytes (padded to 11776 bytes).
System is 1234 kB
Kernel: arch/i386/boot/bzImage is ready (#2)
Building modules, stage 2.
MODPOST 282 modules
ERROR: "kasprintf" [drivers/lguest/lg.ko] undefined!
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2

Config follows.

Fixed by
http://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23-rc8/2.6.23-rc8-mm2/broken-out/move-kasprintfo-to-obj-y.patch

Need to merge now?


---
~Randy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages