discuss-gnustep
[Top][All Lists]
Advanced

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

Re: GNUstep build problem


From: Fred Kiefer
Subject: Re: GNUstep build problem
Date: Wed, 06 Jan 2010 13:41:27 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.1.5) Gecko/20091130 SUSE/3.0.0-1.1.1 Thunderbird/3.0

Not sure whether this will help you, but your problems seem all to come
from the ffcallback library, why not switch over to use ffi
(http://sourceware.org/libffi/), which is better supported on most
platforms anyway?

Fred

PS: To get better answers for you problem you will have rerun the make
process with messages enabled and post the results.

make messages=yes

Am 06.01.2010 13:16, schrieb Andreas Höschler:
> I am trying to build gnustep-base-1.19.3 on Solaris 10 and am getting:
> 
> ...
> Compiling file NSMessagePort.m ...
>  Compiling file NSMessagePortNameServer.m ...
> NSMessagePortNameServer.m: In function '-[NSMessagePortNameServer
> registerPort:forName:]':
> NSMessagePortNameServer.m:411: warning: format '%i' expects type 'int',
> but argument 3 has type 'pid_t'
>  Compiling file GSFFCallInvocation.m ...
> GSFFCallInvocation.m: In function 'GSInvocationCallback':
> GSFFCallInvocation.m:869: warning: value computed is not used
> GSFFCallInvocation.m:869: warning: value computed is not used
> ...
> GSFFCallInvocation.m:1102: warning: value computed is not used
>  Linking library libgnustep-base ...
> Text relocation remains                         referenced
>     against symbol                  offset      in file
> <unknown>                           0x11       
> /usr/local/lib/libcallback.a(misc.o)
> <unknown>                           0x3e       
> /usr/local/lib/libcallback.a(misc.o)
> <unknown>                           0x8b       
> /usr/local/lib/libcallback.a(trampoline.o)
> free                                0x51       
> /usr/local/lib/libcallback.a(trampoline.o)
> abort                               0x22       
> /usr/local/lib/libcallback.a(misc.o)
> abort                               0x4f       
> /usr/local/lib/libcallback.a(misc.o)
> abort                               0x95       
> /usr/local/lib/libcallback.a(trampoline.o)
> fprintf                             0x1d       
> /usr/local/lib/libcallback.a(misc.o)
> fprintf                             0x4a       
> /usr/local/lib/libcallback.a(misc.o)
> __iob                               0x18       
> /usr/local/lib/libcallback.a(misc.o)
> __iob                               0x45       
> /usr/local/lib/libcallback.a(misc.o)
> __iob                               0x74       
> /usr/local/lib/libcallback.a(trampoline.o)
> fwrite                              0x90       
> /usr/local/lib/libcallback.a(trampoline.o)
> malloc                              0x66       
> /usr/local/lib/libcallback.a(trampoline.o)
> ld: fatal: relocations remain against allocatable but non-writable sections
> collect2: ld returned 1 exit status
> make[3]: *** [obj/libgnustep-base.so.1.19.3] Error 1
> make[2]: *** [internal-library-all_] Error 2
> make[1]: *** [libgnustep-base.all.library.variables] Error 2
> make: *** [internal-all] Error 2
> 
> I am using
> 
>     gcc -v
> 
> Using built-in specs.
> Target: i386-pc-solaris2.10
> Configured with: ../configure --with-gnu-as --with-as=/usr/sfw/bin/gas
> --without-gnu-ld --with-ld=/usr/ccs/bin/ld --enable-shared --disable-nls
> --enable-languages=c,c++,objc --disable-multilib
> Thread model: posix
> gcc version 4.2.3




reply via email to

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