Can't compile QT properly.. - Questions

This is a discussion on Can't compile QT properly.. - Questions ; Hi, i need to compile QT 3.1.2 with a static archive libqt.a, and i've tried sevral things, but none seem to work. i always get problems with an object file from glibc-devel: /usr/lib/crt1.o I'm working on Red Hat 7.1 or ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: Can't compile QT properly..

  1. Can't compile QT properly..

    Hi, i need to compile QT 3.1.2 with a static archive libqt.a, and i've
    tried sevral things, but none seem to work. i always get problems
    with an object file from glibc-devel: /usr/lib/crt1.o

    I'm working on Red Hat 7.1 or 7.2 and i use -static -disable-opengl
    -fast
    as args for ./configure

    Everything goes roundly and all the files compile and it breaks when
    trying to link libqt.so which it shouldn't be trying to anyway, since
    i need the libqt.a

    Please help me if you can, cause i've already wasted too much time on
    this..

    pj



    Here's the error output:

    ======== Rebuilding "../lib/libqt.so.3.1.2" ========
    test -d ../lib/ || mkdir -p ../lib/
    rm -f libqt.so.3.1.2 libqt.so libqt.so.3 libqt.so.3.1
    g++ -static -Wl,-soname,libqt.so.3
    -Wl,-rpath,/.automount/tcmvega55/root/data1/jtools/Config/CHANNELHEARTBEAT_LINUX/qt-x11-commercial-3.1.2/lib
    -o libqt.so.3.1.2 .obj/release-shared/qtaddons_x11.o
    ..obj/release-shared/qapplication_x11.o
    ..obj/release-shared/qclipboard_x11.o .obj/release-shared/qcolor_x11.o
    .obj/release-shared/qcursor_x11.o .obj/release-shared/qdnd_x11.o
    ..obj/release-shared/qdesktopwidget_x11.o
    ..obj/release-shared/qeventloop_x11.o
    ..obj/release-shared/qinputcontext_x11.o
    ..obj/release-shared/qmotifdnd_x11.o .obj/release-shared/qpixmap_x11.o
    .obj/release-shared/qpaintdevice_x11.o
    ..obj/release-shared/qpainter_x11.o .obj/release-shared/qregion_x11.o
    ..obj/release-shared/qsound_x11.o .obj/release-shared/qwidget_x11.o
    ..obj/release-shared/qwidgetcreate_x11.o
    ..obj/release-shared/qprinter_unix.o
    ..obj/release-shared/qeventloop_unix.o
    ..obj/release-shared/qpsprinter.o .obj/release-shared/qprocess_unix.o
    ..obj/release-shared/qthread_unix.o
    ..obj/release-shared/qabstractlayout.o
    ..obj/release-shared/qucomextra.o .obj/release-shared/qaccel.o
    ..obj/release-shared/qapplication.o
    ..obj/release-shared/qasyncimageio.o .obj/release-shared/qasyncio.o
    ..obj/release-shared/qbitmap.o .obj/release-shared/qclipboard.o
    ..obj/release-shared/qcolor.o .obj/release-shared/qcolor_p.o
    ..obj/release-shared/qcomplextext.o .obj/release-shared/qconnection.o
    ..obj/release-shared/qcursor.o .obj/release-shared/qdragobject.o
    ..obj/release-shared/qdrawutil.o .obj/release-shared/qdropsite.o
    ..obj/release-shared/qevent.o .obj/release-shared/qeventloop.o
    ..obj/release-shared/qfocusdata.o .obj/release-shared/qfont.o
    ..obj/release-shared/qfontdatabase.o .obj/release-shared/qguardedptr.o
    .obj/release-shared/qiconset.o .obj/release-shared/qimage.o
    ..obj/release-shared/qimageformatplugin.o
    ..obj/release-shared/qkeysequence.o .obj/release-shared/qlayout.o
    ..obj/release-shared/qlayoutengine.o .obj/release-shared/qtranslator.o
    .obj/release-shared/qmetaobject.o .obj/release-shared/qmime.o
    ..obj/release-shared/qmovie.o .obj/release-shared/qnetworkprotocol.o
    ..obj/release-shared/qobject.o
    ..obj/release-shared/qobjectcleanuphandler.o
    ..obj/release-shared/qpainter.o .obj/release-shared/qpalette.o
    ..obj/release-shared/qpaintdevicemetrics.o
    ..obj/release-shared/qpicture.o .obj/release-shared/qpixmap.o
    ..obj/release-shared/qpixmapcache.o .obj/release-shared/qpointarray.o
    ..obj/release-shared/qpoint.o .obj/release-shared/qpolygonscanner.o
    ..obj/release-shared/qprinter.o .obj/release-shared/qprocess.o
    ..obj/release-shared/qrect.o .obj/release-shared/qregion.o
    ..obj/release-shared/qsignal.o .obj/release-shared/qsignalmapper.o
    ..obj/release-shared/qsize.o .obj/release-shared/qsizegrip.o
    ..obj/release-shared/qstyle.o .obj/release-shared/qsocketnotifier.o
    ..obj/release-shared/qsound.o .obj/release-shared/qstylesheet.o
    ..obj/release-shared/qtimer.o .obj/release-shared/qurl.o
    ..obj/release-shared/qlocalfs.o .obj/release-shared/qurloperator.o
    ..obj/release-shared/qurlinfo.o .obj/release-shared/qwidget.o
    ..obj/release-shared/qwmatrix.o .obj/release-shared/qvariant.o
    ..obj/release-shared/qrichtext.o .obj/release-shared/qinternal.o
    ..obj/release-shared/qrichtext_p.o .obj/release-shared/qgplugin.o
    ..obj/release-shared/qsimplerichtext.o
    ..obj/release-shared/qbuttongroup.o .obj/release-shared/qbutton.o
    ..obj/release-shared/qcheckbox.o .obj/release-shared/qcombobox.o
    ..obj/release-shared/qwidgetresizehandler.o
    ..obj/release-shared/qdial.o .obj/release-shared/qdockarea.o
    ..obj/release-shared/qdockwindow.o .obj/release-shared/qframe.o
    ..obj/release-shared/qgrid.o .obj/release-shared/qgridview.o
    ..obj/release-shared/qgroupbox.o .obj/release-shared/qhbuttongroup.o
    ..obj/release-shared/qheader.o .obj/release-shared/qhgroupbox.o
    ..obj/release-shared/qhbox.o .obj/release-shared/qlabel.o
    ..obj/release-shared/qlcdnumber.o .obj/release-shared/qlineedit.o
    ..obj/release-shared/qlistbox.o .obj/release-shared/qlistview.o
    ..obj/release-shared/qmainwindow.o .obj/release-shared/qmenubar.o
    ..obj/release-shared/qmenudata.o .obj/release-shared/qmultilineedit.o
    ..obj/release-shared/qpopupmenu.o .obj/release-shared/qprogressbar.o
    ..obj/release-shared/qpushbutton.o .obj/release-shared/qradiobutton.o
    ..obj/release-shared/qrangecontrol.o .obj/release-shared/qscrollbar.o
    ..obj/release-shared/qscrollview.o .obj/release-shared/qslider.o
    ..obj/release-shared/qspinbox.o .obj/release-shared/qspinwidget.o
    ..obj/release-shared/qsplitter.o .obj/release-shared/qstatusbar.o
    ..obj/release-shared/qsyntaxhighlighter.o
    ..obj/release-shared/qtabbar.o .obj/release-shared/qtabwidget.o
    ..obj/release-shared/qtitlebar.o .obj/release-shared/qtoolbar.o
    ..obj/release-shared/qtoolbutton.o .obj/release-shared/qtooltip.o
    ..obj/release-shared/qvalidator.o .obj/release-shared/qvbox.o
    ..obj/release-shared/qvbuttongroup.o .obj/release-shared/qvgroupbox.o
    ..obj/release-shared/qwhatsthis.o .obj/release-shared/qwidgetstack.o
    ..obj/release-shared/qaction.o .obj/release-shared/qdatetimeedit.o
    ..obj/release-shared/qeffects.o .obj/release-shared/qtextview.o
    ..obj/release-shared/qtextbrowser.o .obj/release-shared/qtextedit.o
    ..obj/release-shared/qwidgetplugin.o
    ..obj/release-shared/qprintdialog.o .obj/release-shared/qcolordialog.o
    .obj/release-shared/qdialog.o .obj/release-shared/qerrormessage.o
    ..obj/release-shared/qfiledialog.o .obj/release-shared/qfontdialog.o
    ..obj/release-shared/qmessagebox.o
    ..obj/release-shared/qprogressdialog.o
    ..obj/release-shared/qtabdialog.o .obj/release-shared/qwizard.o
    ..obj/release-shared/qinputdialog.o .obj/release-shared/qiconview.o
    ..obj/release-shared/qworkspace.o .obj/release-shared/qmngio.o
    ..obj/release-shared/qjpegio.o .obj/release-shared/qpngio.o
    ..obj/release-shared/png.o .obj/release-shared/pngerror.o
    ..obj/release-shared/pngget.o .obj/release-shared/pngmem.o
    ..obj/release-shared/pngpread.o .obj/release-shared/pngread.o
    ..obj/release-shared/pngrio.o .obj/release-shared/pngrtran.o
    ..obj/release-shared/pngrutil.o .obj/release-shared/pngset.o
    ..obj/release-shared/pngtrans.o .obj/release-shared/pngwio.o
    ..obj/release-shared/pngwrite.o .obj/release-shared/pngwtran.o
    ..obj/release-shared/pngwutil.o .obj/release-shared/adler32.o
    ..obj/release-shared/compress.o .obj/release-shared/crc32.o
    ..obj/release-shared/deflate.o .obj/release-shared/gzio.o
    ..obj/release-shared/infblock.o .obj/release-shared/infcodes.o
    ..obj/release-shared/inffast.o .obj/release-shared/inflate.o
    ..obj/release-shared/inftrees.o .obj/release-shared/infutil.o
    ..obj/release-shared/trees.o .obj/release-shared/uncompr.o
    ..obj/release-shared/zutil.o .obj/release-shared/qdir_unix.o
    ..obj/release-shared/qfile_unix.o .obj/release-shared/qfileinfo_unix.o
    .obj/release-shared/qmutex_unix.o
    ..obj/release-shared/qsemaphore_unix.o
    ..obj/release-shared/qwaitcondition_unix.o
    ..obj/release-shared/qlibrary_unix.o .obj/release-shared/qbitarray.o
    ..obj/release-shared/qbuffer.o .obj/release-shared/qcomponentfactory.o
    .obj/release-shared/qcomlibrary.o .obj/release-shared/qcstring.o
    ..obj/release-shared/qdatastream.o .obj/release-shared/qdatetime.o
    ..obj/release-shared/qdeepcopy.o .obj/release-shared/qdir.o
    ..obj/release-shared/qfile.o .obj/release-shared/qfileinfo.o
    ..obj/release-shared/qgarray.o .obj/release-shared/qgcache.o
    ..obj/release-shared/qgdict.o .obj/release-shared/qglist.o
    ..obj/release-shared/qglobal.o .obj/release-shared/qgpluginmanager.o
    ..obj/release-shared/qgvector.o .obj/release-shared/qiodevice.o
    ..obj/release-shared/qlibrary.o .obj/release-shared/qmap.o
    ..obj/release-shared/qmutexpool.o .obj/release-shared/qptrcollection.o
    .obj/release-shared/qregexp.o .obj/release-shared/qstring.o
    ..obj/release-shared/qsettings.o .obj/release-shared/qstringlist.o
    ..obj/release-shared/qtextstream.o .obj/release-shared/qucom.o
    ..obj/release-shared/quuid.o .obj/release-shared/qbig5codec.o
    ..obj/release-shared/qeucjpcodec.o .obj/release-shared/qeuckrcodec.o
    ..obj/release-shared/qgb18030codec.o .obj/release-shared/qjiscodec.o
    ..obj/release-shared/qjpunicode.o .obj/release-shared/qrtlcodec.o
    ..obj/release-shared/qsjiscodec.o .obj/release-shared/qtextcodec.o
    ..obj/release-shared/qtsciicodec.o .obj/release-shared/qutfcodec.o
    ..obj/release-shared/qtextcodecfactory.o
    ..obj/release-shared/qtextcodecplugin.o
    ..obj/release-shared/qfontarcodec.o .obj/release-shared/qfontcncodec.o
    .obj/release-shared/qfonthkcodec.o
    ..obj/release-shared/qfontjpcodec.o .obj/release-shared/qfontkrcodec.o
    .obj/release-shared/qfontlaocodec.o
    ..obj/release-shared/qfonttwcodec.o
    ..obj/release-shared/qstylefactory.o
    ..obj/release-shared/qstyleplugin.o .obj/release-shared/qcommonstyle.o
    .obj/release-shared/qcdestyle.o
    ..obj/release-shared/qmotifplusstyle.o
    ..obj/release-shared/qplatinumstyle.o .obj/release-shared/qsgistyle.o
    ..obj/release-shared/qwindowsstyle.o .obj/release-shared/qmotifstyle.o
    .obj/release-shared/qconfig.o .obj/release-shared/moc_qaccel.o
    ..obj/release-shared/moc_qapplication.o
    ..obj/release-shared/moc_qasyncio.o
    ..obj/release-shared/moc_qclipboard.o
    ..obj/release-shared/moc_qdesktopwidget.o
    ..obj/release-shared/moc_qdragobject.o
    ..obj/release-shared/moc_qeventloop.o
    ..obj/release-shared/moc_qguardedptr.o
    ..obj/release-shared/moc_qimageformatplugin.o
    ..obj/release-shared/moc_qlayout.o
    ..obj/release-shared/moc_qtranslator.o
    ..obj/release-shared/moc_qnetworkprotocol.o
    ..obj/release-shared/moc_qobject.o
    ..obj/release-shared/moc_qobjectcleanuphandler.o
    ..obj/release-shared/moc_qprocess.o
    ..obj/release-shared/moc_qsessionmanager.o
    ..obj/release-shared/moc_qsignal.o
    ..obj/release-shared/moc_qsignalmapper.o
    ..obj/release-shared/moc_qsizegrip.o
    ..obj/release-shared/moc_qsocketnotifier.o
    ..obj/release-shared/moc_qsound.o .obj/release-shared/moc_qstyle.o
    ..obj/release-shared/moc_qstylesheet.o
    ..obj/release-shared/moc_qtimer.o .obj/release-shared/moc_qlocalfs.o
    ..obj/release-shared/moc_qurloperator.o
    ..obj/release-shared/moc_qwidget.o
    ..obj/release-shared/moc_qrichtext_p.o
    ..obj/release-shared/moc_qgplugin.o
    ..obj/release-shared/moc_qbuttongroup.o
    ..obj/release-shared/moc_qbutton.o .obj/release-shared/moc_qcheckbox.o
    .obj/release-shared/moc_qcombobox.o
    ..obj/release-shared/moc_qwidgetresizehandler_p.o
    ..obj/release-shared/moc_qdial.o .obj/release-shared/moc_qdockarea.o
    ..obj/release-shared/moc_qdockwindow.o
    ..obj/release-shared/moc_qframe.o .obj/release-shared/moc_qgrid.o
    ..obj/release-shared/moc_qgridview.o
    ..obj/release-shared/moc_qgroupbox.o
    ..obj/release-shared/moc_qhbuttongroup.o
    ..obj/release-shared/moc_qheader.o
    ..obj/release-shared/moc_qhgroupbox.o .obj/release-shared/moc_qhbox.o
    ..obj/release-shared/moc_qlabel.o .obj/release-shared/moc_qlcdnumber.o
    .obj/release-shared/moc_qlineedit.o
    ..obj/release-shared/moc_qlistbox.o
    ..obj/release-shared/moc_qlistview.o
    ..obj/release-shared/moc_qmainwindow.o
    ..obj/release-shared/moc_qmenubar.o
    ..obj/release-shared/moc_qmultilineedit.o
    ..obj/release-shared/moc_qpopupmenu.o
    ..obj/release-shared/moc_qprogressbar.o
    ..obj/release-shared/moc_qpushbutton.o
    ..obj/release-shared/moc_qradiobutton.o
    ..obj/release-shared/moc_qrangecontrol.o
    ..obj/release-shared/moc_qscrollbar.o
    ..obj/release-shared/moc_qscrollview.o
    ..obj/release-shared/moc_qslider.o .obj/release-shared/moc_qspinbox.o
    ..obj/release-shared/moc_qsplitter.o
    ..obj/release-shared/moc_qstatusbar.o
    ..obj/release-shared/moc_qtabbar.o
    ..obj/release-shared/moc_qtabwidget.o
    ..obj/release-shared/moc_qtitlebar_p.o
    ..obj/release-shared/moc_qtoolbar.o
    ..obj/release-shared/moc_qtoolbutton.o
    ..obj/release-shared/moc_qtooltip.o
    ..obj/release-shared/moc_qvalidator.o .obj/release-shared/moc_qvbox.o
    ..obj/release-shared/moc_qvbuttongroup.o
    ..obj/release-shared/moc_qvgroupbox.o
    ..obj/release-shared/moc_qwidgetstack.o
    ..obj/release-shared/moc_qaction.o
    ..obj/release-shared/moc_qdatetimeedit.o
    ..obj/release-shared/moc_qtextview.o
    ..obj/release-shared/moc_qtextbrowser.o
    ..obj/release-shared/moc_qtextedit.o
    ..obj/release-shared/moc_qwidgetplugin.o
    ..obj/release-shared/moc_qcolordialog.o
    ..obj/release-shared/moc_qdialog.o
    ..obj/release-shared/moc_qerrormessage.o
    ..obj/release-shared/moc_qfiledialog.o
    ..obj/release-shared/moc_qfontdialog.o
    ..obj/release-shared/moc_qmessagebox.o
    ..obj/release-shared/moc_qprogressdialog.o
    ..obj/release-shared/moc_qsemimodal.o
    ..obj/release-shared/moc_qtabdialog.o
    ..obj/release-shared/moc_qwizard.o
    ..obj/release-shared/moc_qinputdialog.o
    ..obj/release-shared/moc_qprintdialog.o
    ..obj/release-shared/moc_qiconview.o
    ..obj/release-shared/moc_qworkspace.o
    ..obj/release-shared/moc_qtextcodecplugin.o
    ..obj/release-shared/moc_qstyleplugin.o
    ..obj/release-shared/moc_qcommonstyle.o
    ..obj/release-shared/moc_qcdestyle.o
    ..obj/release-shared/moc_qmotifplusstyle.o
    ..obj/release-shared/moc_qplatinumstyle.o
    ..obj/release-shared/moc_qsgistyle.o
    ..obj/release-shared/moc_qwindowsstyle.o
    ..obj/release-shared/moc_qmotifstyle.o -L/usr/X11R6/lib -lXrender
    -lXinerama -lXft -lfreetype -lXext -lX11 -lm -lSM -lICE -ldl
    /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o: In function
    `_start':
    /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o(.text+0x18):
    undefined reference to `main'
    /usr/X11R6/lib/libXft.a(xftdraw.o): In function
    `XftDrawRenderPrepare':
    xftdraw.o(.text+0x37c): undefined reference to `XRenderFillRectangle'
    /usr/X11R6/lib/libXft.a(xftdraw.o): In function `XftDrawRect':
    xftdraw.o(.text+0x6ed): undefined reference to `XRenderFillRectangle'
    /usr/X11R6/lib/libXft.a(xftfreetype.o): In function `XftFreeTypeOpen':
    xftfreetype.o(.text+0x69d): undefined reference to
    `XRenderCreateGlyphSet'
    /usr/X11R6/lib/libXft.a(xftfreetype.o): In function
    `XftFreeTypeClose':
    xftfreetype.o(.text+0x723): undefined reference to
    `XRenderFreeGlyphSet'
    /usr/X11R6/lib/libXft.a(xftglyphs.o): In function `XftGlyphLoad':
    xftglyphs.o(.text+0x707): undefined reference to `XRenderAddGlyphs'
    /usr/X11R6/lib/libXft.a(xftrender.o): In function `XftRenderString8':
    xftrender.o(.text+0xba): undefined reference to
    `XRenderCompositeString8'
    /usr/X11R6/lib/libXft.a(xftrender.o): In function `XftRenderString16':
    xftrender.o(.text+0x18c): undefined reference to
    `XRenderCompositeString16'
    /usr/X11R6/lib/libXft.a(xftrender.o): In function `XftRenderString32':
    xftrender.o(.text+0x25b): undefined reference to
    `XRenderCompositeString32'
    collect2: ld returned 1 exit status
    *** Error code 1
    clearmake: Error: Build script failed for "../lib/libqt.so.3.1.2"
    ================================================== ======

    *** Error code 1
    clearmake: Error: Build script failed for "sub-src"
    ================================================== ======

    make: *** [init] Error 1

  2. Re: Can't compile QT properly..

    jeanphiluwp@hotmail.com (ti-coune) writes:
    >Hi, i need to compile QT 3.1.2 with a static archive libqt.a, and i've
    >tried sevral things, but none seem to work. i always get problems
    >with an object file from glibc-devel: /usr/lib/crt1.o


    The problem is that your g++ below is missing -shared. Without -shared,
    the linker is expecting to find a 'main' in one of the object files
    being linked. Note that you probably don't want to just take the .o's
    compiled for the .so and archive them in a .a, unless you don't mind
    them being PIC.

    Creation of an archive library uses the 'ar' command, not the 'g++'
    command. The g++ command (below) is trying to build the shared object
    for libqt, but since -shared is missing, it is really trying to build an
    executable - and failing because there is no main(int,const char*,const char*) function.

    I suspect that either:
    1) there is no provision to build an archive library for libqt in
    the configure script you are using
    or
    2) You didn't supply the correct option to configure.

    scott

    >
    >I'm working on Red Hat 7.1 or 7.2 and i use -static -disable-opengl
    >-fast
    >as args for ./configure
    >
    >Everything goes roundly and all the files compile and it breaks when
    >trying to link libqt.so which it shouldn't be trying to anyway, since
    >i need the libqt.a
    >
    >Please help me if you can, cause i've already wasted too much time on
    >this..
    >
    >pj
    >
    >
    >
    >Here's the error output:
    >
    >======== Rebuilding "../lib/libqt.so.3.1.2" ========
    > test -d ../lib/ || mkdir -p ../lib/
    > rm -f libqt.so.3.1.2 libqt.so libqt.so.3 libqt.so.3.1
    > g++ -static -Wl,-soname,libqt.so.3
    >-Wl,-rpath,/.automount/tcmvega55/root/data1/jtools/Config/CHANNELHEARTBEAT_LINUX/qt-x11-commercial-3.1.2/lib
    >-o libqt.so.3.1.2 .obj/release-shared/qtaddons_x11.o
    >.obj/release-shared/qapplication_x11.o
    >.obj/release-shared/qclipboard_x11.o .obj/release-shared/qcolor_x11.o
    > .obj/release-shared/qcursor_x11.o .obj/release-shared/qdnd_x11.o
    >.obj/release-shared/qdesktopwidget_x11.o
    >.obj/release-shared/qeventloop_x11.o
    >.obj/release-shared/qinputcontext_x11.o
    >.obj/release-shared/qmotifdnd_x11.o .obj/release-shared/qpixmap_x11.o
    > .obj/release-shared/qpaintdevice_x11.o
    >.obj/release-shared/qpainter_x11.o .obj/release-shared/qregion_x11.o
    >.obj/release-shared/qsound_x11.o .obj/release-shared/qwidget_x11.o
    >.obj/release-shared/qwidgetcreate_x11.o
    >.obj/release-shared/qprinter_unix.o
    >.obj/release-shared/qeventloop_unix.o
    >.obj/release-shared/qpsprinter.o .obj/release-shared/qprocess_unix.o
    >.obj/release-shared/qthread_unix.o
    >.obj/release-shared/qabstractlayout.o
    >.obj/release-shared/qucomextra.o .obj/release-shared/qaccel.o
    >.obj/release-shared/qapplication.o
    >.obj/release-shared/qasyncimageio.o .obj/release-shared/qasyncio.o
    >.obj/release-shared/qbitmap.o .obj/release-shared/qclipboard.o
    >.obj/release-shared/qcolor.o .obj/release-shared/qcolor_p.o
    >.obj/release-shared/qcomplextext.o .obj/release-shared/qconnection.o
    >.obj/release-shared/qcursor.o .obj/release-shared/qdragobject.o
    >.obj/release-shared/qdrawutil.o .obj/release-shared/qdropsite.o
    >.obj/release-shared/qevent.o .obj/release-shared/qeventloop.o
    >.obj/release-shared/qfocusdata.o .obj/release-shared/qfont.o
    >.obj/release-shared/qfontdatabase.o .obj/release-shared/qguardedptr.o
    > .obj/release-shared/qiconset.o .obj/release-shared/qimage.o
    >.obj/release-shared/qimageformatplugin.o
    >.obj/release-shared/qkeysequence.o .obj/release-shared/qlayout.o
    >.obj/release-shared/qlayoutengine.o .obj/release-shared/qtranslator.o
    > .obj/release-shared/qmetaobject.o .obj/release-shared/qmime.o
    >.obj/release-shared/qmovie.o .obj/release-shared/qnetworkprotocol.o
    >.obj/release-shared/qobject.o
    >.obj/release-shared/qobjectcleanuphandler.o
    >.obj/release-shared/qpainter.o .obj/release-shared/qpalette.o
    >.obj/release-shared/qpaintdevicemetrics.o
    >.obj/release-shared/qpicture.o .obj/release-shared/qpixmap.o
    >.obj/release-shared/qpixmapcache.o .obj/release-shared/qpointarray.o
    >.obj/release-shared/qpoint.o .obj/release-shared/qpolygonscanner.o
    >.obj/release-shared/qprinter.o .obj/release-shared/qprocess.o
    >.obj/release-shared/qrect.o .obj/release-shared/qregion.o
    >.obj/release-shared/qsignal.o .obj/release-shared/qsignalmapper.o
    >.obj/release-shared/qsize.o .obj/release-shared/qsizegrip.o
    >.obj/release-shared/qstyle.o .obj/release-shared/qsocketnotifier.o
    >.obj/release-shared/qsound.o .obj/release-shared/qstylesheet.o
    >.obj/release-shared/qtimer.o .obj/release-shared/qurl.o
    >.obj/release-shared/qlocalfs.o .obj/release-shared/qurloperator.o
    >.obj/release-shared/qurlinfo.o .obj/release-shared/qwidget.o
    >.obj/release-shared/qwmatrix.o .obj/release-shared/qvariant.o
    >.obj/release-shared/qrichtext.o .obj/release-shared/qinternal.o
    >.obj/release-shared/qrichtext_p.o .obj/release-shared/qgplugin.o
    >.obj/release-shared/qsimplerichtext.o
    >.obj/release-shared/qbuttongroup.o .obj/release-shared/qbutton.o
    >.obj/release-shared/qcheckbox.o .obj/release-shared/qcombobox.o
    >.obj/release-shared/qwidgetresizehandler.o
    >.obj/release-shared/qdial.o .obj/release-shared/qdockarea.o
    >.obj/release-shared/qdockwindow.o .obj/release-shared/qframe.o
    >.obj/release-shared/qgrid.o .obj/release-shared/qgridview.o
    >.obj/release-shared/qgroupbox.o .obj/release-shared/qhbuttongroup.o
    >.obj/release-shared/qheader.o .obj/release-shared/qhgroupbox.o
    >.obj/release-shared/qhbox.o .obj/release-shared/qlabel.o
    >.obj/release-shared/qlcdnumber.o .obj/release-shared/qlineedit.o
    >.obj/release-shared/qlistbox.o .obj/release-shared/qlistview.o
    >.obj/release-shared/qmainwindow.o .obj/release-shared/qmenubar.o
    >.obj/release-shared/qmenudata.o .obj/release-shared/qmultilineedit.o
    >.obj/release-shared/qpopupmenu.o .obj/release-shared/qprogressbar.o
    >.obj/release-shared/qpushbutton.o .obj/release-shared/qradiobutton.o
    >.obj/release-shared/qrangecontrol.o .obj/release-shared/qscrollbar.o
    >.obj/release-shared/qscrollview.o .obj/release-shared/qslider.o
    >.obj/release-shared/qspinbox.o .obj/release-shared/qspinwidget.o
    >.obj/release-shared/qsplitter.o .obj/release-shared/qstatusbar.o
    >.obj/release-shared/qsyntaxhighlighter.o
    >.obj/release-shared/qtabbar.o .obj/release-shared/qtabwidget.o
    >.obj/release-shared/qtitlebar.o .obj/release-shared/qtoolbar.o
    >.obj/release-shared/qtoolbutton.o .obj/release-shared/qtooltip.o
    >.obj/release-shared/qvalidator.o .obj/release-shared/qvbox.o
    >.obj/release-shared/qvbuttongroup.o .obj/release-shared/qvgroupbox.o
    >.obj/release-shared/qwhatsthis.o .obj/release-shared/qwidgetstack.o
    >.obj/release-shared/qaction.o .obj/release-shared/qdatetimeedit.o
    >.obj/release-shared/qeffects.o .obj/release-shared/qtextview.o
    >.obj/release-shared/qtextbrowser.o .obj/release-shared/qtextedit.o
    >.obj/release-shared/qwidgetplugin.o
    >.obj/release-shared/qprintdialog.o .obj/release-shared/qcolordialog.o
    > .obj/release-shared/qdialog.o .obj/release-shared/qerrormessage.o
    >.obj/release-shared/qfiledialog.o .obj/release-shared/qfontdialog.o
    >.obj/release-shared/qmessagebox.o
    >.obj/release-shared/qprogressdialog.o
    >.obj/release-shared/qtabdialog.o .obj/release-shared/qwizard.o
    >.obj/release-shared/qinputdialog.o .obj/release-shared/qiconview.o
    >.obj/release-shared/qworkspace.o .obj/release-shared/qmngio.o
    >.obj/release-shared/qjpegio.o .obj/release-shared/qpngio.o
    >.obj/release-shared/png.o .obj/release-shared/pngerror.o
    >.obj/release-shared/pngget.o .obj/release-shared/pngmem.o
    >.obj/release-shared/pngpread.o .obj/release-shared/pngread.o
    >.obj/release-shared/pngrio.o .obj/release-shared/pngrtran.o
    >.obj/release-shared/pngrutil.o .obj/release-shared/pngset.o
    >.obj/release-shared/pngtrans.o .obj/release-shared/pngwio.o
    >.obj/release-shared/pngwrite.o .obj/release-shared/pngwtran.o
    >.obj/release-shared/pngwutil.o .obj/release-shared/adler32.o
    >.obj/release-shared/compress.o .obj/release-shared/crc32.o
    >.obj/release-shared/deflate.o .obj/release-shared/gzio.o
    >.obj/release-shared/infblock.o .obj/release-shared/infcodes.o
    >.obj/release-shared/inffast.o .obj/release-shared/inflate.o
    >.obj/release-shared/inftrees.o .obj/release-shared/infutil.o
    >.obj/release-shared/trees.o .obj/release-shared/uncompr.o
    >.obj/release-shared/zutil.o .obj/release-shared/qdir_unix.o
    >.obj/release-shared/qfile_unix.o .obj/release-shared/qfileinfo_unix.o
    > .obj/release-shared/qmutex_unix.o
    >.obj/release-shared/qsemaphore_unix.o
    >.obj/release-shared/qwaitcondition_unix.o
    >.obj/release-shared/qlibrary_unix.o .obj/release-shared/qbitarray.o
    >.obj/release-shared/qbuffer.o .obj/release-shared/qcomponentfactory.o
    > .obj/release-shared/qcomlibrary.o .obj/release-shared/qcstring.o
    >.obj/release-shared/qdatastream.o .obj/release-shared/qdatetime.o
    >.obj/release-shared/qdeepcopy.o .obj/release-shared/qdir.o
    >.obj/release-shared/qfile.o .obj/release-shared/qfileinfo.o
    >.obj/release-shared/qgarray.o .obj/release-shared/qgcache.o
    >.obj/release-shared/qgdict.o .obj/release-shared/qglist.o
    >.obj/release-shared/qglobal.o .obj/release-shared/qgpluginmanager.o
    >.obj/release-shared/qgvector.o .obj/release-shared/qiodevice.o
    >.obj/release-shared/qlibrary.o .obj/release-shared/qmap.o
    >.obj/release-shared/qmutexpool.o .obj/release-shared/qptrcollection.o
    > .obj/release-shared/qregexp.o .obj/release-shared/qstring.o
    >.obj/release-shared/qsettings.o .obj/release-shared/qstringlist.o
    >.obj/release-shared/qtextstream.o .obj/release-shared/qucom.o
    >.obj/release-shared/quuid.o .obj/release-shared/qbig5codec.o
    >.obj/release-shared/qeucjpcodec.o .obj/release-shared/qeuckrcodec.o
    >.obj/release-shared/qgb18030codec.o .obj/release-shared/qjiscodec.o
    >.obj/release-shared/qjpunicode.o .obj/release-shared/qrtlcodec.o
    >.obj/release-shared/qsjiscodec.o .obj/release-shared/qtextcodec.o
    >.obj/release-shared/qtsciicodec.o .obj/release-shared/qutfcodec.o
    >.obj/release-shared/qtextcodecfactory.o
    >.obj/release-shared/qtextcodecplugin.o
    >.obj/release-shared/qfontarcodec.o .obj/release-shared/qfontcncodec.o
    > .obj/release-shared/qfonthkcodec.o
    >.obj/release-shared/qfontjpcodec.o .obj/release-shared/qfontkrcodec.o
    > .obj/release-shared/qfontlaocodec.o
    >.obj/release-shared/qfonttwcodec.o
    >.obj/release-shared/qstylefactory.o
    >.obj/release-shared/qstyleplugin.o .obj/release-shared/qcommonstyle.o
    > .obj/release-shared/qcdestyle.o
    >.obj/release-shared/qmotifplusstyle.o
    >.obj/release-shared/qplatinumstyle.o .obj/release-shared/qsgistyle.o
    >.obj/release-shared/qwindowsstyle.o .obj/release-shared/qmotifstyle.o
    > .obj/release-shared/qconfig.o .obj/release-shared/moc_qaccel.o
    >.obj/release-shared/moc_qapplication.o
    >.obj/release-shared/moc_qasyncio.o
    >.obj/release-shared/moc_qclipboard.o
    >.obj/release-shared/moc_qdesktopwidget.o
    >.obj/release-shared/moc_qdragobject.o
    >.obj/release-shared/moc_qeventloop.o
    >.obj/release-shared/moc_qguardedptr.o
    >.obj/release-shared/moc_qimageformatplugin.o
    >.obj/release-shared/moc_qlayout.o
    >.obj/release-shared/moc_qtranslator.o
    >.obj/release-shared/moc_qnetworkprotocol.o
    >.obj/release-shared/moc_qobject.o
    >.obj/release-shared/moc_qobjectcleanuphandler.o
    >.obj/release-shared/moc_qprocess.o
    >.obj/release-shared/moc_qsessionmanager.o
    >.obj/release-shared/moc_qsignal.o
    >.obj/release-shared/moc_qsignalmapper.o
    >.obj/release-shared/moc_qsizegrip.o
    >.obj/release-shared/moc_qsocketnotifier.o
    >.obj/release-shared/moc_qsound.o .obj/release-shared/moc_qstyle.o
    >.obj/release-shared/moc_qstylesheet.o
    >.obj/release-shared/moc_qtimer.o .obj/release-shared/moc_qlocalfs.o
    >.obj/release-shared/moc_qurloperator.o
    >.obj/release-shared/moc_qwidget.o
    >.obj/release-shared/moc_qrichtext_p.o
    >.obj/release-shared/moc_qgplugin.o
    >.obj/release-shared/moc_qbuttongroup.o
    >.obj/release-shared/moc_qbutton.o .obj/release-shared/moc_qcheckbox.o
    > .obj/release-shared/moc_qcombobox.o
    >.obj/release-shared/moc_qwidgetresizehandler_p.o
    >.obj/release-shared/moc_qdial.o .obj/release-shared/moc_qdockarea.o
    >.obj/release-shared/moc_qdockwindow.o
    >.obj/release-shared/moc_qframe.o .obj/release-shared/moc_qgrid.o
    >.obj/release-shared/moc_qgridview.o
    >.obj/release-shared/moc_qgroupbox.o
    >.obj/release-shared/moc_qhbuttongroup.o
    >.obj/release-shared/moc_qheader.o
    >.obj/release-shared/moc_qhgroupbox.o .obj/release-shared/moc_qhbox.o
    >.obj/release-shared/moc_qlabel.o .obj/release-shared/moc_qlcdnumber.o
    > .obj/release-shared/moc_qlineedit.o
    >.obj/release-shared/moc_qlistbox.o
    >.obj/release-shared/moc_qlistview.o
    >.obj/release-shared/moc_qmainwindow.o
    >.obj/release-shared/moc_qmenubar.o
    >.obj/release-shared/moc_qmultilineedit.o
    >.obj/release-shared/moc_qpopupmenu.o
    >.obj/release-shared/moc_qprogressbar.o
    >.obj/release-shared/moc_qpushbutton.o
    >.obj/release-shared/moc_qradiobutton.o
    >.obj/release-shared/moc_qrangecontrol.o
    >.obj/release-shared/moc_qscrollbar.o
    >.obj/release-shared/moc_qscrollview.o
    >.obj/release-shared/moc_qslider.o .obj/release-shared/moc_qspinbox.o
    >.obj/release-shared/moc_qsplitter.o
    >.obj/release-shared/moc_qstatusbar.o
    >.obj/release-shared/moc_qtabbar.o
    >.obj/release-shared/moc_qtabwidget.o
    >.obj/release-shared/moc_qtitlebar_p.o
    >.obj/release-shared/moc_qtoolbar.o
    >.obj/release-shared/moc_qtoolbutton.o
    >.obj/release-shared/moc_qtooltip.o
    >.obj/release-shared/moc_qvalidator.o .obj/release-shared/moc_qvbox.o
    >.obj/release-shared/moc_qvbuttongroup.o
    >.obj/release-shared/moc_qvgroupbox.o
    >.obj/release-shared/moc_qwidgetstack.o
    >.obj/release-shared/moc_qaction.o
    >.obj/release-shared/moc_qdatetimeedit.o
    >.obj/release-shared/moc_qtextview.o
    >.obj/release-shared/moc_qtextbrowser.o
    >.obj/release-shared/moc_qtextedit.o
    >.obj/release-shared/moc_qwidgetplugin.o
    >.obj/release-shared/moc_qcolordialog.o
    >.obj/release-shared/moc_qdialog.o
    >.obj/release-shared/moc_qerrormessage.o
    >.obj/release-shared/moc_qfiledialog.o
    >.obj/release-shared/moc_qfontdialog.o
    >.obj/release-shared/moc_qmessagebox.o
    >.obj/release-shared/moc_qprogressdialog.o
    >.obj/release-shared/moc_qsemimodal.o
    >.obj/release-shared/moc_qtabdialog.o
    >.obj/release-shared/moc_qwizard.o
    >.obj/release-shared/moc_qinputdialog.o
    >.obj/release-shared/moc_qprintdialog.o
    >.obj/release-shared/moc_qiconview.o
    >.obj/release-shared/moc_qworkspace.o
    >.obj/release-shared/moc_qtextcodecplugin.o
    >.obj/release-shared/moc_qstyleplugin.o
    >.obj/release-shared/moc_qcommonstyle.o
    >.obj/release-shared/moc_qcdestyle.o
    >.obj/release-shared/moc_qmotifplusstyle.o
    >.obj/release-shared/moc_qplatinumstyle.o
    >.obj/release-shared/moc_qsgistyle.o
    >.obj/release-shared/moc_qwindowsstyle.o
    >.obj/release-shared/moc_qmotifstyle.o -L/usr/X11R6/lib -lXrender
    >-lXinerama -lXft -lfreetype -lXext -lX11 -lm -lSM -lICE -ldl
    >/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o: In function
    >`_start':
    >/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o(.text+0x18):
    >undefined reference to `main'
    >/usr/X11R6/lib/libXft.a(xftdraw.o): In function
    >`XftDrawRenderPrepare':
    >xftdraw.o(.text+0x37c): undefined reference to `XRenderFillRectangle'
    >/usr/X11R6/lib/libXft.a(xftdraw.o): In function `XftDrawRect':
    >xftdraw.o(.text+0x6ed): undefined reference to `XRenderFillRectangle'
    >/usr/X11R6/lib/libXft.a(xftfreetype.o): In function `XftFreeTypeOpen':
    >xftfreetype.o(.text+0x69d): undefined reference to
    >`XRenderCreateGlyphSet'
    >/usr/X11R6/lib/libXft.a(xftfreetype.o): In function
    >`XftFreeTypeClose':
    >xftfreetype.o(.text+0x723): undefined reference to
    >`XRenderFreeGlyphSet'
    >/usr/X11R6/lib/libXft.a(xftglyphs.o): In function `XftGlyphLoad':
    >xftglyphs.o(.text+0x707): undefined reference to `XRenderAddGlyphs'
    >/usr/X11R6/lib/libXft.a(xftrender.o): In function `XftRenderString8':
    >xftrender.o(.text+0xba): undefined reference to
    >`XRenderCompositeString8'
    >/usr/X11R6/lib/libXft.a(xftrender.o): In function `XftRenderString16':
    >xftrender.o(.text+0x18c): undefined reference to
    >`XRenderCompositeString16'
    >/usr/X11R6/lib/libXft.a(xftrender.o): In function `XftRenderString32':
    >xftrender.o(.text+0x25b): undefined reference to
    >`XRenderCompositeString32'
    >collect2: ld returned 1 exit status
    >*** Error code 1
    >clearmake: Error: Build script failed for "../lib/libqt.so.3.1.2"
    >================================================== ======
    >
    >*** Error code 1
    >clearmake: Error: Build script failed for "sub-src"
    >================================================== ======
    >
    >make: *** [init] Error 1


  3. Re: Can't compile QT properly..

    I tried giving the ./configure script -shared, as well as -static but
    the end result is the same.. :-|

    jp


    scott@slp53.sl.home (Scott Lurndal) wrote in message news:...
    > jeanphiluwp@hotmail.com (ti-coune) writes:
    > >Hi, i need to compile QT 3.1.2 with a static archive libqt.a, and i've
    > >tried sevral things, but none seem to work. i always get problems
    > >with an object file from glibc-devel: /usr/lib/crt1.o

    >
    > The problem is that your g++ below is missing -shared. Without -shared,
    > the linker is expecting to find a 'main' in one of the object files
    > being linked. Note that you probably don't want to just take the .o's
    > compiled for the .so and archive them in a .a, unless you don't mind
    > them being PIC.
    >
    > Creation of an archive library uses the 'ar' command, not the 'g++'
    > command. The g++ command (below) is trying to build the shared object
    > for libqt, but since -shared is missing, it is really trying to build an
    > executable - and failing because there is no main(int,const char*,const char*) function.
    >
    > I suspect that either:
    > 1) there is no provision to build an archive library for libqt in
    > the configure script you are using
    > or
    > 2) You didn't supply the correct option to configure.
    >
    > scott
    >
    > >
    > >I'm working on Red Hat 7.1 or 7.2 and i use -static -disable-opengl
    > >-fast
    > >as args for ./configure
    > >
    > >Everything goes roundly and all the files compile and it breaks when
    > >trying to link libqt.so which it shouldn't be trying to anyway, since
    > >i need the libqt.a
    > >
    > >Please help me if you can, cause i've already wasted too much time on
    > >this..
    > >
    > >pj
    > >
    > >
    > >
    > >Here's the error output:
    > >
    > >======== Rebuilding "../lib/libqt.so.3.1.2" ========
    > > test -d ../lib/ || mkdir -p ../lib/
    > > rm -f libqt.so.3.1.2 libqt.so libqt.so.3 libqt.so.3.1
    > > g++ -static -Wl,-soname,libqt.so.3
    > >-Wl,-rpath,/.automount/tcmvega55/root/data1/jtools/Config/CHANNELHEARTBEAT_LINUX/qt-x11-commercial-3.1.2/lib
    > >-o libqt.so.3.1.2 .obj/release-shared/qtaddons_x11.o
    > >.obj/release-shared/qapplication_x11.o
    > >.obj/release-shared/qclipboard_x11.o .obj/release-shared/qcolor_x11.o
    > > .obj/release-shared/qcursor_x11.o .obj/release-shared/qdnd_x11.o
    > >.obj/release-shared/qdesktopwidget_x11.o
    > >.obj/release-shared/qeventloop_x11.o
    > >.obj/release-shared/qinputcontext_x11.o
    > >.obj/release-shared/qmotifdnd_x11.o .obj/release-shared/qpixmap_x11.o
    > > .obj/release-shared/qpaintdevice_x11.o
    > >.obj/release-shared/qpainter_x11.o .obj/release-shared/qregion_x11.o
    > >.obj/release-shared/qsound_x11.o .obj/release-shared/qwidget_x11.o
    > >.obj/release-shared/qwidgetcreate_x11.o
    > >.obj/release-shared/qprinter_unix.o
    > >.obj/release-shared/qeventloop_unix.o
    > >.obj/release-shared/qpsprinter.o .obj/release-shared/qprocess_unix.o
    > >.obj/release-shared/qthread_unix.o
    > >.obj/release-shared/qabstractlayout.o
    > >.obj/release-shared/qucomextra.o .obj/release-shared/qaccel.o
    > >.obj/release-shared/qapplication.o
    > >.obj/release-shared/qasyncimageio.o .obj/release-shared/qasyncio.o
    > >.obj/release-shared/qbitmap.o .obj/release-shared/qclipboard.o
    > >.obj/release-shared/qcolor.o .obj/release-shared/qcolor_p.o
    > >.obj/release-shared/qcomplextext.o .obj/release-shared/qconnection.o
    > >.obj/release-shared/qcursor.o .obj/release-shared/qdragobject.o
    > >.obj/release-shared/qdrawutil.o .obj/release-shared/qdropsite.o
    > >.obj/release-shared/qevent.o .obj/release-shared/qeventloop.o
    > >.obj/release-shared/qfocusdata.o .obj/release-shared/qfont.o
    > >.obj/release-shared/qfontdatabase.o .obj/release-shared/qguardedptr.o
    > > .obj/release-shared/qiconset.o .obj/release-shared/qimage.o
    > >.obj/release-shared/qimageformatplugin.o
    > >.obj/release-shared/qkeysequence.o .obj/release-shared/qlayout.o
    > >.obj/release-shared/qlayoutengine.o .obj/release-shared/qtranslator.o
    > > .obj/release-shared/qmetaobject.o .obj/release-shared/qmime.o
    > >.obj/release-shared/qmovie.o .obj/release-shared/qnetworkprotocol.o
    > >.obj/release-shared/qobject.o
    > >.obj/release-shared/qobjectcleanuphandler.o
    > >.obj/release-shared/qpainter.o .obj/release-shared/qpalette.o
    > >.obj/release-shared/qpaintdevicemetrics.o
    > >.obj/release-shared/qpicture.o .obj/release-shared/qpixmap.o
    > >.obj/release-shared/qpixmapcache.o .obj/release-shared/qpointarray.o
    > >.obj/release-shared/qpoint.o .obj/release-shared/qpolygonscanner.o
    > >.obj/release-shared/qprinter.o .obj/release-shared/qprocess.o
    > >.obj/release-shared/qrect.o .obj/release-shared/qregion.o
    > >.obj/release-shared/qsignal.o .obj/release-shared/qsignalmapper.o
    > >.obj/release-shared/qsize.o .obj/release-shared/qsizegrip.o
    > >.obj/release-shared/qstyle.o .obj/release-shared/qsocketnotifier.o
    > >.obj/release-shared/qsound.o .obj/release-shared/qstylesheet.o
    > >.obj/release-shared/qtimer.o .obj/release-shared/qurl.o
    > >.obj/release-shared/qlocalfs.o .obj/release-shared/qurloperator.o
    > >.obj/release-shared/qurlinfo.o .obj/release-shared/qwidget.o
    > >.obj/release-shared/qwmatrix.o .obj/release-shared/qvariant.o
    > >.obj/release-shared/qrichtext.o .obj/release-shared/qinternal.o
    > >.obj/release-shared/qrichtext_p.o .obj/release-shared/qgplugin.o
    > >.obj/release-shared/qsimplerichtext.o
    > >.obj/release-shared/qbuttongroup.o .obj/release-shared/qbutton.o
    > >.obj/release-shared/qcheckbox.o .obj/release-shared/qcombobox.o
    > >.obj/release-shared/qwidgetresizehandler.o
    > >.obj/release-shared/qdial.o .obj/release-shared/qdockarea.o
    > >.obj/release-shared/qdockwindow.o .obj/release-shared/qframe.o
    > >.obj/release-shared/qgrid.o .obj/release-shared/qgridview.o
    > >.obj/release-shared/qgroupbox.o .obj/release-shared/qhbuttongroup.o
    > >.obj/release-shared/qheader.o .obj/release-shared/qhgroupbox.o
    > >.obj/release-shared/qhbox.o .obj/release-shared/qlabel.o
    > >.obj/release-shared/qlcdnumber.o .obj/release-shared/qlineedit.o
    > >.obj/release-shared/qlistbox.o .obj/release-shared/qlistview.o
    > >.obj/release-shared/qmainwindow.o .obj/release-shared/qmenubar.o
    > >.obj/release-shared/qmenudata.o .obj/release-shared/qmultilineedit.o
    > >.obj/release-shared/qpopupmenu.o .obj/release-shared/qprogressbar.o
    > >.obj/release-shared/qpushbutton.o .obj/release-shared/qradiobutton.o
    > >.obj/release-shared/qrangecontrol.o .obj/release-shared/qscrollbar.o
    > >.obj/release-shared/qscrollview.o .obj/release-shared/qslider.o
    > >.obj/release-shared/qspinbox.o .obj/release-shared/qspinwidget.o
    > >.obj/release-shared/qsplitter.o .obj/release-shared/qstatusbar.o
    > >.obj/release-shared/qsyntaxhighlighter.o
    > >.obj/release-shared/qtabbar.o .obj/release-shared/qtabwidget.o
    > >.obj/release-shared/qtitlebar.o .obj/release-shared/qtoolbar.o
    > >.obj/release-shared/qtoolbutton.o .obj/release-shared/qtooltip.o
    > >.obj/release-shared/qvalidator.o .obj/release-shared/qvbox.o
    > >.obj/release-shared/qvbuttongroup.o .obj/release-shared/qvgroupbox.o
    > >.obj/release-shared/qwhatsthis.o .obj/release-shared/qwidgetstack.o
    > >.obj/release-shared/qaction.o .obj/release-shared/qdatetimeedit.o
    > >.obj/release-shared/qeffects.o .obj/release-shared/qtextview.o
    > >.obj/release-shared/qtextbrowser.o .obj/release-shared/qtextedit.o
    > >.obj/release-shared/qwidgetplugin.o
    > >.obj/release-shared/qprintdialog.o .obj/release-shared/qcolordialog.o
    > > .obj/release-shared/qdialog.o .obj/release-shared/qerrormessage.o
    > >.obj/release-shared/qfiledialog.o .obj/release-shared/qfontdialog.o
    > >.obj/release-shared/qmessagebox.o
    > >.obj/release-shared/qprogressdialog.o
    > >.obj/release-shared/qtabdialog.o .obj/release-shared/qwizard.o
    > >.obj/release-shared/qinputdialog.o .obj/release-shared/qiconview.o
    > >.obj/release-shared/qworkspace.o .obj/release-shared/qmngio.o
    > >.obj/release-shared/qjpegio.o .obj/release-shared/qpngio.o
    > >.obj/release-shared/png.o .obj/release-shared/pngerror.o
    > >.obj/release-shared/pngget.o .obj/release-shared/pngmem.o
    > >.obj/release-shared/pngpread.o .obj/release-shared/pngread.o
    > >.obj/release-shared/pngrio.o .obj/release-shared/pngrtran.o
    > >.obj/release-shared/pngrutil.o .obj/release-shared/pngset.o
    > >.obj/release-shared/pngtrans.o .obj/release-shared/pngwio.o
    > >.obj/release-shared/pngwrite.o .obj/release-shared/pngwtran.o
    > >.obj/release-shared/pngwutil.o .obj/release-shared/adler32.o
    > >.obj/release-shared/compress.o .obj/release-shared/crc32.o
    > >.obj/release-shared/deflate.o .obj/release-shared/gzio.o
    > >.obj/release-shared/infblock.o .obj/release-shared/infcodes.o
    > >.obj/release-shared/inffast.o .obj/release-shared/inflate.o
    > >.obj/release-shared/inftrees.o .obj/release-shared/infutil.o
    > >.obj/release-shared/trees.o .obj/release-shared/uncompr.o
    > >.obj/release-shared/zutil.o .obj/release-shared/qdir_unix.o
    > >.obj/release-shared/qfile_unix.o .obj/release-shared/qfileinfo_unix.o
    > > .obj/release-shared/qmutex_unix.o
    > >.obj/release-shared/qsemaphore_unix.o
    > >.obj/release-shared/qwaitcondition_unix.o
    > >.obj/release-shared/qlibrary_unix.o .obj/release-shared/qbitarray.o
    > >.obj/release-shared/qbuffer.o .obj/release-shared/qcomponentfactory.o
    > > .obj/release-shared/qcomlibrary.o .obj/release-shared/qcstring.o
    > >.obj/release-shared/qdatastream.o .obj/release-shared/qdatetime.o
    > >.obj/release-shared/qdeepcopy.o .obj/release-shared/qdir.o
    > >.obj/release-shared/qfile.o .obj/release-shared/qfileinfo.o
    > >.obj/release-shared/qgarray.o .obj/release-shared/qgcache.o
    > >.obj/release-shared/qgdict.o .obj/release-shared/qglist.o
    > >.obj/release-shared/qglobal.o .obj/release-shared/qgpluginmanager.o
    > >.obj/release-shared/qgvector.o .obj/release-shared/qiodevice.o
    > >.obj/release-shared/qlibrary.o .obj/release-shared/qmap.o
    > >.obj/release-shared/qmutexpool.o .obj/release-shared/qptrcollection.o
    > > .obj/release-shared/qregexp.o .obj/release-shared/qstring.o
    > >.obj/release-shared/qsettings.o .obj/release-shared/qstringlist.o
    > >.obj/release-shared/qtextstream.o .obj/release-shared/qucom.o
    > >.obj/release-shared/quuid.o .obj/release-shared/qbig5codec.o
    > >.obj/release-shared/qeucjpcodec.o .obj/release-shared/qeuckrcodec.o
    > >.obj/release-shared/qgb18030codec.o .obj/release-shared/qjiscodec.o
    > >.obj/release-shared/qjpunicode.o .obj/release-shared/qrtlcodec.o
    > >.obj/release-shared/qsjiscodec.o .obj/release-shared/qtextcodec.o
    > >.obj/release-shared/qtsciicodec.o .obj/release-shared/qutfcodec.o
    > >.obj/release-shared/qtextcodecfactory.o
    > >.obj/release-shared/qtextcodecplugin.o
    > >.obj/release-shared/qfontarcodec.o .obj/release-shared/qfontcncodec.o
    > > .obj/release-shared/qfonthkcodec.o
    > >.obj/release-shared/qfontjpcodec.o .obj/release-shared/qfontkrcodec.o
    > > .obj/release-shared/qfontlaocodec.o
    > >.obj/release-shared/qfonttwcodec.o
    > >.obj/release-shared/qstylefactory.o
    > >.obj/release-shared/qstyleplugin.o .obj/release-shared/qcommonstyle.o
    > > .obj/release-shared/qcdestyle.o
    > >.obj/release-shared/qmotifplusstyle.o
    > >.obj/release-shared/qplatinumstyle.o .obj/release-shared/qsgistyle.o
    > >.obj/release-shared/qwindowsstyle.o .obj/release-shared/qmotifstyle.o
    > > .obj/release-shared/qconfig.o .obj/release-shared/moc_qaccel.o
    > >.obj/release-shared/moc_qapplication.o
    > >.obj/release-shared/moc_qasyncio.o
    > >.obj/release-shared/moc_qclipboard.o
    > >.obj/release-shared/moc_qdesktopwidget.o
    > >.obj/release-shared/moc_qdragobject.o
    > >.obj/release-shared/moc_qeventloop.o
    > >.obj/release-shared/moc_qguardedptr.o
    > >.obj/release-shared/moc_qimageformatplugin.o
    > >.obj/release-shared/moc_qlayout.o
    > >.obj/release-shared/moc_qtranslator.o
    > >.obj/release-shared/moc_qnetworkprotocol.o
    > >.obj/release-shared/moc_qobject.o
    > >.obj/release-shared/moc_qobjectcleanuphandler.o
    > >.obj/release-shared/moc_qprocess.o
    > >.obj/release-shared/moc_qsessionmanager.o
    > >.obj/release-shared/moc_qsignal.o
    > >.obj/release-shared/moc_qsignalmapper.o
    > >.obj/release-shared/moc_qsizegrip.o
    > >.obj/release-shared/moc_qsocketnotifier.o
    > >.obj/release-shared/moc_qsound.o .obj/release-shared/moc_qstyle.o
    > >.obj/release-shared/moc_qstylesheet.o
    > >.obj/release-shared/moc_qtimer.o .obj/release-shared/moc_qlocalfs.o
    > >.obj/release-shared/moc_qurloperator.o
    > >.obj/release-shared/moc_qwidget.o
    > >.obj/release-shared/moc_qrichtext_p.o
    > >.obj/release-shared/moc_qgplugin.o
    > >.obj/release-shared/moc_qbuttongroup.o
    > >.obj/release-shared/moc_qbutton.o .obj/release-shared/moc_qcheckbox.o
    > > .obj/release-shared/moc_qcombobox.o
    > >.obj/release-shared/moc_qwidgetresizehandler_p.o
    > >.obj/release-shared/moc_qdial.o .obj/release-shared/moc_qdockarea.o
    > >.obj/release-shared/moc_qdockwindow.o
    > >.obj/release-shared/moc_qframe.o .obj/release-shared/moc_qgrid.o
    > >.obj/release-shared/moc_qgridview.o
    > >.obj/release-shared/moc_qgroupbox.o
    > >.obj/release-shared/moc_qhbuttongroup.o
    > >.obj/release-shared/moc_qheader.o
    > >.obj/release-shared/moc_qhgroupbox.o .obj/release-shared/moc_qhbox.o
    > >.obj/release-shared/moc_qlabel.o .obj/release-shared/moc_qlcdnumber.o
    > > .obj/release-shared/moc_qlineedit.o
    > >.obj/release-shared/moc_qlistbox.o
    > >.obj/release-shared/moc_qlistview.o
    > >.obj/release-shared/moc_qmainwindow.o
    > >.obj/release-shared/moc_qmenubar.o
    > >.obj/release-shared/moc_qmultilineedit.o
    > >.obj/release-shared/moc_qpopupmenu.o
    > >.obj/release-shared/moc_qprogressbar.o
    > >.obj/release-shared/moc_qpushbutton.o
    > >.obj/release-shared/moc_qradiobutton.o
    > >.obj/release-shared/moc_qrangecontrol.o
    > >.obj/release-shared/moc_qscrollbar.o
    > >.obj/release-shared/moc_qscrollview.o
    > >.obj/release-shared/moc_qslider.o .obj/release-shared/moc_qspinbox.o
    > >.obj/release-shared/moc_qsplitter.o
    > >.obj/release-shared/moc_qstatusbar.o
    > >.obj/release-shared/moc_qtabbar.o
    > >.obj/release-shared/moc_qtabwidget.o
    > >.obj/release-shared/moc_qtitlebar_p.o
    > >.obj/release-shared/moc_qtoolbar.o
    > >.obj/release-shared/moc_qtoolbutton.o
    > >.obj/release-shared/moc_qtooltip.o
    > >.obj/release-shared/moc_qvalidator.o .obj/release-shared/moc_qvbox.o
    > >.obj/release-shared/moc_qvbuttongroup.o
    > >.obj/release-shared/moc_qvgroupbox.o
    > >.obj/release-shared/moc_qwidgetstack.o
    > >.obj/release-shared/moc_qaction.o
    > >.obj/release-shared/moc_qdatetimeedit.o
    > >.obj/release-shared/moc_qtextview.o
    > >.obj/release-shared/moc_qtextbrowser.o
    > >.obj/release-shared/moc_qtextedit.o
    > >.obj/release-shared/moc_qwidgetplugin.o
    > >.obj/release-shared/moc_qcolordialog.o
    > >.obj/release-shared/moc_qdialog.o
    > >.obj/release-shared/moc_qerrormessage.o
    > >.obj/release-shared/moc_qfiledialog.o
    > >.obj/release-shared/moc_qfontdialog.o
    > >.obj/release-shared/moc_qmessagebox.o
    > >.obj/release-shared/moc_qprogressdialog.o
    > >.obj/release-shared/moc_qsemimodal.o
    > >.obj/release-shared/moc_qtabdialog.o
    > >.obj/release-shared/moc_qwizard.o
    > >.obj/release-shared/moc_qinputdialog.o
    > >.obj/release-shared/moc_qprintdialog.o
    > >.obj/release-shared/moc_qiconview.o
    > >.obj/release-shared/moc_qworkspace.o
    > >.obj/release-shared/moc_qtextcodecplugin.o
    > >.obj/release-shared/moc_qstyleplugin.o
    > >.obj/release-shared/moc_qcommonstyle.o
    > >.obj/release-shared/moc_qcdestyle.o
    > >.obj/release-shared/moc_qmotifplusstyle.o
    > >.obj/release-shared/moc_qplatinumstyle.o
    > >.obj/release-shared/moc_qsgistyle.o
    > >.obj/release-shared/moc_qwindowsstyle.o
    > >.obj/release-shared/moc_qmotifstyle.o -L/usr/X11R6/lib -lXrender
    > >-lXinerama -lXft -lfreetype -lXext -lX11 -lm -lSM -lICE -ldl
    > >/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o: In function
    > >`_start':
    > >/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o(.text+0x18):
    > >undefined reference to `main'
    > >/usr/X11R6/lib/libXft.a(xftdraw.o): In function
    > >`XftDrawRenderPrepare':
    > >xftdraw.o(.text+0x37c): undefined reference to `XRenderFillRectangle'
    > >/usr/X11R6/lib/libXft.a(xftdraw.o): In function `XftDrawRect':
    > >xftdraw.o(.text+0x6ed): undefined reference to `XRenderFillRectangle'
    > >/usr/X11R6/lib/libXft.a(xftfreetype.o): In function `XftFreeTypeOpen':
    > >xftfreetype.o(.text+0x69d): undefined reference to
    > >`XRenderCreateGlyphSet'
    > >/usr/X11R6/lib/libXft.a(xftfreetype.o): In function
    > >`XftFreeTypeClose':
    > >xftfreetype.o(.text+0x723): undefined reference to
    > >`XRenderFreeGlyphSet'
    > >/usr/X11R6/lib/libXft.a(xftglyphs.o): In function `XftGlyphLoad':
    > >xftglyphs.o(.text+0x707): undefined reference to `XRenderAddGlyphs'
    > >/usr/X11R6/lib/libXft.a(xftrender.o): In function `XftRenderString8':
    > >xftrender.o(.text+0xba): undefined reference to
    > >`XRenderCompositeString8'
    > >/usr/X11R6/lib/libXft.a(xftrender.o): In function `XftRenderString16':
    > >xftrender.o(.text+0x18c): undefined reference to
    > >`XRenderCompositeString16'
    > >/usr/X11R6/lib/libXft.a(xftrender.o): In function `XftRenderString32':
    > >xftrender.o(.text+0x25b): undefined reference to
    > >`XRenderCompositeString32'
    > >collect2: ld returned 1 exit status
    > >*** Error code 1
    > >clearmake: Error: Build script failed for "../lib/libqt.so.3.1.2"
    > >================================================== ======
    > >
    > >*** Error code 1
    > >clearmake: Error: Build script failed for "sub-src"
    > >================================================== ======
    > >
    > >make: *** [init] Error 1


+ Reply to Thread