On Mon, Jan 12, 2009 at 3:29 AM, lanas <lanas@...> wrote:
> I get the gollowing errors when building 126.96.36.199 with option for VDE
> arch/um/drivers/vde_user.c: In function 'vde_init_libstuff':
> arch/um/drivers/vde_user.c:81: erreur: implicit declaration of function 'kmalloc'
> The make comnmands are the follwoing:
> make mrproper ARCH=um
> make defconfig ARCH=um
> make menuconfig ARCH=um
> (set only option VDE)
Cc to user-mode-linux-devel.
Anybody notices this? UML in the latest linus-git has the same problem.
On Tue, Jan 13, 2009 at 04:57 PM, sniper wrote:
> Anybody notices this? UML in the latest linus-git has the same problem.
Yes, I've posted a patch to -devel list in July, but it seems nobody merged
it. Look for Message-ID: <20080720143929.GD21627@...>
(I'm sorry but I can't browse the web archive at the moment).
Basically you have to use uml_kmalloc() instead of kmalloc().
Beware of programmers who carry screwdrivers.
-- Leonard Brandwein
http://shammash.homelinux.org/ - http://www.artha.org/ - http://www.yue.it/