On Aug 6, 2006, at 9:39 AM, Michael Barto wrote:

pwbk2003:~/.cpan/build/Math-GMP-2.04 root# make
rm -f blib/arch/auto/Math/GMP/GMP.bundle
LD_RUN_PATH="" env MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle - undefined dynamic_lookup -L/usr/local/lib GMP.o -o blib/arch/auto/ Math/GMP/GMP.bundle -lgmp /usr/bin/ld: /usr/local/lib/libgmp.a(mode1o.o) has local relocation entries in non-writable section (__TEXT,__text)
collect2: ld returned 1 exit status
make: *** [blib/arch/auto/Math/GMP/GMP.bundle] Error 1
pwbk2003:~/.cpan/build/Math-GMP-2.04 root#

The most common reason for the error "local relocation entries in non- writable section" is using -mdynamic-no-pic with bundles and dynamic libraries (it should only be used for applications). Check your log and remove it for building GMP.bundle.

------------------------------------------------------------------------ --
Edward Moy
Apple Computer, Inc.
[EMAIL PROTECTED]

(This message is from me as a reader of this list, and not a statement
from Apple.)

Reply via email to