EPICS Home

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: EPICS and MEDM on ubuntu
From: nalaka samarasinghe <[email protected]>
To: [email protected]
Date: Sun, 24 Jun 2012 15:52:44 +0530
Hi Everyone,

I am new to EPICS and i am trying to install EPICS and medm on ubuntu
linux 10.04. I use your method as a guide in installation. 

when i am compiling epics following output appears and when trying to
compile MEDM also following output results. I really appreciate if you
could support me to make this work.   

Thank you

Screen that appears after compiling  MEDM

nalaka@nalaka-laptop:/opt/epics/extensions/src/medm$ make
make -C ./printUtils install 
make[1]: Entering directory
`/opt/epics/extensions/src/medm3_1_4/printUtils'
make -C O.linux-x86 -f ../Makefile TOP=../../../.. T_A=linux-x86 install
make[2]: Entering directory
`/opt/epics/extensions/src/medm3_1_4/printUtils/O.linux-x86'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory
`/opt/epics/extensions/src/medm3_1_4/printUtils/O.linux-x86'
make[1]: Leaving directory
`/opt/epics/extensions/src/medm3_1_4/printUtils'
make -C ./xc install 
make[1]: Entering directory `/opt/epics/extensions/src/medm3_1_4/xc'
make -C O.linux-x86 -f ../Makefile TOP=../../../.. T_A=linux-x86 install
make[2]: Entering directory
`/opt/epics/extensions/src/medm3_1_4/xc/O.linux-x86'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory
`/opt/epics/extensions/src/medm3_1_4/xc/O.linux-x86'
make[1]: Leaving directory `/opt/epics/extensions/src/medm3_1_4/xc'
make -C ./medm install 
make[1]: Entering directory `/opt/epics/extensions/src/medm3_1_4/medm'
make -C O.linux-x86 -f ../Makefile TOP=../../../.. T_A=linux-x86 install
make[2]: Entering directory
`/opt/epics/extensions/src/medm3_1_4/medm/O.linux-x86'
/usr/bin/gcc -c   -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS
-D_XOPEN_SOURCE=500           -D_X86_  -DUNIX  -D_BSD_SOURCE -Dlinux
-D_REENTRANT -ansi   -O3   -Wall     -DSCIPLOT -DMOTIF -DEDITRES  -m32
-g  -I. -I../O.Common -I. -I.. -I../../../../include/os/Linux
-I../../../../include -I/opt/epics/base/include/os/Linux
-I/opt/epics/base/include        -I../../printUtils -I../../xc
-I/usr/include -I/usr/include/X11    ../medmCartesianPlot.c 
In file included from ../medm.h:104,
                 from ../medmCartesianPlot.c:58:
../medmCA.h:34:19: error: cadef.h: No such file or directory
../medmCA.h:35:23: error: db_access.h: No such file or directory
../medmCA.h:36:50: error: alarm.h: No such file or directory
In file included from ../medm.h:104,
                 from ../medmCartesianPlot.c:58:
