3.4 build error

Bernd Schubert bernd-schubert at gmx.de
Thu May 25 21:07:46 UTC 2006


Hi,

I'm tryting to compile the 3.4 branch and get this error

make[1]: Entering directory 
`/tmpa/bernd/kdevelop/kdevelop-3.4/kdevelop/obj-i486-linux-gnu/lib/interfaces/extensions'
/usr/share/qt3/bin/moc /tmpa/bernd/kdevelop/kdevelop-3.4/kdevelop/./lib/interfaces/extensions/codebrowserfrontend.h -o 
codebrowserfrontend.moc.cpp
creating libkdevextensions_la.all_cpp.cpp ...
/bin/sh ../../../libtool --silent --tag=CXX --mode=compile 
g++ -DHAVE_CONFIG_H -I. -I/tmpa/bernd/kdevelop/kdevelop-3.4/kdevelop/./lib/interfaces/extensions -I../../.. -I/tmpa/bernd/kdevelop/kdevelop-3.4/kdevelop/./lib/interfaces -I/usr/include/kde -I/usr/share/qt3/include -I.   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -g -Wall -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -c -o 
libkdevextensions_la.all_cpp.lo libkdevextensions_la.all_cpp.cpp
codebrowserfrontend.moc.cpp:22: error: 'Extensions' has not been declared
codebrowserfrontend.moc.cpp:22: error: non-member function 'const char* 
className()' cannot have cv-qualifier
codebrowserfrontend.moc.cpp:27: error: 'Extensions' has not been declared
codebrowserfrontend.moc.cpp:28: error: 'Extensions' has not been declared
codebrowserfrontend.moc.cpp:28: error: 'staticMetaObject' was not declared in 
this scope
codebrowserfrontend.moc.cpp:50: error: 'Extensions' has not been declared
codebrowserfrontend.moc.cpp:68: error: 'Extensions' has not been declared
codebrowserfrontend.moc.cpp: In function 'void* qt_cast(const char*)':
codebrowserfrontend.moc.cpp:71: error: invalid use of 'this' in non-member 
function
codebrowserfrontend.moc.cpp:72: error: cannot call member function 'virtual 
[cut]

I have no idea why, but g++ just refuses to include 
kdevelop/lib/interfaces/extensions/codebrowserfrontend.h

If I change in this header file the definition KDEVAPPFRONTEND_H to something 
different it works. I just would like to know why, for the compilation of 
this specific file I don't see any other definition of KDEVAPPFRONTEND_H.


Thanks,
	Bernd


-- 
Bernd Schubert
PCI / Theoretische Chemie
Universität Heidelberg
INF 229
69120 Heidelberg





More information about the KDevelop-devel mailing list