Re: gdk_imlib 1.9.4 problems - NetBSD-current



On Sat, 6 Mar 1999, NJ Verenini wrote:

<snip>
> 
> Ok, I fixed it. Talk about your wierd-ass behavior...
> 
> I looked into the problem some more and traced it down to glib. glib
> contains a wrapper for dynamically loading libraries (libgmodule) which
> gdk_imlib uses to load the specific image handler.
> 
> Apparently, my -current build environment (990217) was building a broken
> libgmodule. My specific guess is that egcs (1.1) knackered it up. I
> compiled just libgmodule on a NetBSD 1.3.2 system, took it to mine,
> installed it, and recompiled imlib. That seemed to work. I strongly
> suspect if I had just rebuilt with gcc-2.7.2 on my system it would work
> also. 
> 
> egcs lossage? I would not be surprised...
> 

It might be so. I've just tried building glib with egcs-1.1.2pre2 (only
glib, though). At least it passes testgmodule. Couldn't it be the linker
rather than compiler problem? At least under FreeBSD ELF one needs
additional linker flag '-rdynamic (or --export-dynamic, or -Wl,-E)' for
dynamic loading (in this case gmodule interface) to work.

> -- 
> http://spunet.dynip.com/
> nverenin@spunet.dynip.com
> 
> 
Regards,
Vladimir

===========================|=======================
 Vladimir Kushnir   	   |	
 kushn@mail.kar.net, 	   |	Powered by FreeBSD
 kushnir@ap3.bitp.kiev.ua  |




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