qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] KQEMU API change


From: Rick Vernam
Subject: Re: [Qemu-devel] KQEMU API change
Date: Mon, 2 Jun 2008 10:06:18 -0500
User-agent: KMail/1.9.9

> Building against an unmodified 2.6.25.4, headers are Gentoo's 2.6.25.3
>
> ./configure
> make
> ...
> make -C /lib/modules/2.6.25.4/build M=`pwd` modules
> make[1]: Entering directory `/usr/src/linux-2.6.25.4'
>   CC [M]  /home/rick/docs/kqemu-1.4.0pre1/kqemu-linux.o
> /home/rick/docs/kqemu-1.4.0pre1/kqemu-linux.c: In
> function 'kqemu_lock_user_page':
> /home/rick/docs/kqemu-1.4.0pre1/kqemu-linux.c:81: error: dereferencing
> pointer to incomplete type
> /home/rick/docs/kqemu-1.4.0pre1/kqemu-linux.c: In function
> 'kqemu_schedule': /home/rick/docs/kqemu-1.4.0pre1/kqemu-linux.c:194: error:
> implicit declaration of function 'need_resched'
> /home/rick/docs/kqemu-1.4.0pre1/kqemu-linux.c:195: error: implicit
> declaration of function 'schedule'
> /home/rick/docs/kqemu-1.4.0pre1/kqemu-linux.c:197: error: implicit
> declaration of function 'signal_pending'

The addition of the following include in kqemu-linux.c allows for successful 
compilation:

#include <linux/sched.h>

Thanks again!




reply via email to

[Prev in Thread] Current Thread [Next in Thread]