From kde-devel Tue Oct 30 19:41:06 2001 From: Stephan Johach Date: Tue, 30 Oct 2001 19:41:06 +0000 To: kde-devel Subject: Problem compiling kdebase (HEAD cvs ) X-MARC-Message: https://marc.info/?l=kde-devel&m=100447086503655 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?=20 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=3Dcompile --tag=3DCXX c++ -DHAVE_CONFIG_H -I= =2E -I.=20 -I../.. -I/test/KDE2/include -I/test/KDE2/cvsroot/qt-copy/include=20 -I/usr/X11R6/include -DPIC -fPIC -DQT_THREAD_SUPPORT -D_REENTRANT -an= si=20 -D_XOPEN_SOURCE=3D500 -D_BSD_SOURCE -Wbad-function-cast -Wcast-align -Wun= def=20 -Wconversion -fno-builtin -Wnon-virtual-dtor -Wno-long-long -g -O2 -Wall=20 -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings=20 -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT=20 -DQT_NO_ASCII_CAST -c main.cpp mkdir .libs c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/test/KDE2/include=20 -I/test/KDE2/cvsroot/qt-copy/include -I/usr/X11R6/include -DPIC -fPIC=20 -DQT_THREAD_SUPPORT -D_REENTRANT -ansi -D_XOPEN_SOURCE=3D500 -D_BSD_SOURC= E=20 -Wbad-function-cast -Wcast-align -Wundef -Wconversion -fno-builtin=20 -Wnon-virtual-dtor -Wno-long-long -g -O2 -Wall -pedantic -W -Wpointer-ari= th=20 -Wmissing-prototypes -Wwrite-strings -fno-exceptions -fno-check-new=20 -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST -Wp,-MD,.deps/main= =2Epp=20 -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=3Dcompile --tag=3DCXX c++ -DHAVE_CONFIG_H -I= =2E -I.=20 -I../.. -I/test/KDE2/include -I/test/KDE2/cvsroot/qt-copy/include=20 -I/usr/X11R6/include -DPIC -fPIC -DQT_THREAD_SUPPORT -D_REENTRANT -an= si=20 -D_XOPEN_SOURCE=3D500 -D_BSD_SOURCE -Wbad-function-cast -Wcast-align -Wun= def=20 -Wconversion -fno-builtin -Wnon-virtual-dtor -Wno-long-long -g -O2 -Wall=20 -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings=20 -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT=20 -DQT_NO_ASCII_CAST -c mouse.cpp c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/test/KDE2/include=20 -I/test/KDE2/cvsroot/qt-copy/include -I/usr/X11R6/include -DPIC -fPIC=20 -DQT_THREAD_SUPPORT -D_REENTRANT -ansi -D_XOPEN_SOURCE=3D500 -D_BSD_SOURC= E=20 -Wbad-function-cast -Wcast-align -Wundef -Wconversion -fno-builtin=20 -Wnon-virtual-dtor -Wno-long-long -g -O2 -Wall -pedantic -W -Wpointer-ari= th=20 -Wmissing-prototypes -Wwrite-strings -fno-exceptions -fno-check-new=20 -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST -Wp,-MD,.deps/mous= e.pp=20 -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 ' > kmousedlg.cpp /test/KDE2/cvsroot/qt-copy/bin/uic -tr QT_KDE_I18N -i kmousedlg.h=20 =2E/kmousedlg.ui | sed -e "s,i18n( \"\" ),QString::null,g" | sed -e=20 "s,QT_KDE_I18N( \"\"\, \"\" ),QString::null,g" >> kmousedlg.cpp || rm -f=20 kmousedlg.cpp echo '#include "kmousedlg.moc"' >> kmousedlg.cpp /bin/sh ../../libtool --mode=3Dcompile --tag=3DCXX c++ -DHAVE_CONFIG_H -I= =2E -I.=20 -I../.. -I/test/KDE2/include -I/test/KDE2/cvsroot/qt-copy/include=20 -I/usr/X11R6/include -DPIC -fPIC -DQT_THREAD_SUPPORT -D_REENTRANT -an= si=20 -D_XOPEN_SOURCE=3D500 -D_BSD_SOURCE -Wbad-function-cast -Wcast-align -Wun= def=20 -Wconversion -fno-builtin -Wnon-virtual-dtor -Wno-long-long -g -O2 -Wall=20 -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings=20 -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT=20 -DQT_NO_ASCII_CAST -c kmousedlg.cpp c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/test/KDE2/include=20 -I/test/KDE2/cvsroot/qt-copy/include -I/usr/X11R6/include -DPIC -fPIC=20 -DQT_THREAD_SUPPORT -D_REENTRANT -ansi -D_XOPEN_SOURCE=3D500 -D_BSD_SOURC= E=20 -Wbad-function-cast -Wcast-align -Wundef -Wconversion -fno-builtin=20 -Wnon-virtual-dtor -Wno-long-long -g -O2 -Wall -pedantic -W -Wpointer-ari= th=20 -Wmissing-prototypes -Wwrite-strings -fno-exceptions -fno-check-new=20 -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST=20 -Wp,-MD,.deps/kmousedlg.pp -c kmousedlg.cpp -fPIC -DPIC -o .libs/kmoused= lg.o kmousedlg.cpp: In method `KMouseDlg::KMouseDlg(QWidget * =3D 0, const cha= r * =3D=20 0, unsigned int =3D 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 > --=20 Das Verhalten von Gates hatte mir bewiesen, dass ich auf ihn und seine beiden Gef=E4hrten nicht rechnen durfte.=20 =09(Karl May, Winnetou III) >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<