transparent + tinted terminal aterm compiled & works OK

Frank-Michael Moser moser@decodon.com
Tue May 6 14:51:00 GMT 2003


Thanks, finally it works.
I had to replace all occurenses of -lgif by -lunginf in libAbfter's 
makefiles and had to call aterm's configure explicitely with

configure --with-afterimage-includes=/usr/local/include/libAfterImage 
--with-afterbase-includes=/usr/local/include/libAfterBase 
--with-afterimage-lib=/usr/local/lib --with-afterbase-lib=/usr/local/lib

Frank-Michael


Harold L Hunt II wrote:
> Frank-Michael,
> 
> That is correct.  It must be -lungif.
> 
> Harold
> 
> Frank-Michael Moser wrote:
> 
>> Harold,
>>
>> Thank you for your immediate response.
>>
>> I checked my installation and actually I already had libungif 
>> (4.1.0-2) installed via Cygwin setup. But even though I have just 
>> reinstalled libungif the compilation of libAfter complains:
>>
>> gcc asview.o common.o -L../ -L../../libAfterBase -lAfterImage 
>> -lAfterBase -L/usr/X11R6/lib -lfreetype -ltiff  -ljpeg -lpng -lgif -lz 
>> -lm  -lX11  -rdynamic  -L/usr/X11R6/lib   -lSM -lICE  -o asview
>> gcc: unrecognized option `-rdynamic'
>> /usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bin/ld: 
>> cannot find -lgif
>> collect2: ld returned 1 exit status
>>
>> Maybe -lgif should be -lungif ?
>>
>> Frank-Michael
>>
>>
>> Harold L Hunt II wrote:
>>
>>> Frank-Michael,
>>>
>>> For starters, don't try to compile gif on your own.  Just install the 
>>> Cygwin package for gif (ungif?), then try to build libAfter again.
>>>
>>> What is this -rdynamic business?
>>>
>>> Harold
>>>
>>> Frank-Michael Moser wrote:
>>>
>>>> What did you do to make it compile?
>>>> First I tried to compile aterm and I got
>>>>
>>>> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
>>>>
>>>> gcc -rdynamic -o aterm command.o graphics.o grkelot.o main.o 
>>>> menubar.o misc.o netdisp.o rmemset.o screen.o scrollbar2.o utmp.o 
>>>> xdefaults.o pixmap.o ximage_utils.o thai.o   -lAfterImage 
>>>> -lAfterBase -L/usr/X11R6/lib -lXext  -lSM -lICE  -lX11
>>>> gcc: unrecognized option `-rdynamic'
>>>> /usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bin/ld: 
>>>> cannot find -lAfterImage
>>>> collect2: ld returned 1 exit status
>>>> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
>>>>
>>>>
>>>> So I tried to install libAfter first. But it complained:
>>>>
>>>> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
>>>>
>>>> gcc asview.o common.o -L../ -L../../libAfterBase -lAfterImage 
>>>> -lAfterBase -L/usr/X11R6/lib -lfreetype -ltiff  -ljpeg -lpng -lgif 
>>>> -lz -lm  -lX11  -rdynamic  -L/usr/X11R6/lib   -lSM -lICE  -o asview
>>>> gcc: unrecognized option `-rdynamic'
>>>> /usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bin/ld: 
>>>> cannot find -lgif
>>>> collect2: ld returned 1 exit status
>>>> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
>>>>
>>>>
>>>> OK, so I tried to install libGif (4.1.0) and I got:
>>>>
>>>> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++gcc 
>>>> -g -O2 -I/usr/X11R6/include -o gif2epsn gif2epsn.o 
>>>> ../lib/.libs/libgif.a -L/usr/X11R6/lib -lX11 ../lib/libgetarg.a
>>>> gif2epsn.o(.text+0x2ae): In function `main':
>>>> /src/giflib-4.1.0/util/gif2epsn.c:127: undefined reference to 
>>>> `_GifQuietPrint'
>>>> gif2epsn.o(.text+0x3f6):/src/giflib-4.1.0/util/gif2epsn.c:179: 
>>>> undefined reference to `_DGifOpenFileHandle'
>>>> gif2epsn.o(.text+0x46b):/src/giflib-4.1.0/util/gif2epsn.c:210: 
>>>> undefined reference to `_DGifGetRecordType'
>>>> gif2epsn.o(.text+0x4c4):/src/giflib-4.1.0/util/gif2epsn.c:282: 
>>>> undefined reference to `_DGifCloseFile'
>>>> gif2epsn.o(.text+0x4d5):/src/giflib-4.1.0/util/gif2epsn.c:283: 
>>>> undefined reference to `_PrintGifError'
>>>> gif2epsn.o(.text+0x4e9):/src/giflib-4.1.0/util/gif2epsn.c:216: 
>>>> undefined reference to `_DGifGetImageDesc'
>>>> gif2epsn.o(.text+0x538):/src/giflib-4.1.0/util/gif2epsn.c:224: 
>>>> undefined reference to `_GifQprintf'
>>>> gif2epsn.o(.text+0x5c3):/src/giflib-4.1.0/util/gif2epsn.c:236: 
>>>> undefined reference to `_GifQprintf'
>>>> gif2epsn.o(.text+0x5e1):/src/giflib-4.1.0/util/gif2epsn.c:237: 
>>>> undefined reference to `_DGifGetLine'
>>>> gif2epsn.o(.text+0x61c):/src/giflib-4.1.0/util/gif2epsn.c:246: 
>>>> undefined reference to `_GifQprintf'
>>>> gif2epsn.o(.text+0x63f):/src/giflib-4.1.0/util/gif2epsn.c:247: 
>>>> undefined reference to `_DGifGetLine'
>>>> gif2epsn.o(.text+0x692):/src/giflib-4.1.0/util/gif2epsn.c:257: 
>>>> undefined reference to `_DGifGetExtension'
>>>> gif2epsn.o(.text+0x6b8):/src/giflib-4.1.0/util/gif2epsn.c:262: 
>>>> undefined reference to `_DGifGetExtensionNext'
>>>> gif2epsn.o(.text+0x769):/src/giflib-4.1.0/util/gif2epsn.c:168: 
>>>> undefined reference to `_DGifOpenFileName'
>>>> gif2epsn.o(.text+0xd34): In function `DumpScreen2Epsn':
>>>> /src/giflib-4.1.0/util/gif2epsn.c:443: undefined reference to 
>>>> `_GifQprintf'
>>>> collect2: ld returned 1 exit status
>>>> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
>>>>
>>>>
>>>> And now I don't know what else I could do ;(
>>>>
>>>> Frank-Michael
>>>>
>>>>
>>>> Raphaël Mugneret wrote:
>>>>
>>>>>
>>>>> Hi,
>>>>>
>>>>> I have compiled the Afterstep terminal ATERM (0.4.2) under the 
>>>>> latest Cygwin and Xfree86.
>>>>>
>>>>> To get rid of the bug that causes aterm to use > 90% of cpu and not 
>>>>> refresh properly, pick-up the latest source file command.c (v1.9) 
>>>>> at this address:
>>>>> "http://cvs.afterstep.org/cgi-bin/viewcvs.cgi/aterm/src/?only_with_tag=HEAD" 
>>>>>
>>>>>
>>>>> The bug was fixed monthes ago but never released.
>>>>>
>>>>> Cheers
>>>>>
>>>>> Raphaël
>>>>>
>>>>



More information about the Cygwin-xfree mailing list