Re: garnome 2.8..2 can not build due to libz and ld



I got a reply that solved the problem.
Thanks again to Jonas.

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Build libz as a shared library, then try again.

/Jonas
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Regards

Pierre-Yves
Pierre-Yves Taczynski wrote:
Hello,

I am still trying to build garnome on Solaris.

SunOS hostname 5.8 Generic_108528-29 sun4u sparc SUNW,Sun-Blade-1500 Solaris

I get this error when trying to link with libz.
Please note that I use GNU ld.

Text relocation remains                     referenced
    against symbol            offset    in file
SNIP
fputc 0x2024 /home/ptaczyn/tools/lib/libz.a(gzio.o)
ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status
gmake[12]: *** [libxml2.la] Error 1
gmake[12]: Leaving directory `/home/ptaczyn/tools/versions/garnome/garnome-2.8.2/platform/libxml2/work/main.d/libxml2-2.6.16'
gmake[11]: *** [all-recursive] Error 1
gmake[11]: Leaving directory `/home/ptaczyn/tools/versions/garnome/garnome-2.8.2/platform/libxml2/work/main.d/libxml2-2.6.16'
gmake[10]: *** [all] Error 2
gmake[10]: Leaving directory `/home/ptaczyn/tools/versions/garnome/garnome-2.8.2/platform/libxml2/work/main.d/libxml2-2.6.16'
gmake[9]: *** [build-work/main.d/libxml2-2.6.16/Makefile] Error 2
gmake[9]: Leaving directory `/home/ptaczyn/tools/versions/garnome/garnome-2.8.2/platform/libxml2'
gmake[8]: *** [../../platform/libxml2/cookies/main.d/install] Error 2

Anyone can help on this one (I already googled on this topic without success).

Regards



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