PDA

View Full Version : gcc 3.0.4



pooka
07-09-2002, 01:03 AM
Am i the only one that having problems compiling qt-2.3.2 using gcc 3.0.4?



and yes i did change lines 3 ,4 39.54 to gcc-3.0.4 or g++ 3.0.4


any tricks in compiling qt 2.3.2 using gcc 3.0.4
are appreciated...

Wishbringer
07-09-2002, 02:15 AM
GCC 3.0.4 compiles qt-2.3.2 without problems.

You did correct symlinks? defined qtdir? extended path var?
what error occurs?....

..... can't process... lag of input... need input.... bzzz... krrrrzzz.....

(system rebooting.... please wait)

pooka
07-09-2002, 03:41 AM
In file included from kernel/qpsprinter.cpp:97:
kernel/qt_x11.h:65:22: X11/Xlib.h: No such file or directory
kernel/qt_x11.h:71:23: X11/Xutil.h: No such file or directory
kernel/qt_x11.h:72:21: X11/Xos.h: No such file or directory
kernel/qt_x11.h:73:23: X11/Xatom.h: No such file or directory
kernel/qt_x11.h:84:34: X11/extensions/shape.h: No such file or directory
kernel/qpsprinter.cpp: In method `USHORT
QPSPrinterFontTTF::unicode_for_glyph(int)':
kernel/qpsprinter.cpp:3328: warning: `ULONG offset' might be used uninitialized in this function
kernel/qpsprinter.cpp: In constructor `QPSPrinterFont::QPSPrinterFont(const
QFont&, QPSPrinterPrivate*)':
kernel/qpsprinter.cpp:5195: `XGetFontPath' undeclared (first use this function)
kernel/qpsprinter.cpp:5195: (Each undeclared identifier is reported only once
for each function it appears in.)
kernel/qpsprinter.cpp:5235: `XFreeFontPath' undeclared (first use this
function)
kernel/qpsprinter.cpp: In method `QPSPrinterFont::QPSPrinterFont(const QFont&,
QPSPrinterPrivate*)':
kernel/qpsprinter.cpp:5194: warning: `char**font_path' might be used
uninitialized in this function
kernel/qpsprinter.cpp: In method `QPSPrinterFont::QPSPrinterFont(const QFont&,
QPSPrinterPrivate*)':
kernel/qpsprinter.cpp:5194: warning: `char**font_path' might be used
uninitialized in this function
make[3]: *** [kernel/qpsprinter.o] Error 1
make[3]: Leaving directory `/usr/lib/qt-2.3.2/src'
make[2]: *** [src-mt] Error 2
make[2]: Leaving directory `/usr/lib/qt-2.3.2'
make[1]: *** [src-mt] Error 2
make[1]: Leaving directory `/usr/lib/qt-2.3.2'
make: *** [init] Error 2



This is the errors i got from compiling 2.3.2 using .0.4 BTW i'm using mandrake 8.2

high_jeeves
07-09-2002, 08:04 AM
Ahhh.. lack of using the walkthrough strikes again!



kernel/qt_x11.h:65:22: X11/Xlib.h: No such file or directory
kernel/qt_x11.h:71:23: X11/Xutil.h: No such file or directory
kernel/qt_x11.h:72:21: X11/Xos.h: No such file or directory
kernel/qt_x11.h:73:23: X11/Xatom.h: No such file or directory
kernel/qt_x11.h:84:34: X11/extensions/shape.h: No such file or directory


Hmm... cant find X11 headers... perhaps the X11 development rpms arent installed? Check the walkthrough.. install all the packages.. then proceed...

--Jeeves