kqemu compiler error
Hi, I am using slack11, kernel 2.6.22, after ./compile; make, I had the errors:
CC [M] /home/serra/kqemu-1.3.0pre11/kqemu-linux.o/home/serra/kqemu-1.3.0pre11/kqemu-linux.c: In function `kqemu_lock_user_page':/home/serra/kqemu-1.3.0pre11/kqemu-linux.c:82: error: dereferencing pointer to incomplete type /home/serra/kqemu-1.3.0pre11/kqemu-linux.c: In function `kqemu_schedule':/home/serra/kqemu-1.3.0pre11/kqemu-linux.c:195: warning: implicit declaration of function need_resched' /home/serra/kqemu-1.3.0pre11/kqemu-linux.c:196: warning: implicit declaration of function schedule' /home/serra/kqemu-1.3.0pre11/kqemu-linux.c:198: warning: implicit declaration of function `signal_pending'
make[2]: *** [/home/serra/kqemu-1.3.0pre11/kqemu-linux.o] Error 1 make[1]: *** [_module_/home/serra/kqemu-1.3.0pre11] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.22.1'
To fix it, I included <linux/sched.h> in the kqemu-linux.c file.
Quoted 3 lines
Hi, I am using slack11, kernel 2.6.22, after ./compile; make, I had the errors:
...
Quoted 1 line
To fix it, I included <
linux/sched.h> in thekqemu-linux.cfile.
I had the same problem, your solution worked for me too. Thanks!
Hugo Segovia
__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! Regístrate ya - http://correo.espanol.yahoo.com/