Re: [Orocos-Dev] build errors
Peter Dettori <[email protected]> Thu, 01 Dec 2005 15:06:12 +0100
| Newsgroups | gmane.science.robotics.orocos.user |
|---|---|
| Message-ID | <[email protected]> |
thanks for the help, in the end i went to suse 9.2 on a different machine since i was having some hardware problems too. That fixed all my build problems. I am interested first of all in reading an encoder through a apci1710 card and then later in experimenting with the CAN interfaces. Are there simple examples somewhere that help get me started? , pete Peter Soetens wrote: >Hi Peter, > >On Wednesday 30 November 2005 14:12, Peter Dettori wrote: > > >>2. i downloaded wxGTK 2.4 and installed that, then i got a compile error >> >>/root/turret-downloads/ecos-cvs/ecos/host/tools/Utils/common/eCosSocket.h:1 >>77: error: ‘static CeCosSocket::SSReadResult >>CeCosSocket::SSRead(CeCosSerial&, CeCosSocket&, void*, unsigned int, >>unsigned int&, bool*)’ is protected >>/root/turret-downloads/ecos-cvs/ecos/host/tools/Utils/common/eCosSerial.h:5 >>3: error: within this context >> >>i figured that this is compiler related (gcc 4.0) and moved the >>protected area to avoid SSReadResult. >> >> > >I believe ecosconfig has not yet been ported to gcc 4.0 and actually requires >a gcc 3.3 or 3.4. > > > >>Now it compiles with the following warnings for many files, which >>eventuallys leads to a link error. >> >>/usr/local/include/wx/event.h:1940: warning: inline function >>‘wxEventTableEntry::wxEventTableEntry(const wxEventTableEntry&)’ used >>but never defined >>/usr/local/include/wx/notebook.h:175: warning: inline function ‘virtual >>wxNotebookEvent::~wxNotebookEvent()’ used but never defined >>/usr/local/include/wx/notebook.h:175: warning: inline function ‘virtual >>wxNotebookEvent::~wxNotebookEvent()’ used but never defined >>/usr/local/include/wx/statusbr.h:25: warning: inline function ‘virtual >>wxListString::~wxListString()’ used but never defined >>/usr/local/include/wx/statusbr.h:25: warning: inline function ‘virtual >>wxListString::~wxListString()’ used but never defined >>/usr/local/include/wx/menu.h:38: warning: inline function ‘virtual >>wxMenuList::~wxMenuList()’ used but never defined >>/usr/local/include/wx/menu.h:38: warning: inline function ‘virtual >>wxMenuList::~wxMenuList()’ used but never defined >> >>So this is not really the forum for this, i am happy to install the >>entire system again if that is a better option. (I have compiled my own >>vanilla kernels with rtai 3.2 by the way.) >> >> > >Try to compile with gcc 3.4, it will remove the warnings above and is still >binary compatible with 4.0. > >Good luck, don't hesitate to post. >Peter >_______________________________________________ >Orocos-Dev mailing list >[email protected] >http://lists.mech.kuleuven.be/mailman/listinfo/orocos-dev > >