From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K3Bc8-0005jw-Mo for qemu-devel@nongnu.org; Mon, 02 Jun 2008 11:06:24 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K3Bc6-0005jG-Rj for qemu-devel@nongnu.org; Mon, 02 Jun 2008 11:06:24 -0400 Received: from [199.232.76.173] (port=58889 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K3Bc6-0005jD-OO for qemu-devel@nongnu.org; Mon, 02 Jun 2008 11:06:22 -0400 Received: from hobi.com ([130.94.185.247]:1395) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K3Bc6-0001xa-HO for qemu-devel@nongnu.org; Mon, 02 Jun 2008 11:06:22 -0400 Received: from unknown (HELO ricklap) ([68.23.60.237]) (envelope-sender ) by 130.94.185.247 (qmail-ldap-1.03) with SMTP for ; 2 Jun 2008 15:06:21 -0000 From: Rick Vernam Subject: Re: [Qemu-devel] KQEMU API change Date: Mon, 2 Jun 2008 10:06:18 -0500 References: <48406B92.1060303@bellard.org> <200806012358.16602.rickv@hobi.com> In-Reply-To: <200806012358.16602.rickv@hobi.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200806021006.18956.rickv@hobi.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org > 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 Thanks again!