[bt-devel] compile qt static

Brook HUmphrey bt-devel@crosswire.org
01 May 2001 20:12:31 -0700


this is the error i get when compileing qt static. at this point kde and
sword are compiled staticly.

Should I just give it up or is it maybe posible to do this.

 /usr/lib/libqt.a(qfont_x11.o): In function `QFont::initFontInfo(void)
const':
qfont_x11.o(.text+0x119a): undefined reference to `XftPatternGetString'
qfont_x11.o(.text+0x11ac): undefined reference to `XftPatternGetInteger'
qfont_x11.o(.text+0x11c1): undefined reference to `XftPatternGetInteger'
qfont_x11.o(.text+0x11d3): undefined reference to `XftPatternGetInteger'
/usr/lib/libqt.a(qfont_x11.o): In function `QFont::load(void) const':
qfont_x11.o(.text+0x23ea): undefined reference to `XftFontOpen'
/usr/lib/libqt.a(qfont_x11.o): In function `QFontMetrics::inFont(QChar)
const':
qfont_x11.o(.text+0x648d): undefined reference to `XftGlyphExists'
/usr/lib/libqt.a(qfont_x11.o): In function `getExt(QString, int,
XRectangle &, XRectangle &, _XOC *, _XftFont *, QTextCodec const
*)':qfont_x11.o(.text+0x6a00): undefined reference to `XftTextExtents16'
/usr/lib/libqt.a(qfont_x11.o): In function
`QFontMetrics::leftBearing(QChar) const':
qfont_x11.o(.text+0x6bbb): undefined reference to `XftTextExtents32'
/usr/lib/libqt.a(qfont_x11.o): In function
`QFontMetrics::rightBearing(QChar) const':
qfont_x11.o(.text+0x6deb): undefined reference to `XftTextExtents32'
/usr/lib/libqt.a(qfont_x11.o): In function `QFontMetrics::width(QChar)
const':
qfont_x11.o(.text+0x758b): undefined reference to `XftTextExtents32'
/usr/lib/libqt.a(qfont_x11.o): In function `QFontMetrics::width(QString
const &, int) const':
qfont_x11.o(.text+0x77ea): undefined reference to `XftTextExtents16'
/usr/lib/libqt.a(qfont_x11.o): In function
`QFontMetrics::boundingRect(QString const &, int) const':
qfont_x11.o(.text+0x7bc9): undefined reference to `XftTextExtents16'
/usr/lib/libqt.a(qpainter_x11.o): In function
`qt_lookup_ft_draw(unsigned long, QPaintDevice *, QRegion *)':
qpainter_x11.o(.text+0x647): undefined reference to `XftDrawCreate'
qpainter_x11.o(.text+0x659): undefined reference to
`XftDrawCreateBitmap'
qpainter_x11.o(.text+0x704): undefined reference to `XftDrawSetClip'
qpainter_x11.o(.text+0x780): undefined reference to `XftDrawSetClip'
qpainter_x11.o(.text+0x7ac): undefined reference to `XftDrawSetClip'
/usr/lib/libqt.a(qpainter_x11.o): In function `QPainter::drawText(int,
int, QString const &, int)':
qpainter_x11.o(.text+0x721e): undefined reference to
`XftDefaultHasRender'
qpainter_x11.o(.text+0x7412): undefined reference to
`XftDefaultHasRender'
qpainter_x11.o(.text+0x754a): undefined reference to `XftTextExtents16'
qpainter_x11.o(.text+0x75ee): undefined reference to `XftDrawRect'
qpainter_x11.o(.text+0x7692): undefined reference to `XftDrawString16'
/usr/lib/libqt.a(qpainter_x11.o): In function `qt_use_xft(void)':
qpainter_x11.o(.text+0x7969): undefined reference to
`XftDefaultHasRender'
/usr/lib/libqt.a(qpainter_x11.o): In function
`qt_create_ft_draw(_XDisplay *, unsigned long, Visual *, unsigned
long)':
qpainter_x11.o(.text+0x79e8): undefined reference to
`XftDefaultHasRender'
/usr/lib/libqt.a(qpainter_x11.o): In function
`qt_destroy_ft_draw(_XDisplay *, unsigned long)':
qpainter_x11.o(.text+0x7add): undefined reference to `XftDrawDestroy'
/usr/lib/libqt.a(qfontdatabase.o): In function `addStyle(_XftFontSet *,
QtFontCharSet *)':
qfontdatabase.o(.text+0x4a28): undefined reference to
`XftPatternGetString'
qfontdatabase.o(.text+0x4baa): undefined reference to
`XftPatternGetInteger'
qfontdatabase.o(.text+0x4bc9): undefined reference to
`XftPatternGetInteger'
qfontdatabase.o(.text+0x4be5): undefined reference to
`XftPatternGetInteger'
/usr/lib/libqt.a(qfontdatabase.o): In function
`QFontDatabase::createDatabase(void)':
qfontdatabase.o(.text+0x4f0e): undefined reference to `XftListFonts'
qfontdatabase.o(.text+0x4f5c): undefined reference to
`XftPatternGetString'
qfontdatabase.o(.text+0x513a): undefined reference to `XftListFonts'
qfontdatabase.o(.text+0x518c): undefined reference to
`XftPatternGetString'
qfontdatabase.o(.text+0x537f): undefined reference to `XftListFonts'
qfontdatabase.o(.text+0x5400): undefined reference to `XftFontOpen'
qfontdatabase.o(.text+0x57dc): undefined reference to `XftGlyphExists'
qfontdatabase.o(.text+0x59c0): undefined reference to `XftFontClose'
qfontdatabase.o(.text+0x5b7c): undefined reference to
`XftFontSetDestroy'
qfontdatabase.o(.text+0x5ba0): undefined reference to
`XftFontSetDestroy'
qfontdatabase.o(.text+0x5bce): undefined reference to
`XftFontSetDestroy'
/usr/lib/libqt.a(qmngio.o): In function `readdata(mng_data_struct *,
void *, unsigned int, unsigned int *)':
qmngio.o(.text+0x15): undefined reference to `mng_get_userdata'
/usr/lib/libqt.a(qmngio.o): In function `processheader(mng_data_struct
*, unsigned int, unsigned int)':
qmngio.o(.text+0xc4): undefined reference to `mng_get_userdata'
qmngio.o(.text+0x14a): undefined reference to `mng_set_canvasstyle'
/usr/lib/libqt.a(qmngio.o): In function `QMNGFormat::decode(QImage &,
QImageConsumer *, unsigned char const *, int)':
qmngio.o(.text+0x1a5): undefined reference to `mng_initialize'
qmngio.o(.text+0x1b5): undefined reference to `mng_set_suspensionmode'
qmngio.o(.text+0x1c5): undefined reference to `mng_setcb_openstream'
qmngio.o(.text+0x1d5): undefined reference to `mng_setcb_closestream'
qmngio.o(.text+0x1e5): undefined reference to `mng_setcb_readdata'
qmngio.o(.text+0x1f5): undefined reference to `mng_setcb_errorproc'
qmngio.o(.text+0x205): undefined reference to `mng_setcb_processheader'
qmngio.o(.text+0x215): undefined reference to `mng_setcb_getcanvasline'
qmngio.o(.text+0x225): undefined reference to `mng_setcb_refresh'
qmngio.o(.text+0x235): undefined reference to `mng_setcb_gettickcount'
qmngio.o(.text+0x245): undefined reference to `mng_setcb_settimer'
qmngio.o(.text+0x256): undefined reference to `mng_readdisplay'
qmngio.o(.text+0x28d): undefined reference to `mng_display_resume'
/usr/lib/libqt.a(qmngio.o): In function `openstream(mng_data_struct *)':
qmngio.o(.text+0x439): undefined reference to `mng_get_userdata'
/usr/lib/libqt.a(qmngio.o): In function `closestream(mng_data_struct
*)':
qmngio.o(.text+0x459): undefined reference to `mng_get_userdata'
/usr/lib/libqt.a(qmngio.o): In function `errorproc(mng_data_struct *,
int, signed char, int, unsigned int, int, int, char *)':
qmngio.o(.text+0x48d): undefined reference to `mng_get_userdata'
/usr/lib/libqt.a(qmngio.o): In function `getcanvasline(mng_data_struct
*, unsigned int)':
qmngio.o(.text+0x4df): undefined reference to `mng_get_userdata'
/usr/lib/libqt.a(qmngio.o): In function `refresh(mng_data_struct *,
unsigned int, unsigned int, unsigned int, unsigned int)':
qmngio.o(.text+0x539): undefined reference to `mng_get_userdata'
/usr/lib/libqt.a(qmngio.o)(.text+0x5aa): more undefined references to
`mng_get_userdata' follow
/usr/lib/libqt.a(qmngio.o): In function
`QMNGFormat::processheader(unsigned int, unsigned int)':
qmngio.o(.QMNGFormat::gnu.linkonce.t.processheader(unsigned int,
unsigned int)+0x90): undefined reference to `mng_set_canvasstyle'
/usr/lib/libqt.a(qpsprinter.o): In function
`QPSPrinterFont::QPSPrinterFont(QFont const &, QPSPrinterPrivate *)':
qpsprinter.o(.text+0x8dee): undefined reference to `XftPatternGetString'
collect2: ld returned 1 exit status
make[1]: *** [bibletime] Error 1
make[1]: Leaving directory
`/home/thelinu/Desktop/cvsroot/bibletime-1.0.cvs.20010501/bibletime'
make: *** [all-recursive] Error 1
[thelinu@mandrake bibletime]$