compiling QT

Robert Bercik bercikr at georgetown.edu
Wed Nov 15 18:57:21 PST 2000


Mr R A Mercer wrote:

> On Wed, 15 Nov 2000, Seth Payne wrote:
>
> > Hello,
> >
> > I have been following the X11 LFS hints and when compiling QT I get the
> > following errors:
> >
> > l -L../lib -lqutil -L../lib -lqt
> > /opt/qt/lib/libqt.so: undefined reference to `mng_initialize'
> > /opt/qt/lib/libqt.so: undefined reference to `pthread_create'
> > /opt/qt/lib/libqt.so: undefined reference to `jpeg_read_scanlines'
> > /opt/qt/lib/libqt.so: undefined reference to `mng_get_userdata'
> > /opt/qt/lib/libqt.so: undefined reference to `mng_set_suspensionmode'
> > /opt/qt/lib/libqt.so: undefined reference to `pthread_mutexattr_destroy'
> > /opt/qt/lib/libqt.so: undefined reference to `jpeg_set_defaults'
> > /opt/qt/lib/libqt.so: undefined reference to `mng_setcb_getcanvasline'
> > /opt/qt/lib/libqt.so: undefined reference to `jpeg_start_decompress'
> > /opt/qt/lib/libqt.so: undefined reference to `jpeg_destroy_decompress'
> > /opt/qt/lib/libqt.so: undefined reference to `jpeg_std_error'
> > /opt/qt/lib/libqt.so: undefined reference to `jpeg_CreateDecompress'
> > /opt/qt/lib/libqt.so: undefined reference to `mng_display_resume'
> > /opt/qt/lib/libqt.so: undefined reference to `mng_setcb_readdata'
> > /opt/qt/lib/libqt.so: undefined reference to `mng_readdisplay'
> > /opt/qt/lib/libqt.so: undefined reference to `jpeg_read_header'
> > /opt/qt/lib/libqt.so: undefined reference to `mng_setcb_settimer'
> > /opt/qt/lib/libqt.so: undefined reference to `jpeg_start_compress'
> > /opt/qt/lib/libqt.so: undefined reference to `jpeg_destroy_compress'
> > /opt/qt/lib/libqt.so: undefined reference to `pthread_mutexattr_settype'
> > /opt/qt/lib/libqt.so: undefined reference to `mng_set_canvasstyle'
> > /opt/qt/lib/libqt.so: undefined reference to `jpeg_finish_decompress'
> > /opt/qt/lib/libqt.so: undefined reference to `jpeg_resync_to_restart'
> > /opt/qt/lib/libqt.so: undefined reference to `mng_setcb_processheader'
> > /opt/qt/lib/libqt.so: undefined reference to `jpeg_CreateCompress'
> > /opt/qt/lib/libqt.so: undefined reference to `pthread_mutexattr_init'
> > /opt/qt/lib/libqt.so: undefined reference to `mng_setcb_closestream'
> > /opt/qt/lib/libqt.so: undefined reference to `jpeg_finish_compress'
> > /opt/qt/lib/libqt.so: undefined reference to `mng_setcb_refresh'
> > /opt/qt/lib/libqt.so: undefined reference to `pthread_mutex_trylock'
> > /opt/qt/lib/libqt.so: undefined reference to `mng_setcb_errorproc'
> > /opt/qt/lib/libqt.so: undefined reference to `jpeg_set_quality'
> > /opt/qt/lib/libqt.so: undefined reference to `jpeg_write_scanlines'
> > /opt/qt/lib/libqt.so: undefined reference to `mng_setcb_gettickcount'
> > /opt/qt/lib/libqt.so: undefined reference to `mng_setcb_openstream'
> > /opt/qt/lib/libqt.so: undefined reference to `pthread_cond_timedwait'
> > collect2: ld returned 1 exit status
> > make[6]: *** [/opt/qt/bin/uic] Error 1
> > make[6]: Leaving directory `/opt/qt-2.2.1/tools/designer/uic'
> > make[5]: *** [uic] Error 2
> > make[5]: Leaving directory `/opt/qt-2.2.1/tools/designer'
> > make[4]: *** [all] Error 2
> > make[4]: Leaving directory `/opt/qt-2.2.1/tools/designer'
> > make[3]: *** [designer] Error 2
> > make[3]: Leaving directory `/opt/qt-2.2.1/tools'
> > make[2]: *** [all] Error 2
> > make[2]: Leaving directory `/opt/qt-2.2.1/tools'
> > make[1]: *** [sub-tools] Error 2
> > make[1]: Leaving directory `/opt/qt-2.2.1'
> > make: *** [init] Error 2
>
> Looks like somthing to do with libmng and libjpeg - are they install
> correctly?
>
> Cheers
>
> Adam
>
> --
> Unsubscribe: send email to lfs-apps-request at linuxfromscratch.org
> and put unsubscribe in the subject header of the messageI

Yes,

    I had this same problem when compiling qt, I had to get a lot of random
image format libraries, and I also think you have to set some environment
variable. or configure with options...I know that not much help but do a
                ./configure --help and use any --options-for-config that seem
like they'd apply

-Rob


-- 
Unsubscribe: send email to lfs-apps-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message




More information about the blfs-support mailing list