FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 09-08-2012, 03:05 PM
"Roland Häder"
 
Default Possible fix for splashutils 1.5.4.4

I ran into this trouble:
--------------------------------------
/usr/lib/gcc/i486-pc-linux-gnu/4.5.3/../../../../lib/libfreetype.a(ftbzip2.o): In function `ft_bzip2_stream_close':
(.text+0x121): undefined reference to `BZ2_bzDecompressEnd'
/usr/lib/gcc/i486-pc-linux-gnu/4.5.3/../../../../lib/libfreetype.a(ftbzip2.o): In function `ft_bzip2_file_fill_output':
(.text+0x1e3): undefined reference to `BZ2_bzDecompress'
/usr/lib/gcc/i486-pc-linux-gnu/4.5.3/../../../../lib/libfreetype.a(ftbzip2.o): In function `ft_bzip2_stream_io':
(.text+0x3cb): undefined reference to `BZ2_bzDecompressEnd'
/usr/lib/gcc/i486-pc-linux-gnu/4.5.3/../../../../lib/libfreetype.a(ftbzip2.o): In function `ft_bzip2_stream_io':
(.text+0x41f): undefined reference to `BZ2_bzDecompressInit'
/usr/lib/gcc/i486-pc-linux-gnu/4.5.3/../../../../lib/libfreetype.a(ftbzip2.o): In function `FT_Stream_OpenBzip2':
(.text+0x593): undefined reference to `BZ2_bzDecompressInit'
--------------------------------------
This happens when the build script attempts to link fbsplashctl. I had to unsilent the whole process and found out that a variable in /var/tmp/portage/media-gfx/splashutils-1.5.4.4/work/splashutils-1.5.4.4/src/Makefile(.*) needs to be extended, so here is what it fixes (quick'n'dirty, I know):

--------------------------------------
fbsplashctl_LDADD = libfbsplashrender.la libfbsplash.la $(PTHREAD_STATIC_LIBS) $(RT_LIBS) $(GPM_LIBS) /usr/lib/libbz2.a
--------------------------------------

All what I have added was "/usr/lib/libbz2.a" and the linker is happy again.

I know it is not 'final' so can a C hacker come up and fix this?

Roland
 

Thread Tools




All times are GMT. The time now is 10:47 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org