../medmCA.h:48: error: field ‘s’ has incomplete type
../medmCA.h:49: error: field ‘e’ has incomplete type
../medmCA.h:50: error: field ‘c’ has incomplete type
../medmCA.h:51: error: field ‘i’ has incomplete type
../medmCA.h:52: error: field ‘l’ has incomplete type
../medmCA.h:53: error: field ‘f’ has incomplete type
../medmCA.h:54: error: field ‘d’ has incomplete type
../medmCA.h:69: error: field ‘s’ has incomplete type
../medmCA.h:70: error: field ‘e’ has incomplete type
../medmCA.h:71: error: field ‘c’ has incomplete type
../medmCA.h:72: error: field ‘i’ has incomplete type
../medmCA.h:73: error: field ‘l’ has incomplete type
../medmCA.h:74: error: field ‘f’ has incomplete type
../medmCA.h:75: error: field ‘d’ has incomplete type
../medmCA.h:94: error: expected specifier-qualifier-list before
‘TS_STAMP’
../medmCA.h:109: error: expected specifier-qualifier-list before ‘chid’
In file included from ../medmCartesianPlot.c:73:
../medmCartesianPlot.h:83: error: expected specifier-qualifier-list
before ‘TS_STAMP’
../medmCartesianPlot.c: In function
‘cartesianPlotCreateRunTimeInstance’:
../medmCartesianPlot.c:193: error: ‘MedmCartesianPlot’ has no member
named ‘timeScale’
../medmCartesianPlot.c:194: error: ‘MedmCartesianPlot’ has no member
named ‘startTime’
../medmCartesianPlot.c:195: error: ‘MedmCartesianPlot’ has no member
named ‘startTime’
../medmCartesianPlot.c: In function
‘cartesianPlotUpdateGraphicalInfoCb’:
../medmCartesianPlot.c:360: error: ‘Record’ has no member named
‘clientData’
../medmCartesianPlot.c: In function ‘cartesianPlotUpdateTrace’:
../medmCartesianPlot.c:415: error: ‘Record’ has no member named
‘clientData’
../medmCartesianPlot.c:546: error: ‘DBF_STRING’ undeclared (first use in
this function)
../medmCartesianPlot.c:546: error: (Each undeclared identifier is
reported only once
../medmCartesianPlot.c:546: error: for each function it appears in.)
../medmCartesianPlot.c:554: error: ‘DBF_INT’ undeclared (first use in
this function)
../medmCartesianPlot.c:563: error: ‘DBF_FLOAT’ undeclared (first use in
this function)
../medmCartesianPlot.c:572: error: ‘DBF_ENUM’ undeclared (first use in
this function)
../medmCartesianPlot.c:581: error: ‘DBF_CHAR’ undeclared (first use in
this function)
../medmCartesianPlot.c:590: error: ‘DBF_LONG’ undeclared (first use in
this function)
../medmCartesianPlot.c:592: error: ‘dbr_long_t’ undeclared (first use in
this function)
../medmCartesianPlot.c:592: error: ‘pLong’ undeclared (first use in this
function)
../medmCartesianPlot.c:592: error: expected expression before ‘)’ token
../medmCartesianPlot.c:599: error: ‘DBF_DOUBLE’ undeclared (first use in
this function)
../medmCartesianPlot.c:643: error: ‘MedmCartesianPlot’ has no member
named ‘timeScale’
../medmCartesianPlot.c:645: error: ‘Record’ has no member named ‘time’
../medmCartesianPlot.c:646: error: ‘MedmCartesianPlot’ has no member
named ‘startTime’
../medmCartesianPlot.c:646: error: ‘Record’ has no member named ‘time’
../medmCartesianPlot.c:648: error: ‘MedmCartesianPlot’ has no member
named ‘timeScale’
../medmCartesianPlot.c:649: error: ‘Record’ has no member named ‘time’
../medmCartesianPlot.c:650: error: ‘MedmCartesianPlot’ has no member
named ‘startTime’
../medmCartesianPlot.c:674: error: ‘MedmCartesianPlot’ has no member
named ‘timeScale’
../medmCartesianPlot.c:682: error: ‘Record’ has no member named ‘time’
../medmCartesianPlot.c:683: error: ‘MedmCartesianPlot’ has no member
named ‘startTime’
../medmCartesianPlot.c:759: error: expected expression before ‘)’ token
../medmCartesianPlot.c:836: error: expected expression before ‘)’ token
../medmCartesianPlot.c:920: error: expected expression before ‘)’ token
../medmCartesianPlot.c:968: error: ‘MedmCartesianPlot’ has no member
named ‘timeScale’
../medmCartesianPlot.c:969: error: ‘MedmCartesianPlot’ has no member
named ‘startTime’
../medmCartesianPlot.c:971: error: ‘MedmCartesianPlot’ has no member
named ‘startTime’
../medmCartesianPlot.c:972: error: ‘MedmCartesianPlot’ has no member
named ‘startTime’
../medmCartesianPlot.c:974: error: ‘MedmCartesianPlot’ has no member
named ‘startTime’
../medmCartesianPlot.c:976: error: ‘MedmCartesianPlot’ has no member
named ‘startTime’
../medmCartesianPlot.c:982: error: expected expression before ‘)’ token
../medmCartesianPlot.c:983: error: expected ‘;’ before ‘offset’
../medmCartesianPlot.c:987: error: ‘offset’ undeclared (first use in
this function)
../medmCartesianPlot.c:997: error: ‘MedmCartesianPlot’ has no member
named ‘startTime’
../medmCartesianPlot.c:1069: error: expected expression before ‘)’ token
../medmCartesianPlot.c: In function
‘cartesianPlotUpdateScreenFirstTime’:
../medmCartesianPlot.c:1103: error: ‘Record’ has no member named
‘clientData’
../medmCartesianPlot.c: In function ‘cartesianPlotUpdateValueCb’:
../medmCartesianPlot.c:1245: error: ‘Record’ has no member named
‘clientData’
../medmCartesianPlot.c: In function ‘cpAxisOptionMenuSimpleCallback’:
../medmCartesianPlot.c:2252: error: ‘MedmCartesianPlot’ has no member
named ‘timeScale’
../medmCartesianPlot.c:2259: error: ‘MedmCartesianPlot’ has no member
named ‘timeScale’
../medmCartesianPlot.c:2269: error: ‘MedmCartesianPlot’ has no member
named ‘timeScale’
make[2]: *** [medmCartesianPlot.o] Error 1
make[2]: Leaving directory
`/opt/epics/extensions/src/medm3_1_4/medm/O.linux-x86'
make[1]: *** [install.linux-x86] Error 2
make[1]: Leaving directory `/opt/epics/extensions/src/medm3_1_4/medm'
make: *** [medm.install] Error 2
nalaka@nalaka-laptop:/opt/epics/extensions/src/medm$ 


