no more gif problem + nice surprise

Maksim Lin maksim at swin.edu.au
Sun Apr 18 18:29:26 PDT 1999


Alexandre Oliva wrote:
> 
> On Apr 16, 1999, Maksim Lin <maksim at swin.edu.au> wrote:
> 
> > Well I'm not sure what I did (all I did was delete a few symlinks and
> > put them back again) but gifs are now working fine with beta4, though
> > the Kaffe exe still reports that it's linked to both v4 & v3 of
> > libungif.
> 
> Kaffe's configure script looks for both libgif and libungif, and links
> with both of them.  I'm not sure this is right, though; we should
> probably not look for one of them if we find the other.  But I don't
> know which one is to be preferred, does anybody?
> 
> --
> Alexandre Oliva http://www.dcc.unicamp.br/~oliva IC-Unicamp, Brasil
> {oliva,Alexandre.Oliva}@dcc.unicamp.br  aoliva@{acm.org,computer.org}
> oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
> *** E-mail about software projects will be forwarded to mailing lists

No I meant both versions 3 & 4 of _only_ libungif, here's what I mean:
>ldd /usr/local/kaffe/libexec/Kaffe
        libm.so.6 => /lib/libm.so.6 (0x40004000)
        libjpeg.so.6 => /usr/lib/libjpeg.so.6 (0x4001d000)
        libpng.so.0 => /usr/lib/libpng.so.0 (0x4003b000)

        libungif.so.4 => /usr/local/lib/libungif.so.4 (0x40054000)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

	libungif.so.3 => /usr/lib/libungif.so.3 (0x4005d000)
	^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40064000)
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x4006f000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x40077000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4008b000)
        libkaffevm-1.0b4.so =>
/usr/local/kaffe-1b4/lib/libkaffevm-1.0b4.so (0x40122000)
        libdl.so.2 => /lib/libdl.so.2 (0x40171000)
        libc.so.6 => /lib/libc.so.6 (0x40174000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x00000000)          

Gif's do load, but what I'm worried about is that it only works by
coincidence.  From my understanding when kaffe gets compiled it should
look for say version 4 (which it needs for a new function) and link
against it the libungif.so.4 soname. So why is it also linking against
libungif.so.3 ?
Can someone else check their kaffe exe and tell us whether it is also
linked like this or is it just my wacky systems (happens on both my
RH5.0 machine here at uni & RH5.2 at home).

Maksim.
-- 
Remember Darwin; building a better mousetrap merely results in smarter
mice.


More information about the kaffe mailing list