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  2012  2013  <20142015  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  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Motion Controller for Newport XPS q8 installation
From: uadly <[email protected]>
To: "[email protected]" <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Mon, 24 Nov 2014 17:35:55 +0100
Hey Mark,

i tried and failed to compile your motion controller R6-8-1.

I tried on two different PCs with different systems without any success.

First OS: Ubuntu 14.04.1 LTS
Compiler: gcc 4.8.2

Second OS: Fedora release 20 (Heisenbug)
Compiler: gcc 4.8.3 20140911

On both systems the following software/modules are installed:
-EPICS base-3.14.12.4
-asyn4-24
-busy-1-6-1
-ipac-2.11 
-seq-2.2.0.2 

The compiler shows following:
/usr/bin/gcc -c  -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -D_XOPEN_SOURCE=500          -Wno-write-strings  -D_X86_64_  -DUNIX  -D_BSD_SOURCE -Dlinux  -D_REENTRANT   -O3 -g   -Wall      -m64     -fPIC -MMD -I. -I../O.Common -I. -I.. -I../../../include/os/Linux -I../../../include    -I/home/sauter/epics/asyn/include  -I/home/sauter/epics/seq/include   -I/home/sauter/epics/base/include/os/Linux -I/home/sauter/epics/base/include  -I/home/sauter/epics/ipac/include       MM4005_trajectoryScan.c
../MM4005_trajectoryScan.st: In function ‘seqg_action_trajectoryScan_0_execute’:
../MM4005_trajectoryScan.st:384:40: error: called object is not a function or function pointer
             startTime = time(0);
                                        ^
../MM4005_trajectoryScan.st: In function ‘seqg_action_trajectoryScan_0_wait_execute’:
../MM4005_trajectoryScan.st:425:31: error: called object is not a function or function pointer
             if (difftime(time(0), startTime) > expectedTime*timeScale*2.) {
                               ^
../MM4005_trajectoryScan.st: In function ‘getEpicsMotorMoving’:
../MM4005_trajectoryScan.st:645:9: error: too few arguments to function ‘seq_pvGet’
         seq_pvGet(ssId, pVar->epicsMotorDoneIndex[j], 0);
         ^
In file included from /home/sauter/epics/seq/include/seq_snc.h:30:0,
                 from MM4005_trajectoryScan.c:7:
/home/sauter/epics/seq/include/seqCom.h:76:23: note: declared here
 epicsShareFunc pvStat seq_pvGet(SS_ID, CH_ID, enum compType, double tmo);
                       ^
../MM4005_trajectoryScan.st: In function ‘waitEpicsMotors’:
../MM4005_trajectoryScan.st:665:13: error: too few arguments to function ‘seq_pvPut’
             seq_pvPut(ssId, pVar->motorCurrentIndex[j], 0);
             ^
In file included from /home/sauter/epics/seq/include/seq_snc.h:30:0,
                 from MM4005_trajectoryScan.c:7:
/home/sauter/epics/seq/include/seqCom.h:79:23: note: declared here
 epicsShareFunc pvStat seq_pvPut(SS_ID, CH_ID, enum compType, double tmo);
                       ^
../MM4005_trajectoryScan.st:671:9: error: too few arguments to function ‘seq_pvPut’
         seq_pvPut(ssId, pVar->motorCurrentIndex[j], 0);
         ^
In file included from /home/sauter/epics/seq/include/seq_snc.h:30:0,
                 from MM4005_trajectoryScan.c:7:
/home/sauter/epics/seq/include/seqCom.h:79:23: note: declared here
 epicsShareFunc pvStat seq_pvPut(SS_ID, CH_ID, enum compType, double tmo);
                       ^
make[3]: *** [MM4005_trajectoryScan.o] Error 1
make[3]: Leaving directory `/home/sauter/epics/motorR6-8-1/motorApp/NewportSrc/O.linux-x86_64'
make[2]: *** [install.linux-x86_64] Error 2
make[2]: Leaving directory `/home/sauter/epics/motorR6-8-1/motorApp/NewportSrc'
make[1]: *** [NewportSrc.install] Error 2
make[1]: Leaving directory `/home/sauter/epics/motorR6-8-1/motorApp'
make: *** [motorApp.install] Error 2



I'm looking forward for your advice
sincerely
Martin

Replies:
RE: Motion Controller for Newport XPS q8 installation Mark Rivers

Navigate by Date:
Prev: Re: CSS/BOY: how to force a Scaled Slider to rescale when the PV rescales Pearson, Matthew R.
Next: RE: Motion Controller for Newport XPS q8 installation Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Job Opening Ronald Ruth
Next: RE: Motion Controller for Newport XPS q8 installation Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 17 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·