Screen that appears after compiling EPICS


nalaka@nalaka-laptop:/opt/epics/base$ make
make -C ./configure install 
make[1]: Entering directory `/opt/epics/base-3.14.10/configure'
make -C O.linux-x86 -f ../Makefile TOP=../.. T_A=linux-x86 install
make[2]: Entering directory
`/opt/epics/base-3.14.10/configure/O.linux-x86'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory
`/opt/epics/base-3.14.10/configure/O.linux-x86'
make[1]: Leaving directory `/opt/epics/base-3.14.10/configure'
make -C ./src install 
make[1]: Entering directory `/opt/epics/base-3.14.10/src'
make -C ./tools install 
make[2]: Entering directory `/opt/epics/base-3.14.10/src/tools'
make -C O.linux-x86 -f ../Makefile TOP=../../.. T_A=linux-x86 install
make[3]: Entering directory
`/opt/epics/base-3.14.10/src/tools/O.linux-x86'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory
`/opt/epics/base-3.14.10/src/tools/O.linux-x86'
make[2]: Leaving directory `/opt/epics/base-3.14.10/src/tools'
make -C ./makeBaseApp install 
make[2]: Entering directory `/opt/epics/base-3.14.10/src/makeBaseApp'
make -C O.linux-x86 -f ../Makefile TOP=../../.. T_A=linux-x86 install
make[3]: Entering directory
`/opt/epics/base-3.14.10/src/makeBaseApp/O.linux-x86'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory
`/opt/epics/base-3.14.10/src/makeBaseApp/O.linux-x86'
make[2]: Leaving directory `/opt/epics/base-3.14.10/src/makeBaseApp'
make -C ./makeBaseExt install 
make[2]: Entering directory `/opt/epics/base-3.14.10/src/makeBaseExt'
make -C O.linux-x86 -f ../Makefile TOP=../../.. T_A=linux-x86 install
make[3]: Entering directory
`/opt/epics/base-3.14.10/src/makeBaseExt/O.linux-x86'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory
`/opt/epics/base-3.14.10/src/makeBaseExt/O.linux-x86'
make[2]: Leaving directory `/opt/epics/base-3.14.10/src/makeBaseExt'
make -C ./libCom install 
make[2]: Entering directory `/opt/epics/base-3.14.10/src/libCom'
make -C O.linux-x86 -f ../Makefile TOP=../../.. T_A=linux-x86 install
make[3]: Entering directory
`/opt/epics/base-3.14.10/src/libCom/O.linux-x86'
/usr/bin/g++ -c   -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS
-D_XOPEN_SOURCE=500           -D_X86_  -DUNIX  -D_BSD_SOURCE -Dlinux
-D_REENTRANT -ansi   -O3   -Wall      -m32     -g -fPIC -I.
-I../O.Common -I. -I../../../src/libCom/osi/os/Linux
-I../../../src/libCom/osi/os/posix -I../../../src/libCom/osi/os/default
-I.. -I../../../src/libCom/bucketLib -I../../../src/libCom/ring
-I../../../src/libCom/calc -I../../../src/libCom/cvtFast
-I../../../src/libCom/cppStd -I../../../src/libCom/cxxTemplates
-I../../../src/libCom/dbmf -I../../../src/libCom/ellLib
-I../../../src/libCom/env -I../../../src/libCom/error
-I../../../src/libCom/fdmgr -I../../../src/libCom/freeList
-I../../../src/libCom/gpHash -I../../../src/libCom/iocsh
-I../../../src/libCom/logClient -I../../../src/libCom/macLib
-I../../../src/libCom/misc -I../../../src/libCom/osi
-I../../../src/libCom/taskwd -I../../../src/libCom/timer
-I../../../src/libCom/tsDefs -I../../../include/os/Linux
-I../../../include         ../../../src/libCom/ring/epicsRingPointer.cpp 
make[3]: /usr/bin/g++: Command not found
make[3]: *** [epicsRingPointer.o] Error 127
make[3]: Leaving directory
`/opt/epics/base-3.14.10/src/libCom/O.linux-x86'
make[2]: *** [install.linux-x86] Error 2
make[2]: Leaving directory `/opt/epics/base-3.14.10/src/libCom'
make[1]: *** [libCom.install] Error 2
make[1]: Leaving directory `/opt/epics/base-3.14.10/src'
make: *** [src.install] Error 2
nalaka@nalaka-laptop:/opt/epics/base$ 



Replies:
Re: EPICS and MEDM on ubuntu Dirk Zimoch

Navigate by Date:
Prev: Processing And Visualization of time series data. Mihaylov, Miroslav N.
Next: XOFF Problem with tyGSOctal Bjorklund, Eric A
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: Processing And Visualization of time series data. Miroslav Mihaylov
Next: Re: EPICS and MEDM on ubuntu Dirk Zimoch
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