EPICS Home

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: Marty Kraimer <[email protected]>
Cc: [email protected]
Date: Thu, 17 Jun 2004 16:29:48 +0200
Marty Kraimer wrote:

You built your sequence program "standalone", i.e. it is run as a separate process not as part of an ioc application. Uncomment the lines

 example_DBD += sncExample.dbd
 example_SRCS += sncExample.stt
 example_LIBS += seq pv

Marty Kraimer

Thanks for your answer.
With "sncExample.stt" there is no error message from "make". But changing the name of the program to "sncExample2.stt" and changing the "Makefile" to:
ifneq ($(SNCSEQ),)
# This builds sncExample as a component of example
example_DBD += sncExample.dbd
example_SRCS += sncExample2.stt
example_LIBS += seq pv


   # 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)
endif

I get the following error message:
....
usr/bin/gcc -c -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -D_XOPEN_SOURCE=500 -DOSITHREAD_USE_DEFAULT_STACK -D_X86_ -DUNIX -D_BSD_SOURCE -Dlinux -D_REENTRANT -ansi -O3 -Wall -I. -I.. -I../../../include/os/Linux -I../../../include -I/home/wehler/EPICS3/SEQ/seq-2.0.8/include/os/Linux -I/home/wehler/EPICS3/SEQ/seq-2.0.8/include -I/home/wehler/EPICS3/base-3.14.6/include/os/Linux -I/home/wehler/EPICS3/base-3.14.6/include ../dbSubExample.c
converting ../sncExample2.stt
/home/wehler/EPICS3/SEQ/seq-2.0.8/bin/linux-x86/snc .../sncExample2.stt -o sncExample2.c
/usr/bin/gcc -c -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -D_XOPEN_SOURCE=500 -DOSITHREAD_USE_DEFAULT_STACK -D_X86_ -DUNIX -D_BSD_SOURCE -Dlinux -D_REENTRANT -ansi -O3 -Wall -I. -I.. -I../../../include/os/Linux -I../../../include -I/home/wehler/EPICS3/SEQ/seq-2.0.8/include/os/Linux -I/home/wehler/EPICS3/SEQ/seq-2.0.8/include -I/home/wehler/EPICS3/base-3.14.6/include/os/Linux -I/home/wehler/EPICS3/base-3.14.6/include sncExample2.c
/usr/bin/g++ -c -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -D_XOPEN_SOURCE=500 -DOSITHREAD_USE_DEFAULT_STACK -D_X86_ -DUNIX -D_BSD_SOURCE -Dlinux -D_REENTRANT -ansi -O3 -Wall -I. -I.. -I../../../include/os/Linux -I../../../include -I/home/wehler/EPICS3/SEQ/seq-2.0.8/include/os/Linux -I/home/wehler/EPICS3/SEQ/seq-2.0.8/include -I/home/wehler/EPICS3/base-3.14.6/include/os/Linux -I/home/wehler/EPICS3/base-3.14.6/include ../exampleMain.cpp
/usr/bin/g++ -o example -L/home/wehler/EPICS3/SEQ/seq-2.0.8/lib/linux-x86/ -L/home/wehler/EPICS3/TOP_SEQ3a/lib/linux-x86// -L/home/wehler/EPICS3/base-3.14.6/lib/linux-x86/ -Wl,-rpath,/home/wehler/EPICS3/TOP_SEQ3a/lib/linux-x86 -Wl,-rpath,/home/wehler/EPICS3/SEQ/seq-2.0.8/lib/linux-x86 -Wl,-rpath,/home/wehler/EPICS3/base-3.14.6/lib/linux-x86 example_registerRecordDeviceDriver.o dbSubExample.o sncExample2.o exampleMain.o -lxxxSupport -lseq -lpv -lrecIoc -lsoftDevIoc -liocsh -lmiscIoc -lrsrvIoc -ldbtoolsIoc -lasIoc -ldbIoc -lregistryIoc -ldbStaticIoc -lca -lCom
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'
collect2: ld returned 1 exit status
make[3]: *** [example] error 1
make[3]: Leaving directory `/home/wehler/EPICS3/TOP_SEQ3a/exampleApp/src/O.linux-x86'
make[2]: *** [install.linux-x86] error 2
make[2]: Leaving directory `/home/wehler/EPICS3/TOP_SEQ3a/exampleApp/src'
make[1]: *** [src.install] error 2
make[1]: Leaving directory `/home/wehler/EPICS3/TOP_SEQ3a/exampleApp'
make: *** [exampleApp.install] error 2


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

Regards Dorothea Wehler

------
Dr. Dorothea Wehler
Cryoelectra GmbH
Linde 72-74
D-42287 Wuppertal, Germany
Tel: +49 202 / 69824-17
Fax: +49 202 / 69824-40




References:
how to install a new sequencer program Dorothea Wehler
Re: how to install a new sequencer program Marty Kraimer

Navigate by Date:
Prev: Re: how to install a new sequencer program Marty Kraimer
Next: Re: how to install a new sequencer program Andrew Johnson
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 Marty Kraimer
Next: Re: how to install a new sequencer program Andrew Johnson
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