Experimental Physics and Industrial Control System
Hello,
please let me ask a question of a beginner. I tryed the example
applications of baseR3.14.6 on SUSE linux 9.0. Everythink works well.
Now I tryed to change the name of the Sequencer program to find out, how
I can install my own program. For this I did the following:
coppy "sncExample.stt" to "sncProgram2.stt" and change the first line to:
program sncProgram2
changed the "Makefile" in exampleApp/src/ to:
ifneq ($(SNCSEQ),)
# This builds sncExample as a component of example
# example_DBD += sncExample.dbd
# example_SRCS += sncExample.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
changed the last line of "st.cmd" to: seq sncProgram2,"user=wehlerHost"
running "make" I get the following error message:
/home/wehler/EPICS3/SEQ/seq-2.0.8/bin/linux-x86/snc
.../sncProgram2.stt -o sncProgram2.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 sncProgram2.c
/usr/bin/g++ -o sncProgram2
-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
sncProgram2.o
/usr/lib/gcc-lib/i586-suse-linux/3.3.1/../../../crt1.o(.text+0x18): In
function `_start':
.../sysdeps/i386/elf/start.S:98: undefined reference to `main'
sncProgram2.o(.text+0x6): In function `sncProgram2Registrar':
: undefined reference to `seqRegisterSequencerCommands'
sncProgram2.o(.text+0x13): In function `sncProgram2Registrar':
: undefined reference to `seqRegisterSequencerProgram'
sncProgram2.o(.text+0x46): In function `D_ss1_low':
: undefined reference to `seq_delayInit'
sncProgram2.o(.text+0x99): In function `E_ss1_low':
: undefined reference to `seq_delay'
sncProgram2.o(.text+0xf6): In function `D_ss1_high':
: undefined reference to `seq_delayInit'
sncProgram2.o(.text+0x149): In function `E_ss1_high':
: undefined reference to `seq_delay'
collect2: ld returned 1 exit status
make[3]: *** [sncProgram2] 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
The same message arises when I build the directory structure with
..../makeBaseApp.pl -t caClient caClient
Can someone explain me what I did wrong?
Thanks in advance
Dorothea Wehler
------
Dr. Dorothea Wehler
Cryoelectra GmbH
Linde 72-74
D-42287 Wuppertal, Germany
Tel: +49 202 / 69824-17
Fax: +49 202 / 69824-40
- Replies:
- Re: how to install a new sequencer program Marty Kraimer
- Re: how to install a new sequencer program Andrew Johnson
- Navigate by Date:
- Prev:
Re: Initializing a record VAL field with a constant Andrew Johnson
- Next:
Re: how to install a new sequencer program Marty Kraimer
- 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
- Navigate by Thread:
- Prev:
Hytec drivers & PSI CVS Korhonen Timo
- Next:
Re: how to install a new sequencer program Marty Kraimer
- 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