3_3_0_BETA_! Build problems

James Richard Tyrer tyrerj at acm.org
Mon Jul 12 05:51:34 CEST 2004


James Richard Tyrer wrote:
> James Richard Tyrer wrote:
> 
>> I can't confirm this, it takes hours to build, but I think that my 
>> problem is that despite updating my CVS tree with the command:
>>
>>     cvs up -rKDE_3_3_0_BETA_1
>>
>> That I did not have the correct files in the: "kdebase" module.
>>
>> I have therefore checked it out again and I think that it is correct 
>> this time.
>>
>> The update was also doing strange things.  I will try this again after 
>> the build is done (or fails).
>>
>> Has anyone else had CVS problems?
>>
>> I am using:
>>
>> :pserver:anonymous at bluemchen.kde.org:/home/kde
>>
> 
> I still have problems so, I downloaded the tarballs for kdelibs & 
> kdebase.  This now fails with a different error:
> 
> make[1]: Entering directory 
> `/usr/CVS-unstable/kde-3.2.91/kdebase-3.2.91/kwin'
> if /bin/sh ../libtool --silent --mode=compile --tag=CXX 
> /usr/local/bin/g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./lib 
> -I/usr/kde3-unstable/include -I/usr/local/qt-3.3.2/include 
> -I/usr/X11R6/include   -DQT_THREAD_SUPPORT -I/usr/local/ssl/include 
> -I/usr/gnome2/include -D_REENTRANT -D_FILE_OFFSET_BITS=64  
> -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 
> -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W 
> -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -march=k6-3 
> -mcpu=k6-3 -O2 -Wformat-security -Wmissing-format-attribute 
> -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE 
> -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION 
> -D_GNU_SOURCE  -MT client.lo -MD -MP -MF ".deps/client.Tpo" -c -o 
> client.lo client.cpp; \
> then mv -f ".deps/client.Tpo" ".deps/client.Plo"; else rm -f 
> ".deps/client.Tpo"; exit 1; fi
> utils.h:164: error: `QCString KWinInternal::getStringProperty(long unsigned
>    int, long unsigned int, char)' used but never defined
> make[1]: *** [client.lo] Error 1
> make[1]: Leaving directory 
> `/usr/CVS-unstable/kde-3.2.91/kdebase-3.2.91/kwin'
> make: *** [all-recursive] Error 1
> 
> This appears to be an error:
> 
>     static QCString getStringProperty(WId w, Atom prop, char separator=0);
> 
> IIUC, this should not be declared: "static" in a header file.
> 
> Did this compile OK for everyone else?  I use GCC-3.3.3.

So I fixed that and got another error:

make[2]: Entering directory 
`/usr/CVS-unstable/kde-3.2.91/kdebase-3.2.91/kwin/kcmkwin/kwinrules'
if /bin/sh ../../../libtool --silent --mode=compile --tag=CXX /usr/local/bin/g++ 
-DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../kwin/lib 
-I/usr/kde3-unstable/include -I/usr/local/qt-3.3.2/include -I/usr/X11R6/include 
  -DKCMRULES -DQT_THREAD_SUPPORT -I/usr/local/ssl/include -I/usr/gnome2/include 
-D_REENTRANT -D_FILE_OFFSET_BITS=64  -Wnon-virtual-dtor -Wno-long-long -Wundef 
-ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion 
-Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG 
-O2 -march=k6-3 -mcpu=k6-3 -O2 -Wformat-security -Wmissing-format-attribute 
-fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE 
-DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -D_GNU_SOURCE 
  -MT detectwidget.lo -MD -MP -MF ".deps/detectwidget.Tpo" -c -o detectwidget.lo 
detectwidget.cpp; \
then mv -f ".deps/detectwidget.Tpo" ".deps/detectwidget.Plo"; else rm -f 
".deps/detectwidget.Tpo"; exit 1; fi
detectwidget.cpp: In member function `void
    KWinInternal::DetectDialog::readWindow(long unsigned int)':
detectwidget.cpp:59: error: too few arguments to function `QCString
    KWinInternal::getStringProperty(long unsigned int, long unsigned int, char)'
detectwidget.cpp:103: error: at this point in file
detectwidget.cpp:59: error: too few arguments to function `QCString
    KWinInternal::getStringProperty(long unsigned int, long unsigned int, char)'
detectwidget.cpp:109: error: at this point in file
make[2]: *** [detectwidget.lo] Error 1
make[2]: Leaving directory 
`/usr/CVS-unstable/kde-3.2.91/kdebase-3.2.91/kwin/kcmkwin/kwinrules

--
JRT


More information about the kde-quality mailing list