[bt-devel] current static build errors.

Joachim Ansorg bt-devel@crosswire.org
Mon, 18 Jun 2001 18:35:29 +0200


Add -lXft to the linker line of BibleTime (Add -lXft in bibletime/Makefile.am 
before or after -lXext).
This should work.

Joachim

> these are the current errors I get for the statis build. I don't get these
> untill the very end of the build so this is one of the last things to link
> against or the final bibletime binary. Sorry it takes so long to report on
> this but it takes about 30 to 45 minutes of compileing to get to this.
>
> I already checked and libXft.a is on my system and if does include
> KftListFonts. The only thing I can think of is that I will need to
> recompile the qt static so that it will contain this. My system already has
> qt static on it but for some reason I am getting this error. Any other
> ideas before I try to recompile a new qt static for my system?
>
> gcc-lib/i586-mandrake-linux/2.96
> -L/usr/lib/gcc-lib/i586-mandrake-linux/2.96/../../.. -lXext -lX11
> /usr/lib/libkfile.a /usr/lib/libksycoca.a /usr/lib/libkio.a
> /usr/lib/libkdeui.a /usr/lib/libkdesu.a /usr/lib/libkdecore.a
> /usr/lib/libkdefakes.a -ldl /usr/lib/libDCOP.a -lqt /usr/lib/libjpeg.a
> -lXext -lX11 -lSM -lICE -lutil -lz -lstdc++ -lm -lc -lgcc -lX11 -lsword
> -Wl,--rpath -Wl,/usr/lib -Wl,--rpath -Wl,/usr/lib/qt2/lib -Wl,--rpath
> -Wl,/usr/X11R6/lib /usr/lib/qt2/lib/libqt.a(qfontdatabase.o): In function
> `QFontDatabase::createDatabase(void)':
> qfontdatabase.o(.text+0x4f0e): undefined reference to `XftListFonts'
> qfontdatabase.o(.text+0x513a): undefined reference to `XftListFonts'
> qfontdatabase.o(.text+0x537f): undefined reference to `XftListFonts'
> collect2: ld returned 1 exit status
> make[3]: *** [bibletime] Error 1
> make[3]: Leaving directory
> `/usr/src/RPM/BUILD/bibletime-1.0.beta/bibletime' make[2]: ***
> [all-recursive] Error 1
> make[2]: Leaving directory
> `/usr/src/RPM/BUILD/bibletime-1.0.beta/bibletime' make[1]: ***
> [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/RPM/BUILD/bibletime-1.0.beta'
> make: *** [all-recursive-am] Error 2
> Bad exit status from /var/tmp/rpm-tmp.81908 (%prep)