Compiling KDE 3.2.1
Hi all,
I'm trying to compile KDE 3.2.1 in an old RedHat 6.2. I successfully compiled and installed qt 3.3.1 and the arts package, but when I go on with kdelibs I get the following error from the compiler: make[4]: Entering directory `/home/anton/local/src/kdelibs-3.2.1/kio/misc/kpac' if /bin/sh ../../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../dcop -I../../../kio/kssl -I../../.. -I../../../libltdl -I../../../kded -I../../../dcop -I../../../libltdl -I../../../kdefx -I../../../kdecore -I../../../kdeui -I../../../kio -I../../../kio/kio -I../../../kio/kfile -I../../.. -I/usr/local/qt/include -I. -I/home/anton/local/kde/include -DQT_THREAD_SUPPORT -D_REENTRANT -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 -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 -fexceptions -MT script.lo -MD -MP -MF ".deps/script.Tpo" \ -c -o script.lo `test -f 'script.cpp' || echo './'`script.cpp; \ then mv -f ".deps/script.Tpo" ".deps/script.Plo"; \ else rm -f ".deps/script.Tpo"; exit 1; \ fi script.cpp:67: error: parse error before `(' token script.cpp:67: error: syntax error before `(' token script.cpp:68: error: semicolon missing after declaration of ` <unnamed>::Address' script.cpp: In static member function `static <unnamed>::Address <unnamed>::Address::resolve(const KJS::UString&)': script.cpp:63: error: no matching function for call to `<unnamed>::Address:: Address(QString, bool)' script.cpp:59: error: candidates are: <unnamed>::Address::Address() script.cpp:59: error: <unnamed>::Address::Address(const <unnamed>::Address&) script.cpp: In static member function `static <unnamed>::Address <unnamed>::Address::parse(const KJS::UString&)': script.cpp:65: error: no matching function for call to `<unnamed>::Address:: Address(QString, bool)' script.cpp:59: error: candidates are: <unnamed>::Address::Address() script.cpp:59: error: <unnamed>::Address::Address(const <unnamed>::Address&) < Here follows a lot of chained errors derived from the former > I have tried to compile with gcc-3.3.3 and gcc-3.0.4 with the same results. I am suspicious with a compatibility issue with the glibc-2.1.3. What do you think? Any idea? Regards, Antón |
All times are GMT -5. The time now is 06:12 AM. |