EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: how to install a new sequencer program
From: Dorothea Wehler <[email protected]>
To: Andrew Johnson <[email protected]>
Cc: [email protected]
Date: Fri, 18 Jun 2004 10:14:40 +0200
Thank you very much, Andrew Johnson! Both versions (as a standalone application as well as part of the IOC example) work with the advised alterations.
Regards
Dorothea Wehler


Andrew Johnson wrote:

In your original message, Dorothea Wehler wrote:


# The following builds sncProgram as a standalone application PROD_HOST += sncProgram2 sncProgram_SNCFLAGS += +m sncProgram_SRCS += sncProgram2.stt sncProgram_LIBS += seq pv sncProgram_LIBS += $(EPICS_BASE_HOST_LIBS)


The names of the above sncProgram_XXX variables need changing to sncProgram2_XXX since you changed the product name in PROD_HOST. That should allow you to build sncProgram2 as a standalone program which is not part of the example IOC.

Then in your reply to Marty's followup you included these errors:


example_registerRecordDeviceDriver.o(.text+0x507): In function `example_registerRecordDeviceDriver':
: undefined reference to `pvar_func_sncExampleRegistrar'
example_registerRecordDeviceDriver.o(.text+0x56d): In function `registerRecordDeviceDriverCallFunc':
: undefined reference to `pvar_func_sncExampleRegistrar'


Mayby I should do something else if I want to install a new sequencer program?


This is a different problem to the first. To fix this, you need to edit the sncExample.dbd file, which contains a registrar entry for the state notation program that also needs to be renamed to sncExample2. With that in place, you should be able to build and run the IOC with sncExample2.stt included in the binary.

- Andrew





References:
how to install a new sequencer program Dorothea Wehler
Re: how to install a new sequencer program Andrew Johnson

Navigate by Date:
Prev: Re: how to install a new sequencer program Andrew Johnson
Next: Latest version of Matlab Channel Access (MCA) available Carl Lionberger
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: how to install a new sequencer program Andrew Johnson
Next: Latest version of Matlab Channel Access (MCA) available Carl Lionberger
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·