Re: ld error
Re: ld error
- Subject: Re: ld error
- From: Hervé Kergourlay <email@hidden>
- Date: Tue, 19 Oct 2004 18:18:27 +0200
I've more precise information
the originating problem seems to be the restFP and saveFP symbols
there are many reference on the web on that problem, someone tells to link
with libgcc.a but it doesn't seem to be better
Building Product library '/usr/people/hky/Sources/tina_dev/Build/POWERMAC_MACOS/g/Lib/
libtina_cu.dylib' (link tina_cu)
ld -dylib -single_module -flat_namespace -undefined suppress /usr/lib/dylib1.o
-
l gcc -o /usr/people/hky/Sources/tina_dev/Build/POWERMAC_MACOS/g/Lib/
libtina_cu.dylib /usr/people/hky/Sources/tina_dev/Build/POWERMAC_MACOS/g/Pack/libUgc.o
/usr/people/hky/Sources/tina_dev/Build/POWERMAC_MACOS/g/Pack/ libTxt_x11.o
ld: /usr/people/hky/Sources/tina_dev/Build/POWERMAC_MACOS/g/Pack/libUgc.o
has external relocation entries in non-writable section (__TEXT,__text)
for symbols:
restFP
saveFP
any idea ?
hervé
Hervé Kergourlay a écrit:
the following
link line doesn't work on MAC OS X 10.3
/usr/bin/ld -dylib -single_module -flat_namespace -undefiined suppress /usr/lib/dylib1.o
-o mylib.dylib obj1.o obj2.o
ld: -single_module ou -multiple_module flags can only be used when -dylib
is also specified
??
-single_module is used with -dylib !!
is it a ld bug ?
hervé
--
_______________________________________________________________________
Hervé Kergourlay bureau 02 97 68 40 29
Chef du groupe Vos
email@hidden fax 02 97 68 40 25
Atempo S.A.
Batiment PIREN - Rue Henri Becquerel - PIBS
56000 Vannes, France http://www.atempo.com
Only those who attempt the absurd can achieve the impossible.
_______________________________________________________________________
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
References: | |
| >ld error (From: Hervé Kergourlay <email@hidden>) |