Skip to content

Instantly share code, notes, and snippets.

@hirokai
Last active December 15, 2015 02:09
Show Gist options
  • Save hirokai/5184702 to your computer and use it in GitHub Desktop.
Save hirokai/5184702 to your computer and use it in GitHub Desktop.
hfsevents Installation error log
Last login: Sun Mar 17 18:10:57 on ttys000
Hiroyukis-MacBook-Air:~ hiroyuki$ cabal unpack hfsevents
Unpacking to hfsevents-0.1.3/
Hiroyukis-MacBook-Air:~ hiroyuki$ cd hfsevents-0.1.3/
Hiroyukis-MacBook-Air:hfsevents-0.1.3 hiroyuki$ ghc -v -c -odir dist/build -Idist/build -Icbits -optc-O2 cbits/c_fsevents.c
Glasgow Haskell Compiler, Version 7.4.2, stage 2 booted by GHC version 7.0.4
Using binary package database: /opt/local/lib/ghc-7.4.2/package.conf.d/package.cache
Using binary package database: /Users/hiroyuki/.ghc/x86_64-darwin-7.4.2/package.conf.d/package.cache
hiding package split-0.2.1.1 to avoid conflict with later version split-0.2.1.2
hiding package Cabal-1.14.0 to avoid conflict with later version Cabal-1.16.0.3
wired-in package ghc-prim mapped to ghc-prim-0.2.0.0-7d3c2c69a5e8257a04b2c679c40e2fa7
wired-in package integer-gmp mapped to integer-gmp-0.4.0.0-af3a28fdc4138858e0c7c5ecc2a64f43
wired-in package base mapped to base-4.5.1.0-81d626fb996bc7e140a3fd4481b338cd
wired-in package rts mapped to builtin_rts
wired-in package template-haskell mapped to template-haskell-2.7.0.0-93d2599e276977129e4cb0f934d52532
wired-in package dph-seq not found.
wired-in package dph-par not found.
Hsc static flags: -static
Created temporary directory: /var/folders/3x/kwnr6c3x0k91bl73pqcq6qw00000gn/T/ghc29803_0
*** C Compiler:
'/opt/local/bin/gcc-mp-4.7' '-m64' '-fno-stack-protector' '-m64' '-x' 'c' 'cbits/c_fsevents.c' '-o' '/var/folders/3x/kwnr6c3x0k91bl73pqcq6qw00000gn/T/ghc29803_0/ghc29803_0.s' '-fno-common' '-U __PIC__' '-D__PIC__' '-S' '-Wimplicit' '-O' '-D__GLASGOW_HASKELL__=704' '-DTABLES_NEXT_TO_CODE' '-O2' '-I' 'dist/build' '-I' 'cbits' '-I' '/opt/local/include' '-I' '/opt/local/lib/ghc-7.4.2/base-4.5.1.0/include' '-I' '/opt/local/lib/ghc-7.4.2/include'
In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:5:0:
0,
from /usr/include/os/object.h:74,
from /usr/include/dispatch/dispatch.h:48,
from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFMessagePort.h:11,
from /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:68,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:18,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20,
from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:18,
from cbits/c_fsevents.c:1:
/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:409:1:
error: stray '@' in program
/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:409:2:
error: unknown type name 'class'
/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:411:28:
error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:412:44:
error: expected declaration specifiers or '...' before 'NSString'
/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:414:28:
error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:415:43:
error: expected declaration specifiers or '...' before 'NSString'
/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:417:28:
error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:418:28:
error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:422:30:
error: expected declaration specifiers or '...' before 'NSString'
/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:423:31:
error: expected declaration specifiers or '...' before 'NSString'
In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:6:0:
0,
from /usr/include/os/object.h:74,
from /usr/include/dispatch/dispatch.h:48,
from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFMessagePort.h:11,
from /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:68,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:18,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20,
from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:18,
from cbits/c_fsevents.c:1:
/System/Library/Frameworks/Foundation.framework/Headers/NSZone.h:8:1:
error: stray '@' in program
/System/Library/Frameworks/Foundation.framework/Headers/NSZone.h:8:2:
error: unknown type name 'class'
/System/Library/Frameworks/Foundation.framework/Headers/NSZone.h:16:52:
error: expected declaration specifiers or '...' before 'NSString'
/System/Library/Frameworks/Foundation.framework/Headers/NSZone.h:17:28:
error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
In file included from /usr/include/os/object.h:74:0:
0,
from /usr/include/dispatch/dispatch.h:48,
from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFMessagePort.h:11,
from /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:68,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:18,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20,
from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:18,
from cbits/c_fsevents.c:1:
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:8:1:
error: stray '@' in program
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:8:2:
error: unknown type name 'class'
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:9:1:
error: stray '@' in program
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:9:2:
error: unknown type name 'class'
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:13:1:
error: stray '@' in program
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:13:2:
error: unknown type name 'protocol'
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:15:1:
error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:16:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:18:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:19:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:20:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:21:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:23:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:24:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:25:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:27:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:29:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:30:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:31:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:33:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:35:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:36:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:37:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:38:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:40:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:41:1:
error: stray '@' in program
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:42:1:
error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:44:1:
error: stray '@' in program
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:46:1:
error: stray '@' in program
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:44:2:
error: unknown type name 'end'
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:46:11:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'NSCopying'
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:50:1:
error: stray '@' in program
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:52:1:
error: stray '@' in program
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:50:2:
error: unknown type name 'end'
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:52:11:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'NSMutableCopying'
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:56:1:
error: stray '@' in program
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:58:1:
error: stray '@' in program
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:56:2:
error: unknown type name 'end'
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:58:11:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'NSCoding'
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:61:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:63:1:
error: stray '@' in program
In file included from /usr/include/os/object.h:74:0:
0,
from /usr/include/dispatch/dispatch.h:48,
from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFMessagePort.h:11,
from /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:68,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:18,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20,
from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:18,
from cbits/c_fsevents.c:1:
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:66:1:
error: stray '@' in program
In file included from /usr/include/os/object.h:74:0:
0,
from /usr/include/dispatch/dispatch.h:48,
from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFMessagePort.h:11,
from /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:68,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:18,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20,
from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:18,
from cbits/c_fsevents.c:1:
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:63:2:
error: unknown type name 'end'
In file included from /usr/include/os/object.h:74:0:
0,
from /usr/include/dispatch/dispatch.h:48,
from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFMessagePort.h:11,
from /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:68,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:18,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20,
from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:18,
from cbits/c_fsevents.c:1:
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:66:11:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'NSSecureCoding'
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:67:1:
error: stray '@' in program
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:71:1:
error: stray '@' in program
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:76:1:
error: stray '@' in program
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:71:2:
error: unknown type name 'end'
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:76:12:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'NSObject'
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:80:1:
error: expected identifier or '(' before '+' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:82:1:
error: expected identifier or '(' before '+' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:83:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:85:1:
error: expected identifier or '(' before '+' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:86:1:
error: expected identifier or '(' before '+' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:87:1:
error: expected identifier or '(' before '+' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:88:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:90:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:92:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:93:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:95:1:
error: expected identifier or '(' before '+' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:96:1:
error: expected identifier or '(' before '+' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:98:1:
error: expected identifier or '(' before '+' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:99:1:
error: expected identifier or '(' before '+' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:100:1:
error: expected identifier or '(' before '+' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:101:1:
error: expected identifier or '(' before '+' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:102:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:103:1:
error: expected identifier or '(' before '+' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:104:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:106:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:107:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:108:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:110:1:
error: expected identifier or '(' before '+' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:112:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:113:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:115:1:
error: expected identifier or '(' before '+' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:117:1:
error: expected identifier or '(' before '+' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:119:1:
error: expected identifier or '(' before '+' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:120:1:
error: expected identifier or '(' before '+' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:122:1:
error: stray '@' in program
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:124:1:
error: stray '@' in program
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:122:2:
error: unknown type name 'end'
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:124:12:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'NSObject'
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:127:1:
error: expected identifier or '(' before '+' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:128:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:129:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:130:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:132:1:
error: stray '@' in program
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:135:1:
error: stray '@' in program
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:132:2:
error: unknown type name 'end'
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:135:12:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'NSObject'
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:143:1:
error: stray '@' in program
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:149:1:
error: stray '@' in program
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:143:2:
error: unknown type name 'end'
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:149:11:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'NSDiscardableContent'
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:150:1:
error: stray '@' in program
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:149:11:
error: unknown type name 'NSDiscardableContent'
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:152:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:153:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:154:1:
error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:155:1:
error: stray '@' in program
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:157:1:
error: stray '@' in program
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:155:2:
error: unknown type name 'end'
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:157:12:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'NSObject'
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:159:1:
error: stray '@' in program
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:164:1:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'extern'
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h: In function 'CFBridgingRelease':
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:198:12:
error: expected expression before '[' token
In file included from /usr/include/dispatch/dispatch.h:50:0:
0,
from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFMessagePort.h:11,
from /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:68,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:18,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20,
from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:18,
from cbits/c_fsevents.c:1:
/usr/include/dispatch/object.h: At top level:
/usr/include/dispatch/object.h:49:1: error: stray '@' in program
/usr/include/dispatch/object.h:49:1:
error: unknown type name 'protocol'
/usr/include/dispatch/object.h:49:1: error: stray '@' in program
/usr/include/dispatch/object.h:49:1:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'end'
/usr/include/dispatch/object.h:55:27:
error: unknown type name 'dispatch_object_t'
/usr/include/dispatch/object.h:124:16:
error: unknown type name 'dispatch_object_t'
/usr/include/dispatch/object.h:130:17:
error: unknown type name 'dispatch_object_t'
/usr/include/dispatch/object.h:149:17:
error: unknown type name 'dispatch_object_t'
/usr/include/dispatch/object.h:175:18:
error: unknown type name 'dispatch_object_t'
/usr/include/dispatch/object.h:198:22:
error: unknown type name 'dispatch_object_t'
/usr/include/dispatch/object.h:216:22:
error: unknown type name 'dispatch_object_t'
/usr/include/dispatch/object.h:242:26:
error: unknown type name 'dispatch_object_t'
/usr/include/dispatch/object.h:266:18:
error: unknown type name 'dispatch_object_t'
/usr/include/dispatch/object.h:281:17:
error: unknown type name 'dispatch_object_t'
In file included from /usr/include/dispatch/dispatch.h:52:0:
0,
from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFMessagePort.h:11,
from /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:68,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:18,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20,
from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:18,
from cbits/c_fsevents.c:1:
/usr/include/dispatch/queue.h:67:1: error: stray '@' in program
/usr/include/dispatch/queue.h:67:1:
error: unknown type name 'protocol'
/usr/include/dispatch/queue.h:67:1:
error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
/usr/include/dispatch/queue.h:67:1: error: stray '@' in program
/usr/include/dispatch/queue.h:75:1: error: stray '@' in program
/usr/include/dispatch/queue.h:75:1:
error: unknown type name 'protocol'
/usr/include/dispatch/queue.h:75:1:
error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
/usr/include/dispatch/queue.h:75:1: error: stray '@' in program
/usr/include/dispatch/queue.h:178:18:
error: unknown type name 'dispatch_queue_t'
/usr/include/dispatch/queue.h:244:17:
error: unknown type name 'dispatch_queue_t'
/usr/include/dispatch/queue.h:310:37:
error: unknown type name 'dispatch_queue_t'
/usr/include/dispatch/queue.h:344:1:
error: unknown type name 'dispatch_queue_t'
/usr/include/dispatch/queue.h:425:1:
error: unknown type name 'dispatch_queue_t'
/usr/include/dispatch/queue.h:484:1:
error: unknown type name 'dispatch_queue_t'
/usr/include/dispatch/queue.h:484:42:
error: unknown type name 'dispatch_queue_attr_t'
/usr/include/dispatch/queue.h:503:26:
error: unknown type name 'dispatch_queue_t'
/usr/include/dispatch/queue.h:558:27:
error: unknown type name 'dispatch_object_t'
/usr/include/dispatch/queue.h:558:53:
error: unknown type name 'dispatch_queue_t'
/usr/include/dispatch/queue.h:638:2:
error: unknown type name 'dispatch_queue_t'
/usr/include/dispatch/queue.h:718:26:
error: unknown type name 'dispatch_queue_t'
/usr/include/dispatch/queue.h:777:25:
error: unknown type name 'dispatch_queue_t'
/usr/include/dispatch/queue.h:820:29:
error: unknown type name 'dispatch_queue_t'
/usr/include/dispatch/queue.h:850:29:
error: unknown type name 'dispatch_queue_t'
In file included from /usr/include/dispatch/dispatch.h:53:0:
0,
from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFMessagePort.h:11,
from /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:68,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:18,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20,
from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:18,
from cbits/c_fsevents.c:1:
/usr/include/dispatch/source.h:52:1: error: stray '@' in program
/usr/include/dispatch/source.h:52:1:
error: unknown type name 'protocol'
/usr/include/dispatch/source.h:52:1:
error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
/usr/include/dispatch/source.h:52:1: error: stray '@' in program
/usr/include/dispatch/source.h:294:1:
error: unknown type name 'dispatch_source_t'
/usr/include/dispatch/source.h:297:2:
error: unknown type name 'dispatch_queue_t'
/usr/include/dispatch/source.h:339:37:
error: unknown type name 'dispatch_source_t'
/usr/include/dispatch/source.h:398:38:
error: unknown type name 'dispatch_source_t'
/usr/include/dispatch/source.h:426:24:
error: unknown type name 'dispatch_source_t'
/usr/include/dispatch/source.h:445:28:
error: unknown type name 'dispatch_source_t'
/usr/include/dispatch/source.h:475:28:
error: unknown type name 'dispatch_source_t'
/usr/include/dispatch/source.h:505:26:
error: unknown type name 'dispatch_source_t'
/usr/include/dispatch/source.h:542:26:
error: unknown type name 'dispatch_source_t'
/usr/include/dispatch/source.h:563:28:
error: unknown type name 'dispatch_source_t'
/usr/include/dispatch/source.h:600:27:
error: unknown type name 'dispatch_source_t'
/usr/include/dispatch/source.h:655:44:
error: unknown type name 'dispatch_source_t'
In file included from /usr/include/dispatch/dispatch.h:54:0:
0,
from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFMessagePort.h:11,
from /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:68,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:18,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20,
from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:18,
from cbits/c_fsevents.c:1:
/usr/include/dispatch/group.h:34:1: error: stray '@' in program
/usr/include/dispatch/group.h:34:1:
error: unknown type name 'protocol'
/usr/include/dispatch/group.h:34:1:
error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
/usr/include/dispatch/group.h:34:1: error: stray '@' in program
/usr/include/dispatch/group.h:56:1:
error: unknown type name 'dispatch_group_t'
/usr/include/dispatch/group.h:120:24:
error: unknown type name 'dispatch_group_t'
/usr/include/dispatch/group.h:121:2:
error: unknown type name 'dispatch_queue_t'
/usr/include/dispatch/group.h:163:21:
error: unknown type name 'dispatch_group_t'
/usr/include/dispatch/group.h:230:25:
error: unknown type name 'dispatch_group_t'
/usr/include/dispatch/group.h:231:2:
error: unknown type name 'dispatch_queue_t'
/usr/include/dispatch/group.h:253:22:
error: unknown type name 'dispatch_group_t'
/usr/include/dispatch/group.h:272:22:
error: unknown type name 'dispatch_group_t'
In file included from /usr/include/dispatch/dispatch.h:55:0:
0,
from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFMessagePort.h:11,
from /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:68,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:18,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20,
from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:18,
from cbits/c_fsevents.c:1:
/usr/include/dispatch/semaphore.h:35:1:
error: stray '@' in program
/usr/include/dispatch/semaphore.h:35:1:
error: unknown type name 'protocol'
/usr/include/dispatch/semaphore.h:35:1:
error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
/usr/include/dispatch/semaphore.h:35:1:
error: stray '@' in program
/usr/include/dispatch/semaphore.h:62:1:
error: unknown type name 'dispatch_semaphore_t'
/usr/include/dispatch/semaphore.h:87:25:
error: unknown type name 'dispatch_semaphore_t'
/usr/include/dispatch/semaphore.h:109:27:
error: unknown type name 'dispatch_semaphore_t'
In file included from /usr/include/dispatch/dispatch.h:57:0:
0,
from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFMessagePort.h:11,
from /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:68,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:18,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20,
from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:18,
from cbits/c_fsevents.c:1:
/usr/include/dispatch/data.h:42:1: error: stray '@' in program
/usr/include/dispatch/data.h:42:1:
error: unknown type name 'protocol'
/usr/include/dispatch/data.h:42:1:
error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
/usr/include/dispatch/data.h:42:1: error: stray '@' in program
In file included from /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:68:0:
0,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:18,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20,
from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:18,
from cbits/c_fsevents.c:1:
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFMessagePort.h:57:67:
error: unknown type name 'dispatch_queue_t'
In file included from /System/Library/Frameworks/DiskArbitration.framework/Headers/DADisk.h:28:0:
0,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h:56,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h:26,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:87,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20,
from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:18,
from cbits/c_fsevents.c:1:
/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h:186:32:
error: unknown type name 'dispatch_queue_t'
In file included from /System/Library/Frameworks/DiskArbitration.framework/Headers/DADisk.h:30:0:
0,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h:56,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h:26,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:87,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20,
from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:18,
from cbits/c_fsevents.c:1:
/System/Library/Frameworks/DiskArbitration.framework/Headers/DASession.h:87:62:
error: unknown type name 'dispatch_queue_t'
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:220:0:
0,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20,
from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:18,
from cbits/c_fsevents.c:1:
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/FSEvents.h:1056:3:
error: unknown type name 'dispatch_queue_t'
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDLabel.h:20:0:
0,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/Metadata.h:11,
from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:46,
from cbits/c_fsevents.c:1:
/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Headers/MDQuery.h:533:58:
error: unknown type name 'dispatch_queue_t'
cbits/c_fsevents.c: In function 'osVersion':
cbits/c_fsevents.c:106:4:
warning: 'Gestalt' is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Gestalt.h:123) [-Wdeprecated-declarations]
cbits/c_fsevents.c:107:4:
warning: 'Gestalt' is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Gestalt.h:123) [-Wdeprecated-declarations]
cbits/c_fsevents.c:108:4:
warning: 'Gestalt' is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Gestalt.h:123) [-Wdeprecated-declarations]
*** Deleting temp files:
Deleting: /var/folders/3x/kwnr6c3x0k91bl73pqcq6qw00000gn/T/ghc29803_0/ghc29803_0.s
Warning: deleting non-existent /var/folders/3x/kwnr6c3x0k91bl73pqcq6qw00000gn/T/ghc29803_0/ghc29803_0.s
*** Deleting temp dirs:
Deleting: /var/folders/3x/kwnr6c3x0k91bl73pqcq6qw00000gn/T/ghc29803_0
Hiroyukis-MacBook-Air:hfsevents-0.1.3 hiroyuki$ which gcc
/usr/bin/gcc
Hiroyukis-MacBook-Air:hfsevents-0.1.3 hiroyuki$ ls -la /usr/bin/gcc
lrwxr-xr-x 1 root wheel 12 Jul 27 2012 /usr/bin/gcc -> llvm-gcc-4.2
Hiroyukis-MacBook-Air:hfsevents-0.1.3 hiroyuki$ /usr/bin/gcc --version
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)
Copyright (C) 2007 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.
Hiroyukis-MacBook-Air:hfsevents-0.1.3 hiroyuki$ gcc
gcc gcc-ar-mp-4.7 gcc-mp-4.7 gcc-ranlib-mp-4.7
gcc-4.2 gcc-mp-4.6 gcc-nm-mp-4.7 gccmakedep
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment