[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Can't build core/base
From: |
Kal |
Subject: |
Can't build core/base |
Date: |
Wed, 17 Jul 2013 23:12:55 +0200 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 |
Hi,
I can no longer build the latest GNUStep. During the configure step for
core/base I get the following:
checking if the compiler supports -fconstant-string-class... no
configure: error: Your compiler does not appear to implement the
-fconstant-string-class option needed for support of strings. Please
check for a more recent version or consider using --enable-nxconstantstring
The important part of config.log is:
-------------------------------------
configure:13268: checking if the compiler supports -fconstant-string-class
configure:13290: clang -o conftest -g -O2 -I/opt/local/include
-I/opt/local/GNUstep/Local/Library/Headers
-I/opt/local/GNUstep/Local/Library/Headers
-I/opt/local/GNUstep/System/Library/Headers -fgnu-runtime -x
objective-c -fconstant-string-class=FooConstantString -ldispatch
-L/opt/local/GNUstep/Local/Library/Libraries
-L/opt/local/GNUstep/Local/Library/Libraries
-L/opt/local/GNUstep/System/Library/Libraries conftest.c -lrt -ldl
-lpthread -rdynamic -ldispatch -pthread -fexceptions
-fobjc-nonfragile-abi -fgnu-runtime
-L/home/kal/GNUstep/Library/Libraries
-L/opt/local/GNUstep/Local/Library/Libraries
-L/opt/local/GNUstep/System/Library/Libraries -lobjc -lm >&5
In file included from conftest.c:99:
In file included from ././config/config.constant-string-class.m:19:
././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;
^
In file included from conftest.c:99:
././config/config.constant-string-class.m:48:23: warning: incompatible
pointer types initializing 'FooConstantString *' with an expression of
type 'NSString *' [-Wincompatible-pointer-types] FooConstantString
*string = @"Antonio Valente";
^ ~~~~~~~~~~~~~~~~~~
././config/config.constant-string-class.m:62:8: warning: implicitly
declaring library function 'strcmp' with type 'int (const char *, const
char *)'
if (strcmp ([string customString], "Antonio Valente"))
^
././config/config.constant-string-class.m:62:8: note: please include the
header <string.h> or explicitly provide a declaration for 'strcmp'
3 warnings generated.
configure:13294: $? = 0
configure:13300: ./conftest
./configure: line 13302: 11665 Segmentation fault ./conftest$ac_exeext
configure:13304: $? = 139
configure: program exited with status 139
configure: failed program was:
-------------------------------
I am on Debian Wheezy with clang 3.3 (build from source). I also tried
clang 3.2 and I get the same error. I have built older revisions of
GNUStep with clang without trouble.
Any help with this would be much appreciated.
Thanks!
Kal
- Can't build core/base,
Kal <=