* [Qemu-devel] kqemu compiler error
@ 2007-08-08 13:07 Gustavo Serra
2007-08-10 12:50 ` Hugo Adrián Segovia Cardozo
0 siblings, 1 reply; 2+ messages in thread
From: Gustavo Serra @ 2007-08-08 13:07 UTC (permalink / raw)
To: qemu-devel
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] kqemu compiler error
2007-08-08 13:07 [Qemu-devel] kqemu compiler error Gustavo Serra
@ 2007-08-10 12:50 ` Hugo Adrián Segovia Cardozo
0 siblings, 0 replies; 2+ messages in thread
From: Hugo Adrián Segovia Cardozo @ 2007-08-10 12:50 UTC (permalink / raw)
To: qemu-devel
> Hi, I am using slack11, kernel 2.6.22, after ./compile; make, I had the
> errors:
...
> To fix it, I included <linux/sched.h> in the kqemu-linux.c file.
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/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-08-10 12:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-08 13:07 [Qemu-devel] kqemu compiler error Gustavo Serra
2007-08-10 12:50 ` Hugo Adrián Segovia Cardozo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).