* [Qemu-devel] FreeBSD != *BSD
@ 2004-08-31 19:34 David Howland
2004-08-31 20:04 ` Kai Cherry
0 siblings, 1 reply; 2+ messages in thread
From: David Howland @ 2004-08-31 19:34 UTC (permalink / raw)
To: qemu-devel
from the 0.6.0 changelog:
" - *BSD port (Markus Niemisto)"
it should be noted that FreeBSD support is not the same as *BSD support.
0.6.0 doesnt compile on NetBSD, not even close. I havn't tried it,
but I doubt OpenBSD will work either, since it is alot more like NetBSD
than FreeBSD.
I've been working on getting it to compile, and I made some progress,
but I've hit a roadblock with bswap.h. It just won't compile, no matter
what. I've used gcc version 2.95 and 3.3, no luck.
NetBSD has no byteswap.h, so qemu's bswap.h does the defines, but I
always get the error:
----------------------------8<-------------------------------
In file included from dyngen.c:205:
bswap.h:46: error: parse error before '(' token
bswap.h:48: error: parse error before "__uint16_t"
bswap.h:51: error: parse error before '(' token
bswap.h:53: error: parse error before "__uint32_t"
bswap.h:57: warning: static declaration for `bswap64' follows non-static
gmake: *** [dyngen] Error 1
----------------------------8<-------------------------------
Any help would be appreciated.
-d
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [Qemu-devel] FreeBSD != *BSD
2004-08-31 19:34 [Qemu-devel] FreeBSD != *BSD David Howland
@ 2004-08-31 20:04 ` Kai Cherry
0 siblings, 0 replies; 2+ messages in thread
From: Kai Cherry @ 2004-08-31 20:04 UTC (permalink / raw)
To: qemu-devel
I think this has more to do with not being able to find inttypes.h. Is
this in /usr/include on your BSD, or /usr/include/sys, perhaps?
If its in sys, then that might be a good place for an #ifdef for your
platorm to change it to <sys/inttypes.h>
-K
On Aug 31, 2004, at 3:34 PM, David Howland wrote:
> NetBSD has no byteswap.h, so qemu's bswap.h does the defines, but I
> always get the error:
> ----------------------------8<-------------------------------
> In file included from dyngen.c:205:
> bswap.h:46: error: parse error before '(' token
> bswap.h:48: error: parse error before "__uint16_t"
> bswap.h:51: error: parse error before '(' token
> bswap.h:53: error: parse error before "__uint32_t"
> bswap.h:57: warning: static declaration for `bswap64' follows
> non-static
> gmake: *** [dyngen] Error 1
> ----------------------------8<-------------------------------
>
> Any help would be appreciated.
> -d
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-08-31 20:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-31 19:34 [Qemu-devel] FreeBSD != *BSD David Howland
2004-08-31 20:04 ` Kai Cherry
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.