| Summary: | qemu doesn't compiles due to lost #include <errno.h> | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | BigBug <romans.heimanis> |
| Component: | Current packages | Assignee: | Luca Barbato <lu_zero> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | Patch wich adds #include <errno.h> in target-i386/helper2.c | ||
|
Description
BigBug
2004-05-17 02:16:38 UTC
Created attachment 31570 [details, diff]
Patch wich adds #include <errno.h> in target-i386/helper2.c
whoops, forget about patch, fixing ;)
I'll take a look, how it fails w/out it? /tmp/portage/qemu-0.5.5/work/qemu-0.5.5/target-i386/helper2.c: In function `modify_ldt': /tmp/portage/qemu-0.5.5/work/qemu-0.5.5/target-i386/helper2.c:38: error: `errno' undeclared (first use in this function) /tmp/portage/qemu-0.5.5/work/qemu-0.5.5/target-i386/helper2.c:38: error: (Each undeclared identifier is reported only once /tmp/portage/qemu-0.5.5/work/qemu-0.5.5/target-i386/helper2.c:38: error: for each function it appears in.) make[1]: *** [helper2.o] Error 1 make[1]: Leaving directory `/tmp/portage/qemu-0.5.5/work/qemu-0.5.5/i386-user' make: *** [all] Error 1 with something like this ;) which targets did you enable? which targets did you enable? Strangely enough I did a grep for errno in the qemu tree and in that file errno isn't present a all. looks like you have somewhat messed up includes, maybe bogus kernel includes? yes, my kernel-headers is broken ;) sorry |