From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IGrDo-0007Dd-Vk for qemu-devel@nongnu.org; Fri, 03 Aug 2007 03:05:17 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IGrDn-0007Ay-8M for qemu-devel@nongnu.org; Fri, 03 Aug 2007 03:05:16 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IGrDn-0007Af-37 for qemu-devel@nongnu.org; Fri, 03 Aug 2007 03:05:15 -0400 Received: from mx20.gnu.org ([199.232.41.8]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IGrDm-0000vV-AK for qemu-devel@nongnu.org; Fri, 03 Aug 2007 03:05:14 -0400 Received: from an-out-0708.google.com ([209.85.132.249]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IGrDl-0000RK-J7 for qemu-devel@nongnu.org; Fri, 03 Aug 2007 03:05:13 -0400 Received: by an-out-0708.google.com with SMTP id d11so197881and for ; Fri, 03 Aug 2007 00:05:12 -0700 (PDT) Message-ID: <9b0d5f320708030005xa850639j25f120a329379462@mail.gmail.com> Date: Fri, 3 Aug 2007 03:05:12 -0400 From: WaxDragon Subject: Re: [Qemu-devel] Kqemu does not compile with kernel 2.6.22 In-Reply-To: <588799.20091.qm@web38410.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <588799.20091.qm@web38410.mail.mud.yahoo.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 I just built it for 2.6.22.1 with gcc 3.4.6. On 8/2/07, Hugo Adri=E1n Segovia Cardozo wrote: > Hi! > I get the newest version of kqemu (kqemu-1.3.0pre11), and it compiled fin= e > in various kernels up to 2.6.21. > But when I tried to compile it with 2.6.22, I get this error: > > CC [M] /home/hc/tmp/kqemu-1.3.0pre11/kqemu-linux.o > /home/hc/tmp/kqemu-1.3.0pre11/kqemu-linux.c: In function > 'kqemu_lock_user_page': > /home/hc/tmp/kqemu-1.3.0pre11/kqemu-linux.c:81: error: dereferencing > pointer to incomplete type > /home/hc/tmp/kqemu-1.3.0pre11/kqemu-linux.c: In function 'kqemu_schedule'= : > /home/hc/tmp/kqemu-1.3.0pre11/kqemu-linux.c:194: warning: implicit > declaration of function 'need_resched' > /home/hc/tmp/kqemu-1.3.0pre11/kqemu-linux.c:195: warning: implicit > declaration of function 'schedule' > /home/hc/tmp/kqemu-1.3.0pre11/kqemu-linux.c:197: warning: implicit > declaration of function 'signal_pending' > make[2]: *** [/home/hc/tmp/kqemu-1.3.0pre11/kqemu-linux.o] Error 1 > make[1]: *** [_module_/home/hc/tmp/kqemu-1.3.0pre11] Error 2 > make[1]: Leaving directory `/usr/src/linux-2.6.22' > make: *** [kqemu.ko] Error 2 > > This minds I cannot use kqemu with 2.6.22? Should I go back to 2.6.21? > > BTW, I use Mandriva GNU/Linux 2006, with gcc 4.0.1, make 3.80 and glibc > 2.3.6. > > Thanks in advance. > > Hugo Segovia > > > __________________________________________________ > Correo Yahoo! > Espacio para todos tus mensajes, antivirus y antispam =A1gratis! > Reg=EDstrate ya - http://correo.espanol.yahoo.com/ > > > > --=20 22:38 <@WaxDragon> false ^ true 22:39 < false> :( 22:39 < false> dont you think you can XOR me and get away with it! I always return!