Doesn't emerge, these are the errors: interface.h:92: error: expected class-name before '{' token interface.h:102: error: ISO C++ forbids declaration of 'ExternalModule' with no type interface.h:102: error: expected ';' before '*' token interface.h:92: warning: 'class GpsimModule' has virtual functions but non-virtual destructor interface.h:131: error: expected class-name before '{' token interface.h:92: error: expected class-name before '{' token interface.h:102: error: ISO C++ forbids declaration of 'ExternalModule' with no type interface.h:102: error: expected ';' before '*' token interface.h:92: warning: 'class GpsimModule' has virtual functions but non-virtual destructor interface.h:131: error: expected class-name before '{' token module_manager.cpp:25: error: 'construct' is not a member of 'GpsimModule' module_manager.cpp:27: warning: missing braces around initializer for 'char* [2]' module_manager.cpp:27: warning: missing braces around initializer for 'char* [2]' make[2]: *** [module_manager.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... interface.cpp: In constructor 'GpsimModule::GpsimModule()': interface.cpp:48: error: class 'GpsimModule' does not have any field named 'ExternalModule' interface.cpp: In static member function 'static void GpsimModule::quitGpsim()': interface.cpp:79: error: 'gpsim_stop' was not declared in this scope interface.cpp: In member function 'void GpsimModule::updatePicData()': interface.cpp:106: error: 'class IOPIN' has no member named 'get_state' interface.cpp: In member function 'void GpsimModule::initPicData()': interface.cpp:242: error: cannot dynamic_cast 'active_cpu' (of type 'class Processor*') to type 'struct P16C8x*' (target is not pointer or reference to complete type) interface.cpp: In member function 'void GpsimModule::getPorts()': interface.cpp:268: error: invalid use of undefined type 'struct P16C8x' interface.h:24: error: forward declaration of 'struct P16C8x' interface.cpp:269: error: invalid use of undefined type 'struct P16C8x' interface.h:24: error: forward declaration of 'struct P16C8x' interface.cpp: At global scope: interface.cpp:299: error: expected constructor, destructor, or type conversion before '*' token interface.cpp: In constructor 'GpsimInterface::GpsimInterface(GpsimModule*)': interface.cpp:310: error: no matching function for call to 'Cycle_Counter::set_break_delta(const int&, GpsimInterface* const)' /usr/include/gpsim/gpsim_time.h:192: note: candidates are: bool Cycle_Counter::set_break_delta(guint64, TriggerObject*, unsigned int) interface.cpp: In member function 'virtual void GpsimInterface::callback()': interface.cpp:317: error: no matching function for call to 'Cycle_Counter::set_break_delta(const int&, GpsimInterface* const)' /usr/include/gpsim/gpsim_time.h:192: note: candidates are: bool Cycle_Counter::set_break_delta(guint64, TriggerObject*, unsigned int) make[2]: *** [interface.lo] Error 1 make[2]: Leaving directory `/var/tmp/portage/ktechlab-0.1.3/work/ktechlab-0.1.3/gpsim-interface' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/ktechlab-0.1.3/work/ktechlab-0.1.3' make: *** [all] Error 2 !!! ERROR: sci-electronics/ktechlab-0.1.3 failed.
I copied the ebuild in my overlay renaming it ktechlab-0.3.ebuild (removing the patch line from the ebuild),digested the ebuild, and it emerged fine after a little patch to microbe/pic14.h for the well known extra qualification error (patch will follow) , then this bug is depending on bug #99051
Created attachment 84377 [details, diff] ktechlab-0.3-gcc-4.1.diff
Created attachment 84378 [details] ktechlab-0.3.ebuild ebuild to make it easier....
Looks fine to me.
Committed to portage with version bump - looks good here. Let me know if there are any further issues at all. Thanks.