Re: [gtk-list] Re: ltconfig



[Shawn T. Amundson]

| The Solaris ld(1) man page:
| 
|      -z text     In dynamic mode only, force a fatal error if any
|                  relocations  against  non-writable,  allocatable
|                  sections remain.
| 
| I'm not sure if it is an problem with Solaris x86 ld or with some
| part of the libgtk code or even gcc.  This problem doesn't show up 
| at all in linking glib, libgdk, or libgimp. 

I "fixed" the problem here by hacking[1] up shared library versions of
the libraries containing the symbols ld kept complaining about.

I believe the libraries in question are

	termcap-1.9
	readline-2.1
	gettext-0.10

(Dunno if I hacked all of these because of GTk, though -- it might
have been something else that complained in a similar fashion)

Compilation has gone smoothly ever since.

Of course, as I have no idea whether I did all this in a sane enough
manner to keep the functionality of the libraries intact, I will never
know whether my apps crash because they are broken or because I have
hacked away a bit too happily on the libs -- not to worry, though,
I'll keep asking here when something stuffs up :)


[1] Given the automake input files for the above listed, making shared
    libraries when needed should be a breeze -- just use libtool.  I
    just had my first go at automake, autoconf and libtool the other
    day, and found it quite a pain trying to reverse-engineer the
    needed Makefile.am for gettext-0.10.  For the other two libs, I
    compiled every file by hand until things stopped complaining :)
-- 
Harald



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