Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020 
<== Date ==> <== Thread ==>

Subject: Re: mrfioc2 compile error
From: Paul Hamadyk <paul.hamadyk@diamond.ac.uk>
To: 송영기 <ygsong@kaeri.re.kr>
Cc: tech-talk@aps.anl.gov
Date: Fri, 20 Apr 2012 15:48:34 +0100
On Fri, 2012-04-20 at 21:30 +0900, 송영기 wrote:
> Hi All,
> 
>  
> 
> I am trying to compile the mrfioc2 drivers using the tutorial (Getting
> started with EPICS on RTEMS).
> 
> The target board for the mrfioc2 is mvme3100.
> 
> The tool source files and packages are as follows:
> 
> binutils-2.19
> 
> gcc-g++-4.3.2
> 
> gcc-core-4.3.2  / gcc-core-4.3.2-rtems4.9-20081214.diff
> 
> newlib-1.16.0 / newlib-1.16.0-rtems4.9-20090324.diff
> 
> rtems-addon-packages-4.9.2
> 
> rtems_libbspExt_1.5
> 
>  
> 
> I successfully compiled gcc to cross-compile for powerpc-mvme3100 and
> created an example application with base-3.14.12.1. 
> 
> For compiling the mrfioc2, i added the location of external products
> including epics_base, devlib2 and autosave in
> mrfioc2/configure/RELEASE.
> 
> When i tried to compile the mrfioc2, i get the error message as
> follows:
> 
>  

I had the same problem, and I think was the version of g++. I was using
4.1.2.

In devObjWf.cpp I replaced <epicsInt32[]> with <epicsInt32 *>,
<epicsInt8[]> with <epicsInt8 *> etc, and then it built correctly.

Paul.



-- 
This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd. 
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
 




Replies:
RE: mrfioc2 compile error Davidsaver, Michael
References:
mrfioc2 compile error 송영기

Navigate by Date:
Prev: Re: mrfioc2 compile error Michael Davidsaver
Next: RE: mrfioc2 compile error Davidsaver, Michael
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020 
Navigate by Thread:
Prev: Re: mrfioc2 compile error Michael Davidsaver
Next: RE: mrfioc2 compile error Davidsaver, Michael
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·