|
From: | Charalampos Emmanouilidis |
Subject: | libobjc2 build broken on OS X |
Date: | Sat, 1 Dec 2012 10:44:46 +0100 |
The current version (git master branch) of libobjc2 does not compile for OS X. associate.m:423:40: warning: direct access to objective-c's isa is deprecated in favor of object_setClass() and object_getClass() [-Wdeprecated-objc-isa-usage] id new = class_createInstance(object->isa, 0); ^ 11 warnings generated. Compiling blocks_runtime.m... Compiling block_to_imp.c... block_to_imp.c:43:10: warning: implicit declaration of function 'asprintf' is invalid in C99 [-Wimplicit-function-declaration] if (0 > asprintf(&tmpPattern, "%s/objc_trampolinesXXXXXXXXXXX", tmp)) ^ block_to_imp.c:139:17: warning: implicitly declaring library function 'strdup' with type 'char *(const char *)' char *buffer = strdup(block_getType_np(block)); ^ block_to_imp.c:139:17: note: please include the header <string.h> or explicitly provide a declaration for 'strdup' 2 warnings generated. Assembling block_trampolines.S... Assembler messages: Fatal error: invalid listing option `r' clang: error: assembler command failed with exit code 1 (use -v to see invocation) make: *** [block_trampolines.o] Error 1
Yoy may refer to my build log for details: It would be really great if anybody has a solution to this! I want to use GNUstep for cross platform development (OS X, Linux, iOS, Android, Windows) and I need to get libobjc2 and gnustep-base running on OS X. |
[Prev in Thread] | Current Thread | [Next in Thread] |