gnustep-dev
[Top][All Lists]
Advanced

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

DBusKit can't compile with gcc 4.6


From: Germán Arias
Subject: DBusKit can't compile with gcc 4.6
Date: Thu, 09 Jun 2011 17:49:50 -0600

I get the errors:


In file included from config.h:38:0,
                 from DKArgument.m:47:
/usr/local/include/ObjectiveC2/runtime.h:82:15: error: conflicting types
for 'objc_property_t'
/usr/local/lib/gcc/i686-pc-linux-gnu/4.6.0/include/objc/runtime.h:66:31:
note: previous declaration of 'objc_property_t' was here
/usr/local/include/ObjectiveC2/runtime.h:126:1: error: unknown type name
'Method_t'
/usr/local/include/ObjectiveC2/runtime.h:126:10: error: conflicting
types for 'class_copyMethodList'
/usr/local/lib/gcc/i686-pc-linux-gnu/4.6.0/include/objc/runtime.h:736:22: note:
previous declaration of 'class_copyMethodList' was here
/usr/local/include/ObjectiveC2/runtime.h:129:19: error: conflicting
types for 'class_copyPropertyList'
/usr/local/lib/gcc/i686-pc-linux-gnu/4.6.0/include/objc/runtime.h:405:24: note:
previous declaration of 'class_copyPropertyList' was here
/usr/local/include/ObjectiveC2/runtime.h:135:1: error: unknown type name
'Method_t'
/usr/local/include/ObjectiveC2/runtime.h:135:8: error: conflicting types
for 'class_getClassMethod'
/usr/local/lib/gcc/i686-pc-linux-gnu/4.6.0/include/objc/runtime.h:643:20: note:
previous declaration of 'class_getClassMethod' was here
/usr/local/include/ObjectiveC2/runtime.h:139:1: error: unknown type name
'Method_t'
/usr/local/include/ObjectiveC2/runtime.h:139:8: error: conflicting types
for 'class_getInstanceMethod'
/usr/local/lib/gcc/i686-pc-linux-gnu/4.6.0/include/objc/runtime.h:635:20: note:
previous declaration of 'class_getInstanceMethod' was here
/usr/local/include/ObjectiveC2/runtime.h:154:17: error: conflicting
types for 'class_getProperty'
/usr/local/lib/gcc/i686-pc-linux-gnu/4.6.0/include/objc/runtime.h:392:22: note:
previous declaration of 'class_getProperty' was here
/usr/local/include/ObjectiveC2/runtime.h:185:32: error: unknown type
name 'Method_t'
/usr/local/include/ObjectiveC2/runtime.h:187:30: error: unknown type
name 'Method_t'
/usr/local/include/ObjectiveC2/runtime.h:189:37: error: unknown type
name 'Method_t'
/usr/local/include/ObjectiveC2/runtime.h:189:48: error: unknown type
name 'Method_t'
/usr/local/include/ObjectiveC2/runtime.h:191:29: error: unknown type
name 'Method_t'
/usr/local/include/ObjectiveC2/runtime.h:193:30: error: unknown type
name 'Method_t'
/usr/local/include/ObjectiveC2/runtime.h:195:20: error: unknown type
name 'Method_t'
/usr/local/include/ObjectiveC2/runtime.h:197:38: error: unknown type
name 'Method_t'
/usr/local/include/ObjectiveC2/runtime.h:199:27: error: unknown type
name 'Method_t'
/usr/local/include/ObjectiveC2/runtime.h:201:37: error: unknown type
name 'Method_t'
/usr/local/include/ObjectiveC2/runtime.h:203:30: error: unknown type
name 'Method_t'
/usr/local/include/ObjectiveC2/runtime.h:213:4: error: conflicting types
for 'objc_getClass'
/usr/local/lib/gcc/i686-pc-linux-gnu/4.6.0/include/objc/runtime.h:463:19: note:
previous declaration of 'objc_getClass' was here
/usr/local/include/ObjectiveC2/runtime.h:217:4: error: conflicting types
for 'objc_getMetaClass'
/usr/local/lib/gcc/i686-pc-linux-gnu/4.6.0/include/objc/runtime.h:476:19: note:
previous declaration of 'objc_getMetaClass' was here
/usr/local/include/ObjectiveC2/runtime.h:219:4: error: conflicting types
for 'objc_getRequiredClass'
/usr/local/lib/gcc/i686-pc-linux-gnu/4.6.0/include/objc/runtime.h:480:19: note:
previous declaration of 'objc_getRequiredClass' was here
/usr/local/include/ObjectiveC2/runtime.h:221:4: error: conflicting types
for 'objc_lookUpClass'
/usr/local/lib/gcc/i686-pc-linux-gnu/4.6.0/include/objc/runtime.h:469:19: note:
previous declaration of 'objc_lookUpClass' was here
/usr/local/include/ObjectiveC2/runtime.h:253:18: error: conflicting
types for 'protocol_copyPropertyList'
/usr/local/lib/gcc/i686-pc-linux-gnu/4.6.0/include/objc/runtime.h:910:23: note:
previous declaration of 'protocol_copyPropertyList' was here
/usr/local/include/ObjectiveC2/runtime.h:263:17: error: conflicting
types for 'protocol_getProperty'
/usr/local/lib/gcc/i686-pc-linux-gnu/4.6.0/include/objc/runtime.h:895:22: note:
previous declaration of 'protocol_getProperty' was here
make[3]: *** [obj/DBusKit.obj/DKArgument.m.o] Error 1
make[2]: *** [internal-framework-run-compile-submake] Error 2
make[1]: *** [DBusKit.all.framework.variables] Error 2
make: *** [internal-all] Error 2




reply via email to

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