discuss-gnustep
[Top][All Lists]
Advanced

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

Re: can gnustep libraries be pic-enabled?


From: tgate
Subject: Re: can gnustep libraries be pic-enabled?
Date: Fri, 10 Nov 2006 12:57:50 -0800
User-agent: Thunderbird 1.5.0.7 (X11/20060911)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


> 
>>  Linking library libgnustep-base ...
>> /usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld:
> 
>> /usr/local/lib/libcallback.a(misc.o): relocation R_X86_64_32 against `a
>> local symbol' can not be used when making a shared object; recompile
>> with -fPIC
>> /usr/local/lib/libcallback.a: could not read symbols: Bad value
> 
> Looks like a problem in libcallback rather than in GNUstep.
> 
> You can try getting the source of ffcall and building that as 64bit PIC
> rather than using the version which came with your system ... probably
> you need to do something like CC='gcc -fPIC' when configuring ffcall.
> 
> 


Well, I've gone back and removed everything, started over, and
recompiled ffcall with:
        CFLAGS="-fPIC -m64" and
        CPPFLAGS="-fPIC -m64" and with
        "configure --enable-shared"

That seemed to work but I still get the same error.

What sort of information would be helpfull in trying to debug this?

- -todd
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFFVOfOiOO2Yf3Jt4ARAlTDAJsFh3H0jS16kZwYuQeFjro0iocM6ACfcZKq
viF33aLlmPtvtbLMGXUQZqE=
=S6/C
-----END PGP SIGNATURE-----




reply via email to

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