copy the last ebuild to apollon-1.0_beta1.ebuild and edit in it: MY_P="${P/_beta/b}" mfg Dietrich Reproducible: Always Steps to Reproduce: 1. 2. 3.
I tried to do this earlier, but kept getting: /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I.-I. -I../.. -I/usr/kde/3.3/include -I/usr/qt/3/include -I/usr/X11R6/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 -DNDEBUG -DNO_DEBUG -O2 -O3 -march=pentium4 -funroll-loops -pipe -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -c -o kirc.lo kirc.cpp In file included from kirc.cpp:43: kircfunctors.h: In member function `virtual bool KIRCMethodFunctor_Forward<TClass>::operator()(const KIRCMessage&)': kircfunctors.h:104: error: there are no arguments to `isValid' that depend on atemplate parameter, so a declaration of `isValid' must be available kircfunctors.h:104: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) kircfunctors.h:106: error: `m_method' undeclared (first use this function) kircfunctors.h:106: error: (Each undeclared identifier is reported only once for each function it appears in.) kircfunctors.h:107: error: `m_obj' undeclared (first use this function) kircfunctors.h: In member function `virtual bool KIRCMethodFunctor_Empty<TClass>::operator()(const KIRCMessage&)': kircfunctors.h:127: error: there are no arguments to `isValid' that depend on atemplate parameter, so a declaration of `isValid' must be available kircfunctors.h:129: error: `m_method' undeclared (first use this function) kircfunctors.h:130: error: `m_obj' undeclared (first use this function) kircfunctors.h: In member function `virtual bool KIRCMethodFunctor_S<TClass, argindex>::operator()(const KIRCMessage&)': kircfunctors.h:150: error: there are no arguments to `isValid' that depend on atemplate parameter, so a declaration of `isValid' must be available kircfunctors.h:152: error: `m_method' undeclared (first use this function) kircfunctors.h:153: error: `m_obj' undeclared (first use this function) kircfunctors.h: In member function `virtual bool KIRCMethodFunctor_S_Prefix<TClass>::operator()(const KIRCMessage&)': kircfunctors.h:173: error: there are no arguments to `isValid' that depend on atemplate parameter, so a declaration of `isValid' must be available kircfunctors.h:175: error: `m_method' undeclared (first use this function) kircfunctors.h:176: error: `m_obj' undeclared (first use this function) kircfunctors.h: In member function `virtual bool KIRCMethodFunctor_S_Suffix<TClass>::operator()(const KIRCMessage&)': kircfunctors.h:196: error: there are no arguments to `isValid' that depend on atemplate parameter, so a declaration of `isValid' must be available kircfunctors.h:198: error: `m_method' undeclared (first use this function) kircfunctors.h:199: error: `m_obj' undeclared (first use this function) kircfunctors.h: In member function `virtual bool KIRCMethodFunctor_SS<TClass, argindex>::operator()(const KIRCMessage&)': kircfunctors.h:219: error: there are no arguments to `isValid' that depend on atemplate parameter, so a declaration of `isValid' must be available kircfunctors.h:221: error: `m_method' undeclared (first use this function) kircfunctors.h:222: error: `m_obj' undeclared (first use this function) kircfunctors.h:222: error: `type' undeclared (first use this function) kircfunctors.h: In member function `virtual bool KIRCMethodFunctor_SS_Prefix<TClass, argindex>::operator()(const KIRCMessage&)': kircfunctors.h:242: error: there are no arguments to `isValid' that depend on atemplate parameter, so a declaration of `isValid' must be available kircfunctors.h:244: error: `m_method' undeclared (first use this function) kircfunctors.h:245: error: `m_obj' undeclared (first use this function) kircfunctors.h: In member function `virtual bool KIRCMethodFunctor_SS_Suffix<TClass, argindex>::operator()(const KIRCMessage&)': kircfunctors.h:265: error: there are no arguments to `isValid' that depend on atemplate parameter, so a declaration of `isValid' must be available kircfunctors.h:267: error: `m_method' undeclared (first use this function) kircfunctors.h:268: error: `m_obj' undeclared (first use this function) kircfunctors.h: In member function `virtual bool KIRCMethodFunctor_SS_PrefixSuffix<TClass>::operator()(const KIRCMessage&)': kircfunctors.h:288: error: there are no arguments to `isValid' that depend on atemplate parameter, so a declaration of `isValid' must be available kircfunctors.h:290: error: `m_method' undeclared (first use this function) kircfunctors.h:291: error: `m_obj' undeclared (first use this function) kirc.cpp: At global scope: kirc.cpp:1626: warning: unused parameter 'msg' kirc.cpp:1261: warning: unused parameter 'msg' kirc.cpp:1255: warning: unused parameter 'msg' kirc.cpp:1121: warning: unused parameter 'msg' kirc.cpp:1116: warning: unused parameter 'msg' make[3]: *** [kirc.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/apollon-1.0_beta1/work/apollon-1.0b1/apollon/libkirc' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/apollon-1.0_beta1/work/apollon-1.0b1/apollon' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/apollon-1.0_beta1/work/apollon-1.0b1' make: *** [all] Error 2
hmm, it works fine for me! mfg Dietrich
I get the same problem when compiling with GCC 3.4, however GCC 3.3 compiles it fine.
Forgot to mention. 1.0 was released today and it compiles fine with GCC3.4 http://apollon.sourceforge.net/news.html
This is in CVS now, should appear on the mirrors soon.