Re: compile issue [-lgif]

Sasha Vasko (sasha@aftercode.net)
Wed, 13 Aug 2003 09:09:08 -0500


I think you can safely install libgif instead of libungif, as patents 
have long expired, and there is no reason whatsoever to use libungif. 
Besides libungif is screwed up anyways and should not be used.

Cheers
Sasha

Frank Gore wrote:
> Here's the result of compiling using gcc-3.2.3 (text file attached)
> 
> Disabling gif support altogether fixed the problem, but now I have no 
> support for gif files. I do have libungif-4.1.0b1 istalled. I do not 
> have libgif installed.
> 
> Frank
> 
> 
> ------------------------------------------------------------------------
> 
> make[1]: Entering directory `/usr/src/local/AfterStep-2.00.beta1/src/ascp'
> gcc -O3 -march=athlon-xp -mcpu=athlon-xp -mfpmath=sse -msse -m3dnow -fexpensive-optimizations -fomit-frame-pointer -Wall
> -fPIC -DNO_DEBUG_OUTPUT  -I.. -I../..  -I/usr/X11R6/include   -c ascolor.c
> gcc ascolor.o ../../libAfterConf/libAfterConf.a ../../libAfterStep/libAfterStep.a ../../libAfterImage/libAfterImage.a
> ../../libAfterBase/libAfterBase.a  -lfreetype -lz -ltiff -ljpeg -lpng -lgif -lz -lm  -lXinerama -lX11  -rdynamic
> -L/usr/X11R6/lib   -lSM
> -lICE -lXext  -o ascolor
> /usr/bin/ld: cannot find -lgif
> collect2: ld returned 1 exit status
> make[1]: *** [ascolor] Error 1
> make[1]: Leaving directory `/usr/src/local/AfterStep-2.00.beta1/src/ascp'
> make[1]: Entering directory `/usr/src/local/AfterStep-2.00.beta1/src/Pager'
> gcc -O3 -march=athlon-xp -mcpu=athlon-xp -mfpmath=sse -msse -m3dnow -fexpensive-optimizations -fomit-frame-pointer -Wall
> -fPIC -DNO_DEBUG_OUTPUT  -I.. -I../..  -I/usr/X11R6/include   -c Pager.c
> gcc Pager.o ../../libAfterConf/libAfterConf.a ../../libAfterStep/libAfterStep.a ../../libAfterImage/libAfterImage.a
> ../../libAfterBase/libAfterBase.a -lfreetype -lz -ltiff -ljpeg -lpng -lgif -lz -lm  -lXinerama -lX11  -rdynamic
> -L/usr/X11R6/lib   -lSM -lICE -lXext  -o Pager
> /usr/bin/ld: cannot find -lgif
> collect2: ld returned 1 exit status
> make[1]: *** [Pager] Error 1
> make[1]: Leaving directory `/usr/src/local/AfterStep-2.00.beta1/src/Pager'
> make[1]: Entering directory `/usr/src/local/AfterStep-2.00.beta1/src/Wharf'
> gcc -O3 -march=athlon-xp -mcpu=athlon-xp -mfpmath=sse -msse -m3dnow -fexpensive-optimizations -fomit-frame-pointer -Wall
> -fPIC -DNO_DEBUG_OUTPUT  -I.. -I../..  -I/usr/X11R6/include  -I. -c Wharf.c
> Wharf.c: In function `GetOptions':
> Wharf.c:364: warning: concatenation of string literals with __FUNCTION__ is deprecated
> Wharf.c:431: warning: concatenation of string literals with __FUNCTION__ is deprecated
> Wharf.c: In function `GetBaseOptions':
> Wharf.c:445: warning: concatenation of string literals with __FUNCTION__ is deprecated
> gcc Wharf.o ../../libAfterConf/libAfterConf.a ../../libAfterStep/libAfterStep.a ../../libAfterImage/libAfterImage.a
> ../../libAfterBase/libAfterBase.a -lfreetype -lz -ltiff -ljpeg -lpng -lgif -lz -lm  -lXinerama -lX11  -rdynamic
> -L/usr/X11R6/lib   -lSM -lICE -lXext  -o Wharf
> /usr/bin/ld: cannot find -lgif
> collect2: ld returned 1 exit status
> make[1]: *** [Wharf] Error 1
> make[1]: Leaving directory `/usr/src/local/AfterStep-2.00.beta1/src/Wharf'
> make[1]: Entering directory `/usr/src/local/AfterStep-2.00.beta1/src/WinList2'
> gcc -O3 -march=athlon-xp -mcpu=athlon-xp -mfpmath=sse -msse -m3dnow -fexpensive-optimizations -fomit-frame-pointer -Wall
> -fPIC -DNO_DEBUG_OUTPUT  -I.. -I../..  -I/usr/X11R6/include   -c WinList.c
> gcc WinList.o ../../libAfterConf/libAfterConf.a ../../libAfterStep/libAfterStep.a ../../libAfterImage/libAfterImage.a
> ../../libAfterBase/libAfterBase.a -lfreetype -lz -ltiff -ljpeg -lpng -lgif -lz -lm  -lXinerama -lX11  -rdynamic
> -L/usr/X11R6/lib   -lSM -lICE -lXext  -o WinList
> /usr/bin/ld: cannot find -lgif
> collect2: ld returned 1 exit status
> make[1]: *** [WinList] Error 1
> make[1]: Leaving directory `/usr/src/local/AfterStep-2.00.beta1/src/WinList2'
> make: *** [all] Error 1
> 

_______________________________________________
The AfterStep Window Manager for X User's Mailing List
http://mail.afterstep.org/mailman/listinfo/as-users