EPICS Controls 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  2021  2022  2023  2024  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  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: mrfioc2 compile error
From: 송영기 <[email protected]>
To: [email protected]
Cc:
Date: Fri, 20 Apr 2012 21:30:33 +0900

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:

 

make -C ./configure install
make[1]: Entering directory `/usr/local/epics/base_ppc/rtems/Event/mrfioc2-2.0.0/configure'
perl /usr/local/epics/base_ppc/rtems/base-3.14.12.1/bin/linux-x86/makeMakefile.pl O.linux-x86 ../..
perl /usr/local/epics/base_ppc/rtems/base-3.14.12.1/bin/linux-x86/makeMakefile.pl O.RTEMS-mvme3100 ../..
mkdir O.Common
make -C O.linux-x86 -f ../Makefile TOP=../.. T_A=linux-x86 install
make[2]: Entering directory `/usr/local/epics/base_ppc/rtems/Event/mrfioc2-2.0.0/configure/O.linux-x86'
perl /usr/local/epics/base_ppc/rtems/base-3.14.12.1/bin/linux-x86/convertRelease.pl checkRelease
make[2]: Leaving directory `/usr/local/epics/base_ppc/rtems/Event/mrfioc2-2.0.0/configure/O.linux-x86'
make -C O.RTEMS-mvme3100 -f ../Makefile TOP=../.. T_A=RTEMS-mvme3100 install
make[2]: Entering directory `/usr/local/epics/base_ppc/rtems/Event/mrfioc2-2.0.0/configure/O.RTEMS-mvme3100'
perl /usr/local/epics/base_ppc/rtems/base-3.14.12.1/bin/linux-x86/convertRelease.pl checkRelease
make[2]: Leaving directory `/usr/local/epics/base_ppc/rtems/Event/mrfioc2-2.0.0/configure/O.RTEMS-mvme3100'
make[1]: Leaving directory `/usr/local/epics/base_ppc/rtems/Event/mrfioc2-2.0.0/configure'
make -C ./mrfCommon install
make[1]: Entering directory `/usr/local/epics/base_ppc/rtems/Event/mrfioc2-2.0.0/mrfCommon'
make -C ./src install
make[2]: Entering directory `/usr/local/epics/base_ppc/rtems/Event/mrfioc2-2.0.0/mrfCommon/src'
perl /usr/local/epics/base_ppc/rtems/base-3.14.12.1/bin/linux-x86/makeMakefile.pl O.linux-x86 ../../..
perl /usr/local/epics/base_ppc/rtems/base-3.14.12.1/bin/linux-x86/makeMakefile.pl O.RTEMS-mvme3100 ../../..
mkdir O.Common
make -C O.linux-x86 -f ../Makefile TOP=../../.. T_A=linux-x86 install
make[3]: Entering directory `/usr/local/epics/base_ppc/rtems/Event/mrfioc2-2.0.0/mrfCommon/src/O.linux-x86'

/usr/bin/gcc -c  -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -D_XOPEN_SOURCE=500          -DDEBUG_PRINT  -D_X86_  -DUNIX  -D_BSD_SOURCE -Dlinux  -D_REENTRANT   -O3   -Wall     -DDEBUG_PRINT  -m32     -g -fPIC -MMD -I. -I../O.Common -I. -I../os/default -I.. -I../../../include/os/Linux -I../../../include     -I/usr/local/epics/base_ppc/rtems/base-3.14.12.1/include/os/Linux -I/usr/local/epics/base_ppc/rtems/base-3.14.12.1/include       ../mrfFracSynth.c

/usr/bin/gcc -c  -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -D_XOPEN_SOURCE=500          -DDEBUG_PRINT  -D_X86_  -DUNIX  -D_BSD_SOURCE -Dlinux  -D_REENTRANT   -O3   -Wall     -DDEBUG_PRINT  -m32     -g -fPIC -MMD -I. -I../O.Common -I. -I../os/default -I.. -I../../../include/os/Linux -I../../../include     -I/usr/local/epics/base_ppc/rtems/base-3.14.12.1/include/os/Linux -I/usr/local/epics/base_ppc/rtems/base-3.14.12.1/include       ../linkoptions.c

/usr/bin/g++ -c  -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -D_XOPEN_SOURCE=500          -DDEBUG_PRINT  -D_X86_  -DUNIX  -D_BSD_SOURCE -Dlinux  -D_REENTRANT   -O3   -Wall      -m32     -g -fPIC -MMD -I. -I../O.Common -I. -I../os/default -I.. -I../../../include/os/Linux -I../../../include     -I/usr/local/epics/base_ppc/rtems/base-3.14.12.1/include/os/Linux -I/usr/local/epics/base_ppc/rtems/base-3.14.12.1/include       ../cardmap.cpp

/usr/bin/g++ -c  -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -D_XOPEN_SOURCE=500          -DDEBUG_PRINT  -D_X86_  -DUNIX  -D_BSD_SOURCE -Dlinux  -D_REENTRANT   -O3   -Wall      -m32     -g -fPIC -MMD -I. -I../O.Common -I. -I../os/default -I.. -I../../../include/os/Linux -I../../../include     -I/usr/local/epics/base_ppc/rtems/base-3.14.12.1/include/os/Linux -I/usr/local/epics/base_ppc/rtems/base-3.14.12.1/include       ../object.cpp

/usr/bin/g++ -c  -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -D_XOPEN_SOURCE=500          -DDEBUG_PRINT  -D_X86_  -DUNIX  -D_BSD_SOURCE -Dlinux  -D_REENTRANT   -O3   -Wall      -m32     -g -fPIC -MMD -I. -I../O.Common -I. -I../os/default -I.. -I../../../include/os/Linux -I../../../include     -I/usr/local/epics/base_ppc/rtems/base-3.14.12.1/include/os/Linux -I/usr/local/epics/base_ppc/rtems/base-3.14.12.1/include       ../devObjAnalog.cpp

/usr/bin/g++ -c  -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -D_XOPEN_SOURCE=500          -DDEBUG_PRINT  -D_X86_  -DUNIX  -D_BSD_SOURCE -Dlinux  -D_REENTRANT   -O3   -Wall      -m32     -g -fPIC -MMD -I. -I../O.Common -I. -I../os/default -I.. -I../../../include/os/Linux -I../../../include     -I/usr/local/epics/base_ppc/rtems/base-3.14.12.1/include/os/Linux -I/usr/local/epics/base_ppc/rtems/base-3.14.12.1/include       ../devObjLong.cpp

/usr/bin/g++ -c  -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -D_XOPEN_SOURCE=500          -DDEBUG_PRINT  -D_X86_  -DUNIX  -D_BSD_SOURCE -Dlinux  -D_REENTRANT   -O3   -Wall      -m32     -g -fPIC -MMD -I. -I../O.Common -I. -I../os/default -I.. -I../../../include/os/Linux -I../../../include     -I/usr/local/epics/base_ppc/rtems/base-3.14.12.1/include/os/Linux -I/usr/local/epics/base_ppc/rtems/base-3.14.12.1/include       ../devObjBinary.cpp

/usr/bin/g++ -c  -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -D_XOPEN_SOURCE=500          -DDEBUG_PRINT  -D_X86_  -DUNIX  -D_BSD_SOURCE -Dlinux  -D_REENTRANT   -O3   -Wall      -m32     -g -fPIC -MMD -I. -I../O.Common -I. -I../os/default -I.. -I../../../include/os/Linux -I../../../include     -I/usr/local/epics/base_ppc/rtems/base-3.14.12.1/include/os/Linux -I/usr/local/epics/base_ppc/rtems/base-3.14.12.1/include       ../devObjMBB.cpp

/usr/bin/g++ -c  -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -D_XOPEN_SOURCE=500          -DDEBUG_PRINT  -D_X86_  -DUNIX  -D_BSD_SOURCE -Dlinux  -D_REENTRANT   -O3   -Wall      -m32     -g -fPIC -MMD -I. -I../O.Common -I. -I../os/default -I.. -I../../../include/os/Linux -I../../../include     -I/usr/local/epics/base_ppc/rtems/base-3.14.12.1/include/os/Linux -I/usr/local/epics/base_ppc/rtems/base-3.14.12.1/include       ../devObjMBBDirect.cpp

/usr/bin/g++ -c  -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -D_XOPEN_SOURCE=500          -DDEBUG_PRINT  -D_X86_  -DUNIX  -D_BSD_SOURCE -Dlinux  -D_REENTRANT   -O3   -Wall      -m32     -g -fPIC -MMD -I. -I../O.Common -I. -I../os/default -I.. -I../../../include/os/Linux -I../../../include     -I/usr/local/epics/base_ppc/rtems/base-3.14.12.1/include/os/Linux -I/usr/local/epics/base_ppc/rtems/base-3.14.12.1/include       ../devObjWf.cpp
../mrf/object.h: In member function `std::auto_ptr<mrf::property<P> > mrf::Object::getProperty(const char*) [with P = epicsInt8[]]':
../devObj.h:155:   instantiated from `long int add_record_property(dbCommon*, DBLINK*) [with P = epicsInt8[]]'
../devObjWf.cpp:26:   instantiated from here
../mrf/object.h:277: error: invalid use of array with unspecified bounds
../mrf/object.h: In member function `std::auto_ptr<mrf::property<P> > mrf::Object::getProperty(const char*) [with P = epicsUInt8[]]':
../devObj.h:155:   instantiated from `long int add_record_property(dbCommon*, DBLINK*) [with P = epicsUInt8[]]'
../devObjWf.cpp:28:   instantiated from here
../mrf/object.h:277: error: invalid use of array with unspecified bounds
../mrf/object.h: In member function `std::auto_ptr<mrf::property<P> > mrf::Object::getProperty(const char*) [with P = epicsInt16[]]':
../devObj.h:155:   instantiated from `long int add_record_property(dbCommon*, DBLINK*) [with P = epicsInt16[]]'
../devObjWf.cpp:30:   instantiated from here
../mrf/object.h:277: error: invalid use of array with unspecified bounds
../mrf/object.h: In member function `std::auto_ptr<mrf::property<P> > mrf::Object::getProperty(const char*) [with P = epicsUInt16[]]':
../devObj.h:155:   instantiated from `long int add_record_property(dbCommon*, DBLINK*) [with P = epicsUInt16[]]'
../devObjWf.cpp:32:   instantiated from here
../mrf/object.h:277: error: invalid use of array with unspecified bounds
../mrf/object.h: In member function `std::auto_ptr<mrf::property<P> > mrf::Object::getProperty(const char*) [with P = epicsInt32[]]':
../devObj.h:155:   instantiated from `long int add_record_property(dbCommon*, DBLINK*) [with P = epicsInt32[]]'
../devObjWf.cpp:34:   instantiated from here
../mrf/object.h:277: error: invalid use of array with unspecified bounds
../mrf/object.h: In member function `std::auto_ptr<mrf::property<P> > mrf::Object::getProperty(const char*) [with P = epicsUInt32[]]':
../devObj.h:155:   instantiated from `long int add_record_property(dbCommon*, DBLINK*) [with P = epicsUInt32[]]'
../devObjWf.cpp:36:   instantiated from here
../mrf/object.h:277: error: invalid use of array with unspecified bounds
../mrf/object.h: In member function `std::auto_ptr<mrf::property<P> > mrf::Object::getProperty(const char*) [with P = float[]]':
../devObj.h:155:   instantiated from `long int add_record_property(dbCommon*, DBLINK*) [with P = float[]]'
../devObjWf.cpp:38:   instantiated from here
../mrf/object.h:277: error: invalid use of array with unspecified bounds
../mrf/object.h: In member function `std::auto_ptr<mrf::property<P> > mrf::Object::getProperty(const char*) [with P = double[]]':
../devObj.h:155:   instantiated from `long int add_record_property(dbCommon*, DBLINK*) [with P = double[]]'
../devObjWf.cpp:40:   instantiated from here
../mrf/object.h:277: error: invalid use of array with unspecified bounds
make[3]: *** [devObjWf.o] Error 1
make[3]: Leaving directory `/usr/local/epics/base_ppc/rtems/Event/mrfioc2-2.0.0/mrfCommon/src/O.linux-x86'
make[2]: *** [install.linux-x86] Error 2
make[2]: Leaving directory `/usr/local/epics/base_ppc/rtems/Event/mrfioc2-2.0.0/mrfCommon/src'
make[1]: *** [src.install] Error 2
make[1]: Leaving directory `/usr/local/epics/base_ppc/rtems/Event/mrfioc2-2.0.0/mrfCommon'
make: *** [mrfCommon.install] Error 2

 

Could you tell me how to do?

Thanks in advance,

-Young-gi

 



Replies:
Re: mrfioc2 compile error Michael Davidsaver
Re: mrfioc2 compile error Paul Hamadyk

Navigate by Date:
Prev: RE: Windows busy build error - epics 3.14.12.1 ulrik.pedersen
Next: RE: How to apply for Java SWT DateTime widget in CSS OPI? [SEC=UNCLASSIFIED] Chen, Xihui
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  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: How to apply for Java SWT DateTime widget in CSS OPI? [SEC=UNCLASSIFIED] Chen, Xihui
Next: Re: mrfioc2 compile error Michael Davidsaver
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  2021  2022  2023  2024 
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 ·