[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Problem compiling kdebase (HEAD cvs )
From:       Stephan Johach <lucardus () onlinehome ! de>
Date:       2001-10-30 19:41:06
[Download RAW message or body]

Hi!

I have a tricky problem while compiling kdebase. I made several
cvs updates, and make cvs-clean, etc. pp. but the problem
remains.

Now I replaced all occurences of QT_KDE_I18N(...) with i18n(...)
in kmousedlg.cpp and at least it compiles now.

Why is this sed stuff done? Any hints? 

Below is the output.

Regards,
Stephan

make[4]: Entering directory `/test/KDE2/cvsroot/kdebase/kcontrol/input'
/test/KDE2/cvsroot/qt-copy/bin/uic -o kmousedlg.h ./kmousedlg.ui
/bin/sh ../../libtool --mode=compile --tag=CXX c++ -DHAVE_CONFIG_H -I. -I. 
-I../.. -I/test/KDE2/include -I/test/KDE2/cvsroot/qt-copy/include 
-I/usr/X11R6/include   -DPIC -fPIC -DQT_THREAD_SUPPORT  -D_REENTRANT  -ansi 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wbad-function-cast -Wcast-align -Wundef 
-Wconversion -fno-builtin -Wnon-virtual-dtor -Wno-long-long -g -O2 -Wall 
-pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings 
-fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT 
-DQT_NO_ASCII_CAST  -c main.cpp
mkdir .libs
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/test/KDE2/include 
-I/test/KDE2/cvsroot/qt-copy/include -I/usr/X11R6/include -DPIC -fPIC 
-DQT_THREAD_SUPPORT -D_REENTRANT -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE 
-Wbad-function-cast -Wcast-align -Wundef -Wconversion -fno-builtin 
-Wnon-virtual-dtor -Wno-long-long -g -O2 -Wall -pedantic -W -Wpointer-arith 
-Wmissing-prototypes -Wwrite-strings -fno-exceptions -fno-check-new 
-DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST -Wp,-MD,.deps/main.pp 
-c main.cpp  -fPIC -DPIC -o .libs/main.o
/test/KDE2/cvsroot/qt-copy/bin/moc ./mouse.h -o mouse.moc
/bin/sh ../../libtool --mode=compile --tag=CXX c++ -DHAVE_CONFIG_H -I. -I. 
-I../.. -I/test/KDE2/include -I/test/KDE2/cvsroot/qt-copy/include 
-I/usr/X11R6/include   -DPIC -fPIC -DQT_THREAD_SUPPORT  -D_REENTRANT  -ansi 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wbad-function-cast -Wcast-align -Wundef 
-Wconversion -fno-builtin -Wnon-virtual-dtor -Wno-long-long -g -O2 -Wall 
-pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings 
-fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT 
-DQT_NO_ASCII_CAST  -c mouse.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/test/KDE2/include 
-I/test/KDE2/cvsroot/qt-copy/include -I/usr/X11R6/include -DPIC -fPIC 
-DQT_THREAD_SUPPORT -D_REENTRANT -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE 
-Wbad-function-cast -Wcast-align -Wundef -Wconversion -fno-builtin 
-Wnon-virtual-dtor -Wno-long-long -g -O2 -Wall -pedantic -W -Wpointer-arith 
-Wmissing-prototypes -Wwrite-strings -fno-exceptions -fno-check-new 
-DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST -Wp,-MD,.deps/mouse.pp 
-c mouse.cpp  -fPIC -DPIC -o .libs/mouse.o
/test/KDE2/cvsroot/qt-copy/bin/moc kmousedlg.h -o kmousedlg.moc
rm -f kmousedlg.cpp
echo '#include <klocale.h>' > kmousedlg.cpp
/test/KDE2/cvsroot/qt-copy/bin/uic -tr QT_KDE_I18N -i kmousedlg.h 
./kmousedlg.ui | sed -e "s,i18n( \"\" ),QString::null,g" | sed -e 
"s,QT_KDE_I18N( \"\"\, \"\" ),QString::null,g" >> kmousedlg.cpp || rm -f 
kmousedlg.cpp
echo '#include "kmousedlg.moc"' >> kmousedlg.cpp
/bin/sh ../../libtool --mode=compile --tag=CXX c++ -DHAVE_CONFIG_H -I. -I. 
-I../.. -I/test/KDE2/include -I/test/KDE2/cvsroot/qt-copy/include 
-I/usr/X11R6/include   -DPIC -fPIC -DQT_THREAD_SUPPORT  -D_REENTRANT  -ansi 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wbad-function-cast -Wcast-align -Wundef 
-Wconversion -fno-builtin -Wnon-virtual-dtor -Wno-long-long -g -O2 -Wall 
-pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings 
-fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT 
-DQT_NO_ASCII_CAST  -c kmousedlg.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/test/KDE2/include 
-I/test/KDE2/cvsroot/qt-copy/include -I/usr/X11R6/include -DPIC -fPIC 
-DQT_THREAD_SUPPORT -D_REENTRANT -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE 
-Wbad-function-cast -Wcast-align -Wundef -Wconversion -fno-builtin 
-Wnon-virtual-dtor -Wno-long-long -g -O2 -Wall -pedantic -W -Wpointer-arith 
-Wmissing-prototypes -Wwrite-strings -fno-exceptions -fno-check-new 
-DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST 
-Wp,-MD,.deps/kmousedlg.pp -c kmousedlg.cpp  -fPIC -DPIC -o .libs/kmousedlg.o
kmousedlg.cpp: In method `KMouseDlg::KMouseDlg(QWidget * = 0, const char * = 
0, unsigned int = 0)':
kmousedlg.cpp:35: `QT_KDE_I18N' undeclared (first use this function)
kmousedlg.cpp:35: (Each undeclared identifier is reported only once
kmousedlg.cpp:35: for each function it appears in.)
make[4]: *** [kmousedlg.lo] Error 1
make[4]: Leaving directory `/test/KDE2/cvsroot/kdebase/kcontrol/input'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/test/KDE2/cvsroot/kdebase/kcontrol/input'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/test/KDE2/cvsroot/kdebase/kcontrol'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/test/KDE2/cvsroot/kdebase'
make: *** [all-recursive-am] Error 2
hunsum@wormsalt:/test/KDE2/cvsroot/kdebase >

-- 
Das Verhalten von Gates hatte mir bewiesen, dass ich auf ihn und
seine beiden Gefährten nicht rechnen durfte. 
	(Karl May, Winnetou III)

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic