Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 129499 - ktechlab-0.1.3 + gcc-4.1
Summary: ktechlab-0.1.3 + gcc-4.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on: 99051
Blocks: 117482
  Show dependency tree
 
Reported: 2006-04-10 10:01 UTC by Matteo Azzali (RETIRED)
Modified: 2006-04-14 12:39 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ktechlab-0.3-gcc-4.1.diff (ktechlab-0.3-gcc-4.1.diff,277 bytes, patch)
2006-04-10 10:47 UTC, Matteo Azzali (RETIRED)
Details | Diff
ktechlab-0.3.ebuild (ktechlab-0.3.ebuild,604 bytes, text/plain)
2006-04-10 10:53 UTC, Matteo Azzali (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matteo Azzali (RETIRED) gentoo-dev 2006-04-10 10:01:46 UTC
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.
Comment 1 Matteo Azzali (RETIRED) gentoo-dev 2006-04-10 10:46:42 UTC
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

Comment 2 Matteo Azzali (RETIRED) gentoo-dev 2006-04-10 10:47:25 UTC
Created attachment 84377 [details, diff]
ktechlab-0.3-gcc-4.1.diff
Comment 3 Matteo Azzali (RETIRED) gentoo-dev 2006-04-10 10:53:23 UTC
Created attachment 84378 [details]
ktechlab-0.3.ebuild

ebuild to make it easier....
Comment 4 Mark Loeser (RETIRED) gentoo-dev 2006-04-13 10:39:27 UTC
Looks fine to me.
Comment 5 Marcus D. Hanwell (RETIRED) gentoo-dev 2006-04-14 12:39:08 UTC
Committed to portage with version bump - looks good here. Let me know if there are any further issues at all. Thanks.