From: WORLDCUP FIFA <dudrndhkeodclfdl@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Block.h error while building qemu on Mac 10.6.2
Date: Tue, 8 Dec 2009 10:09:19 +0900 [thread overview]
Message-ID: <a7bc52740912071709g1f9251c3n7cc44ec5ca7d20e6@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 4588 bytes --]
I got this error while compiling qemu
In file included from
> /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h:28,
from
> /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:218,
from
> /System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20,
from
> /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:21,
from
> /System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h:17,
from
> /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:81,
from
> /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12,
from cocoa.m:38:
./Block.h:59: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
> ‘*’ token
./Block.h:60: error: expected ‘)’ before ‘*’ token
./Block.h:61: error: expected ‘)’ before ‘*’ token
./Block.h:62: error: expected ‘)’ before ‘*’ token
./Block.h:63: error: expected ‘)’ before ‘*’ token
./Block.h:65: error: expected ‘)’ before ‘*’ token
./Block.h:66: error: expected ‘)’ before ‘*’ token
./Block.h:68: error: expected ‘)’ before ‘*’ token
./Block.h:70: error: expected ‘)’ before ‘*’ token
./Block.h:72: error: expected ‘)’ before ‘*’ token
./Block.h:74: error: expected ‘)’ before ‘*’ token
./Block.h:75: error: expected ‘)’ before ‘*’ token
./Block.h:76: error: expected ‘)’ before ‘*’ token
./Block.h:77: error: expected ‘)’ before ‘*’ token
./Block.h:78: error: expected ‘)’ before ‘*’ token
./Block.h:83: error: expected ‘)’ before ‘*’ token
./Block.h:86: error: expected ‘)’ before ‘*’ token
./Block.h:98: error: expected ‘)’ before ‘*’ token
./Block.h:101: error: expected ‘)’ before ‘*’ token
./Block.h:112: error: expected ‘)’ before ‘*’ token
./Block.h:114: error: expected ‘)’ before ‘*’ token
./Block.h:115: error: expected ‘)’ before ‘*’ token
./Block.h:116: error: expected ‘)’ before ‘*’ token
./Block.h:118: error: expected ‘)’ before ‘*’ token
./Block.h:119: error: expected ‘)’ before ‘*’ token
./Block.h:120: error: expected ‘)’ before ‘*’ token
./Block.h:121: error: expected ‘)’ before ‘*’ token
./Block.h:122: error: expected ‘)’ before ‘*’ token
./Block.h:123: error: expected ‘)’ before ‘*’ token
./Block.h:124: error: expected ‘)’ before ‘*’ token
./Block.h:125: error: expected ‘)’ before ‘*’ token
./Block.h:126: error: expected ‘)’ before ‘*’ token
./Block.h:127: error: expected ‘)’ before ‘*’ token
./Block.h:128: error: expected ‘)’ before ‘*’ token
./Block.h:130: error: expected ‘)’ before ‘*’ token
./Block.h:131: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
> before ‘*’ token
./Block.h:133: error: expected ‘)’ before ‘*’ token
./Block.h:134: error: expected ‘)’ before ‘*’ token
./Block.h:137: error: expected ‘)’ before ‘*’ token
./Block.h:138: error: expected ‘)’ before ‘*’ token
./Block.h:140: error: expected ‘)’ before ‘*’ token
./Block.h:142: error: expected ‘)’ before ‘*’ token
./Block.h:144: error: expected ‘)’ before ‘*’ token
./Block.h:146: error: expected ‘)’ before ‘*’ token
./Block.h:148: error: expected ‘)’ before ‘*’ token
./Block.h:149: error: expected ‘)’ before ‘*’ token
./Block.h:152: error: expected ‘)’ before ‘*’ token
cocoa.m:45: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
> ‘*’ token
cocoa.m: In function ‘cocoa_update’:
cocoa.m:80: warning: implicit declaration of function ‘NewRgn’
cocoa.m:80: warning: initialization makes pointer from integer without a
> cast
cocoa.m:81: warning: initialization makes pointer from integer without a
> cast
cocoa.m:83: warning: implicit declaration of function ‘SetEmptyRgn’
cocoa.m:86: warning: implicit declaration of function ‘MacSetRectRgn’
cocoa.m:88: warning: implicit declaration of function ‘MacUnionRgn’
cocoa.m:91: warning: implicit declaration of function ‘QDFlushPortBuffer’
cocoa.m:91: error: ‘qd_view’ undeclared (first use in this function)
cocoa.m:91: error: (Each undeclared identifier is reported only once
cocoa.m:91: error: for each function it appears in.)
cocoa.m:92: warning: implicit declaration of function ‘DisposeRgn’
cocoa.m: In function ‘cocoa_resize’:
cocoa.m:125: error: ‘qd_view’ undeclared (first use in this function)
Can anyone help how can solve this?
[-- Attachment #2: Type: text/html, Size: 21133 bytes --]
reply other threads:[~2009-12-08 1:09 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a7bc52740912071709g1f9251c3n7cc44ec5ca7d20e6@mail.gmail.com \
--to=dudrndhkeodclfdl@gmail.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).