qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [Patch] ENOMEDIUM fix for Darwin and *BSD


From: Joe Batt
Subject: Re: [Qemu-devel] [Patch] ENOMEDIUM fix for Darwin and *BSD
Date: Fri, 26 Jan 2007 15:57:34 -0000

Have all the Darwin changes been committed?

I was compiling with the default compiler.

joe-batts-computer:~/qemu battjt$ gcc --version
i686-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5363)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

At one point last summer, with a bunch of ugly hacks before my harddrive failure, I thought I was able to compile a working version of qemu on the MacBook(Intel/white) with gcc-3.4.

gcc -Wall -O2 -g -fno-strict-aliasing -I. -D_GNU_SOURCE - D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -mdynamic-no-pic -o dyngen dyngen.c
dyngen.c: In function 'get_reloc_name':
dyngen.c:1013: warning: pointer targets in passing argument 2 of 'fetch_next_pair_value' differ in signedness dyngen.c:1015: warning: pointer targets in passing argument 2 of 'fetch_next_pair_value' differ in signedness dyngen.c:1017: warning: pointer targets in passing argument 2 of 'fetch_next_pair_value' differ in signedness
dyngen.c: In function 'gen_code':
dyngen.c:1817: error: 'struct relocation_info' has no member named 'r_offset' dyngen.c:1818: error: 'struct relocation_info' has no member named 'r_offset' dyngen.c:1822: error: 'struct relocation_info' has no member named 'r_offset' dyngen.c:1836: error: 'struct relocation_info' has no member named 'r_offset'
dyngen.c:1879:2: error: #error unsupport object format
dyngen.c:1813: warning: unused variable 'type'
make: *** [dyngen] Error 1

Has anyone tracked the changes made by the guys working on Q.app? Were those committed? That worked pretty well, but I just want a command line qemu as a consistent env across my mac, linux and win32 devices.

Joe

On Jan 26, 2007, at 9:53 AM, Pierre d'Herbemont wrote:

Hi,

This fix,

/qemu/hw/ide.c: In function `ide_atapi_io_error':
/qemu/hw/ide.c:972: error: `ENOMEDIUM' undeclared (first use in this function)

on Darwin and certainly on other *BSDs

Pierre.

<enomedium_darwin.diff.txt>
_______________________________________________
Qemu-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/qemu-devel





reply via email to

[Prev in Thread] Current Thread [Next in Thread]