Skip to contentSkip to conversation

Kqemu does not compile with kernel 2.6.22

Qemu-devel Hugo Adrián Segovia Cardozo 2 participants 2 messages Aug 2, 2007 – Aug 3, 2007

lore
Share & tools
lore
#0 lore raw

Hi!
I get the newest version of kqemu (kqemu-1.3.0pre11), and it compiled fine 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 ¡gratis! Regístrate ya - http://correo.espanol.yahoo.com/

#1 lore raw

I just built it for 2.6.22.1 with gcc 3.4.6.

Quoted 40 lines · Hugo Adrián Segovia Cardozo

Hi!
I get the newest version of kqemu (kqemu-1.3.0pre11), and it compiled fine 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 ¡gratis! Regístrate ya - http://correo.espanol.yahoo.com/

Signature · 4 lines
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!