LinCVS build fails

Couannette couannette at free.fr
Sat May 22 01:20:21 GMT 2004


my qmake produces this in Makefile :

LIBS     = $(SUBLIBS) -L$(QTDIR)/lib -L/usr/X11R6/lib -lqt-mt -lXext
-lX11 -lm -lpthread

and SUBLIBS is empty

wherewas ldd gives me this for qt3 (qt-mt.so) :

ldd /opt/lunar/qt/3/lib/libqt-mt.so

        libpng.so.3 => /usr/lib/libpng.so.3 (0x406d1000)
        libz.so.1 => /usr/lib/libz.so.1 (0x40700000)
        libGL.so.1 => /usr/lib/libGL.so.1 (0x40710000)
        libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x4076c000)
        libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x40782000)
        libXrandr.so.2 => /usr/X11R6/lib/libXrandr.so.2 (0x4078a000)
        libXinerama.so.1 => /usr/X11R6/lib/libXinerama.so.1 (0x4078f000)
        libXft.so.2 => /usr/X11R6/lib/libXft.so.2 (0x40792000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x407a4000)
        libfontconfig.so.1 => /usr/X11R6/lib/libfontconfig.so.1 (0x4080c000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40833000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40841000)
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x40909000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x40912000)
        libdl.so.2 => /lib/libdl.so.2 (0x4092a000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x4092d000)
        libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x4097e000)
        libm.so.6 => /lib/libm.so.6 (0x40a24000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x40a47000)
        libc.so.6 => /lib/libc.so.6 (0x40a4f000)
        libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0x40b7f000)
        libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x4102a000)
        libexpat.so.0 => /usr/lib/libexpat.so.0 (0x4107a000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

I don't understand why lincvs make fails with undefine ref to libGL. So
I suspected qmake... Do I missed something ?

Regards
Michel

Florin Braescu wrote:
> Pe data de Joi Mai 20 2004 20:35, Couannette a scris:
> 
>>Problems with LinCVS :
>>
>>If x11-ssh-askpass is not installed qmake fails (that's a lincvs mistake
>>there), therefore I propose in BUILD:
>>
>>if ! module_installed x11-ssh-askpass ; then
>>sedit \
>>'s/!mac:unix:CONFIG += ssh-askpass/#!mac:unix:CONFIG += ssh-askpass/'\
>>lincvs.pro
>>fi
>>
>>And qmake doesn't correctly propagate libraries used & linked when qt-mt
>> was built (3.3.2). Thus LinCVS ends at ld stage with undef from libGL ...
>>
>>This is a pain since qt3 is built against a lot of libraries. BTW there
>>is only one qt lib installed on my system: qt-mt.
>>
>>Do we have a Qt specialist that could figure out this crappy stuff ?
>>
>>Thanks
>>
>>Couannette
> 
> 
> Hi Couannette,
> 
>   I was unable to reproduce any of the problems you encountered. The lincvs 
> module compiles just fine without x11-ssh-askpass module installed (and i use 
> lincvs for a long time) and regarding the qt lib i can't understand the 
> problem either. The only problem i have now with lincvs is that it installs 
> without rights for other users in the system (must fix the chmod for some 
> installed files). Can you give me more details please?
> 
>   Regards,
>    Florin
>  
> _______________________________________________
> Lunar mailing list
> Lunar at lunar-linux.org
> http://dbguin.lunar-linux.org/mailman/listinfo/lunar
> 


More information about the Lunar mailing list