1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 <2004> 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 <2004> 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 |
<== 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 |
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