|
From: | Kevin Ingwersen |
Subject: | Re: Having build issues on Mac OS X |
Date: | Thu, 28 Nov 2013 12:03:12 +0100 |
For some reason, my configuration fails - for absolutely weird reason… Somebody have a clue? Im somewhat confused. configure:13173: checking whether objc really works configure:13203: gcc -o conftest -I./Headers -I./Headers/ObjectiveC2 -I/opt/GNUstep/usr/local/include -I/opt/GNUstep/usr/local/include -I/opt/GNUstep/usr/local/include -fnext-runtime -DNeXT_RUNTIME -x objective-c -L/opt/GNUstep/usr/local/lib -L/opt/GNUstep/usr/local/lib -L/opt/GNUstep/usr/local/lib conftest.c -ldl -lpthread -shared-libgcc -pthread -fexceptions -fobjc-nonfragile-abi -fnext-runtime -lobjc -lm >&5 In file included from conftest.c:99: In file included from ././config/config.objc.m:2: In file included from ././config/objc-common.g:13: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/objc/Object.h:36: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/objc/objc-runtime.h:1: ./Headers/ObjectiveC2/objc/runtime.h:49:16: error: redefinition of 'objc_object' typedef struct objc_object ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/objc/objc.h:40:8: note: previous definition is here struct objc_object { ^ In file included from conftest.c:99: In file included from ././config/config.objc.m:2: In file included from ././config/objc-common.g:13: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/objc/Object.h:36: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/objc/objc-runtime.h:1: ./Headers/ObjectiveC2/objc/runtime.h:72:23: error: typedef redefinition with different types ('unsigned char' vs 'signed char') typedef unsigned char BOOL; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/objc/objc.h:61:21: note: previous definition is here typedef signed char BOOL; ^ In file included from conftest.c:99: In file included from ././config/config.objc.m:2: In file included from ././config/objc-common.g:13: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/objc/Object.h:36: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/objc/objc-runtime.h:2: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/objc/message.h:36:8: error: redefinition of 'objc_super' struct objc_super { ^ ./Headers/ObjectiveC2/objc/runtime.h:54:8: note: previous definition is here struct objc_super { ^ In file included from conftest.c:99: In file included from ././config/config.objc.m:2: In file included from ././config/objc-common.g:13: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/objc/Object.h:36: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/objc/objc-runtime.h:2: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/objc/message.h:83:16: error: function cannot return function type 'id (id, SEL, ...)' OBJC_EXPORT id objc_msgSend(id self, SEL op, ...) ^ ./Headers/ObjectiveC2/objc/runtime.h:287:72: note: expanded from macro 'objc_msgSend' #define objc_msgSend(theReceiver, theSelector, args...) objc_msg_lookup(theReceiver, theSelector)(theReceiver, theSelector, args) ^ In file included from conftest.c:99: In file included from ././config/config.objc.m:2: In file included from ././config/objc-common.g:13: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/objc/Object.h:36: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/objc/objc-runtime.h:2: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/objc/message.h:99:16: error: expected ')' OBJC_EXPORT id objc_msgSendSuper(struct objc_super *super, SEL op, ...) ^ ./Headers/ObjectiveC2/objc/runtime.h:288:85: note: expanded from macro 'objc_msgSendSuper' #define objc_msgSendSuper(super, op, args...) objc_msg_lookup_super(super, op)(super->receiver, op, args) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/objc/message.h:99:16: note: to match this '(' ./Headers/ObjectiveC2/objc/runtime.h:288:79: note: expanded from macro 'objc_msgSendSuper' #define objc_msgSendSuper(super, op, args...) objc_msg_lookup_super(super, op)(super->receiver, op, args) ^ In file included from conftest.c:99: In file included from ././config/config.objc.m:2: In file included from ././config/objc-common.g:13: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/objc/Object.h:36: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/objc/objc-runtime.h:2: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/objc/message.h:99:16: error: function cannot return function type 'id (struct objc_super *)' OBJC_EXPORT id objc_msgSendSuper(struct objc_super *super, SEL op, ...) ^ ./Headers/ObjectiveC2/objc/runtime.h:288:68: note: expanded from macro 'objc_msgSendSuper' #define objc_msgSendSuper(super, op, args...) objc_msg_lookup_super(super, op)(super->receiver, op, args) ^ In file included from conftest.c:99: In file included from ././config/config.objc.m:2: ././config/objc-common.g:53:3: warning: assignment to Objective-C's isa is deprecated in favor of object_setClass() [-Wdeprecated-objc-isa-usage] obj->isa = self; ^ ~~~~~~~ object_setClass( , ) ././config/objc-common.g:46:5: note: instance variable is declared here id isa; ^ 1 warning and 6 errors generated. configure:13207: $? = 1 configure: program exited with status 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define OPTION_NO_ENVIRONMENT 0 | #define GNUSTEP_TARGET_MAKEFILES "/opt/GNUstep/Library/GNUstep/Makefiles" | #define GNUSTEP_TARGET_USER_DEFAULTS_DIR "Library/Defaults" | #define GNUSTEP_TARGET_USER_CONFIG_FILE "Library/.GNUstep.conf" | #define GNUSTEP_TARGET_CONFIG_FILE "/opt/GNUstep/GNUstep.conf" | #define GNUSTEP_TARGET_SYSTEM_APPS "/opt/GNUstep/Applications" | #define GNUSTEP_TARGET_SYSTEM_ADMIN_APPS "/opt/GNUstep/Applications/Utilities" | #define GNUSTEP_TARGET_SYSTEM_WEB_APPS "/opt/GNUstep/Library/WebApplications" | #define GNUSTEP_TARGET_SYSTEM_TOOLS "/opt/GNUstep/usr/local/bin" | #define GNUSTEP_TARGET_SYSTEM_ADMIN_TOOLS "/opt/GNUstep/usr/local/sbin" | #define GNUSTEP_TARGET_SYSTEM_LIBRARY "/opt/GNUstep/Library" | #define GNUSTEP_TARGET_SYSTEM_LIBRARIES "/opt/GNUstep/usr/local/lib" | #define GNUSTEP_TARGET_SYSTEM_HEADERS "/opt/GNUstep/usr/local/include" | #define GNUSTEP_TARGET_SYSTEM_DOC "/opt/GNUstep/Library/Documentation" | #define GNUSTEP_TARGET_SYSTEM_DOC_MAN "/opt/GNUstep/Library/Documentation/man" | #define GNUSTEP_TARGET_SYSTEM_DOC_INFO "/opt/GNUstep/Library/Documentation/info" | #define GNUSTEP_TARGET_NETWORK_APPS "/opt/GNUstep/Applications" | #define GNUSTEP_TARGET_NETWORK_ADMIN_APPS "/opt/GNUstep/Applications/Utilities" | #define GNUSTEP_TARGET_NETWORK_WEB_APPS "/opt/GNUstep/Library/WebApplications" | #define GNUSTEP_TARGET_NETWORK_TOOLS "/opt/GNUstep/usr/local/bin" | #define GNUSTEP_TARGET_NETWORK_ADMIN_TOOLS "/opt/GNUstep/usr/local/sbin" | #define GNUSTEP_TARGET_NETWORK_LIBRARY "/opt/GNUstep/Library" | #define GNUSTEP_TARGET_NETWORK_LIBRARIES "/opt/GNUstep/usr/local/lib" | #define GNUSTEP_TARGET_NETWORK_HEADERS "/opt/GNUstep/usr/local/include" | #define GNUSTEP_TARGET_NETWORK_DOC "/opt/GNUstep/Library/Documentation" | #define GNUSTEP_TARGET_NETWORK_DOC_MAN "/opt/GNUstep/Library/Documentation/man" | #define GNUSTEP_TARGET_NETWORK_DOC_INFO "/opt/GNUstep/Library/Documentation/info" | #define GNUSTEP_TARGET_LOCAL_APPS "/opt/GNUstep/Applications" | #define GNUSTEP_TARGET_LOCAL_ADMIN_APPS "/opt/GNUstep/Applications/Utilities" | #define GNUSTEP_TARGET_LOCAL_WEB_APPS "/opt/GNUstep/Library/WebApplications" | #define GNUSTEP_TARGET_LOCAL_TOOLS "/opt/GNUstep/usr/local/bin" | #define GNUSTEP_TARGET_LOCAL_ADMIN_TOOLS "/opt/GNUstep/usr/local/sbin" | #define GNUSTEP_TARGET_LOCAL_LIBRARY "/opt/GNUstep/Library" | #define GNUSTEP_TARGET_LOCAL_LIBRARIES "/opt/GNUstep/usr/local/lib" | #define GNUSTEP_TARGET_LOCAL_HEADERS "/opt/GNUstep/usr/local/include" | #define GNUSTEP_TARGET_LOCAL_DOC "/opt/GNUstep/Library/Documentation" | #define GNUSTEP_TARGET_LOCAL_DOC_MAN "/opt/GNUstep/Library/Documentation/man" | #define GNUSTEP_TARGET_LOCAL_DOC_INFO "/opt/GNUstep/Library/Documentation/info" | #define GNUSTEP_TARGET_USER_DIR_APPS "Applications" | #define GNUSTEP_TARGET_USER_DIR_ADMIN_APPS "Applications/Utilities" | #define GNUSTEP_TARGET_USER_DIR_WEB_APPS "Library/WebApplications" | #define GNUSTEP_TARGET_USER_DIR_TOOLS "bin" | #define GNUSTEP_TARGET_USER_DIR_ADMIN_TOOLS "sbin" | #define GNUSTEP_TARGET_USER_DIR_LIBRARY "Library" | #define GNUSTEP_TARGET_USER_DIR_LIBRARIES "Library/Libraries" | #define GNUSTEP_TARGET_USER_DIR_HEADERS "Library/Headers" | #define GNUSTEP_TARGET_USER_DIR_DOC "Library/Documentation" | #define GNUSTEP_TARGET_USER_DIR_DOC_MAN "Library/Documentation/man" | #define GNUSTEP_TARGET_USER_DIR_DOC_INFO "Library/Documentation/info" | #define GNUSTEP_TARGET_SYSTEM_USERS_DIR "" | #define GNUSTEP_TARGET_NETWORK_USERS_DIR "" | #define GNUSTEP_TARGET_LOCAL_USERS_DIR "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define USE_ATOMIC_BUILTINS 1 | #define HAVE_OBJC_RUNTIME_H 1 | #define HAVE_OBJC_OBJC_H 1 | #define HAVE_SA_LEN 1 | #define HAVE_VISIBILITY_ATTRIBUTE 1 | #define SIZEOF_VOIDP 8 | #define SIZEOF_SHORT 2 | #define SIZEOF_INT 4 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_FLOAT 4 | #define SIZEOF_DOUBLE 8 | #define CON_AUTOLOAD 1 | #define HAVE_LIBDL 1 | #define HAVE_DLADDR 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_PTHREAD_H 1 | #define SIZEOF_PTHREAD_MUTEX_T 64 | #define SIZEOF_PTHREAD_COND_T 48 | #define ALIGNOF_PTHREAD_MUTEX_T 8 | #define ALIGNOF_PTHREAD_COND_T 8 | #define HAVE_NANOSLEEP 1 | #define HAVE_USLEEP 1 | #define HAVE_OBJC_ROOT_CLASS_ATTRIBUTE 1 | /* end confdefs.h. */ | #include "./config/config.objc.m" configure:13240: result: no configure:13248: error: The Objective-C compiler does not work or is not installed properly. Am 27.11.2013 um 23:43 schrieb Ivan Vučica <ivan@vucica.net>:
|
[Prev in Thread] | Current Thread | [Next in Thread] |