Experimental Physics and Industrial Control System
[cc-ing tech-talk as I am stupefied]
On Wednesday 11 February 2015 11:30:48 you wrote:
> It appears that seq 2-2-1 has an issue when building static. I have
> try it both on base 3.14.12.4 and 3.15.1. Everything is fine building
> with shared libraries, but for what I do I need to build static.
I have no idea why the static build gives undefined references. I do
have
seq_LIBS = pv Com
in the Makefile.
Is there anything else I have to do?
Cheers
Ben
> Here is the output. There is more before this, but I think this is
> enough to help you:
>
> /usr/bin/gcc -c -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS
> -D_XOPEN_SOURCE=500 -D_X86_64_ -DUNIX -D_BSD_SOURCE
> -Dlinux -D_REENTRANT -O3 -g -Wall -m64 -MMD -I.
> -I../O.Common -I. -I.. -I../../../include/os/Linux -I../../../include
> -I/local/DPbin/epics/epics_2015-03-31/base-3.14.12.4/include/os/Linux
> -I/local/DPbin/epics/epics_2015-03-31/base-3.14.12.4/include
> ../gen_code.c
>
> /usr/bin/gcc -c -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS
> -D_XOPEN_SOURCE=500 -D_X86_64_ -DUNIX -D_BSD_SOURCE
> -Dlinux -D_REENTRANT -O3 -g -Wall -m64 -MMD -I.
> -I../O.Common -I. -I.. -I../../../include/os/Linux -I../../../include
> -I/local/DPbin/epics/epics_2015-03-31/base-3.14.12.4/include/os/Linux
> -I/local/DPbin/epics/epics_2015-03-31/base-3.14.12.4/include
> ../gen_ss_code.c
>
> /usr/bin/gcc -c -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS
> -D_XOPEN_SOURCE=500 -D_X86_64_ -DUNIX -D_BSD_SOURCE
> -Dlinux -D_REENTRANT -O3 -g -Wall -m64 -MMD -I.
> -I../O.Common -I. -I.. -I../../../include/os/Linux -I../../../include
> -I/local/DPbin/epics/epics_2015-03-31/base-3.14.12.4/include/os/Linux
> -I/local/DPbin/epics/epics_2015-03-31/base-3.14.12.4/include
> ../gen_tables.c
>
> /usr/bin/gcc -c -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS
> -D_XOPEN_SOURCE=500 -D_X86_64_ -DUNIX -D_BSD_SOURCE
> -Dlinux -D_REENTRANT -O3 -g -Wall -m64 -MMD -I.
> -I../O.Common -I. -I.. -I../../../include/os/Linux -I../../../include
> -I/local/DPbin/epics/epics_2015-03-31/base-3.14.12.4/include/os/Linux
> -I/local/DPbin/epics/epics_2015-03-31/base-3.14.12.4/include
> ../sym_table.c
>
> /usr/bin/gcc -c -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS
> -D_XOPEN_SOURCE=500 -D_X86_64_ -DUNIX -D_BSD_SOURCE
> -Dlinux -D_REENTRANT -O3 -g -Wall -m64 -MMD -I.
> -I../O.Common -I. -I.. -I../../../include/os/Linux -I../../../include
> -I/local/DPbin/epics/epics_2015-03-31/base-3.14.12.4/include/os/Linux
> -I/local/DPbin/epics/epics_2015-03-31/base-3.14.12.4/include
> ../builtin.c
>
> /usr/bin/gcc -c -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS
> -D_XOPEN_SOURCE=500 -D_X86_64_ -DUNIX -D_BSD_SOURCE
> -Dlinux -D_REENTRANT -O3 -g -Wall -m64 -MMD -I.
> -I../O.Common -I. -I.. -I../../../include/os/Linux -I../../../include
> -I/local/DPbin/epics/epics_2015-03-31/base-3.14.12.4/include/os/Linux
> -I/local/DPbin/epics/epics_2015-03-31/base-3.14.12.4/include
> ../type_check.c
> /usr/bin/g++ -o snc -Wl,-Bstatic
> -L/local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/li
> b/linux-x86_64
> -L/local/DPbin/epics/epics_2015-03-31/base-3.14.12.4/lib/linux-x86_64
> -Wl,-rpath,/local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/se
> q-2-2-1/lib/linux-x86_64
> -Wl,-rpath,/local/DPbin/epics/epics_2015-03-31/base-3.14.12.4/lib/lin
> ux-x86_64 -m64 lexer.o snl.o main.o node.o var_types.o
> analysis.o gen_code.o gen_ss_code.o gen_tables.o sym_table.o
> builtin.o
> type_check.o -lrecIoc -lsoftDevIoc -lmiscIoc -lrsrvIoc -ldbtoolsIoc
> -lasIoc -ldbIoc -lregistryIoc -ldbStaticIoc -lca -lCom -lCom -lseq
> -Wl,-Bdynamic -lpthread -lreadline -lm -lrt -ldl -lgcc
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/lib/
> linux-x86_64/libseq.a(seq_main.o): In function `init_sprog':
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/src/
> seq/O.linux-x86_64/../seq_main.c:228: undefined reference to
> `freeListInitPvt'
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/lib/
> linux-x86_64/libseq.a(seq_main.o): In function `init_chan':
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/src/
> seq/O.linux-x86_64/../seq_main.c:431: undefined reference to
> `pv_sizes'
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/src/
> seq/O.linux-x86_64/../seq_main.c:431: undefined reference to
> `pv_value_sizes'
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/src/
> seq/O.linux-x86_64/../seq_main.c:431: undefined reference to
> `pv_sizes'
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/lib/
> linux-x86_64/libseq.a(seq_main.o): In function `init_sprog':
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/src/
> seq/O.linux-x86_64/../seq_main.c:245: undefined reference to
> `epicsINF'
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/lib/
> linux-x86_64/libseq.a(seq_task.o): In function `ss_read_all_buffer':
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/src/
> seq/O.linux-x86_64/../seq_task.c:183: undefined reference to
> `epicsINF'
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/lib/
> linux-x86_64/libseq.a(seq_task.o): In function `ss_entry':
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/src/
> seq/O.linux-x86_64/../seq_task.c:303: undefined reference to
> `pvSysFlush'
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/src/
> seq/O.linux-x86_64/../seq_task.c:310: undefined reference to
> `pvTimeGetCurrentDouble'
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/src/
> seq/O.linux-x86_64/../seq_task.c:356: undefined reference to
> `pvTimeGetCurrentDouble'
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/lib/
> linux-x86_64/libseq.a(seq_task.o): In function `sequencer':
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/src/
> seq/O.linux-x86_64/../seq_task.c:57: undefined reference to
> `pvSysAttach'
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/lib/
> linux-x86_64/libseq.a(seq_ca.o): In function `seq_camonitor':
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/src/
> seq/O.linux-x86_64/../seq_ca.c:397: undefined reference to
> `pvVarMonitorOff'
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/src/
> seq/O.linux-x86_64/../seq_ca.c:389: undefined reference to
> `pvVarMonitorOn'
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/lib/
> linux-x86_64/libseq.a(seq_ca.o): In function `seq_conn_handler':
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/src/
> seq/O.linux-x86_64/../seq_ca.c:471: undefined reference to
> `pvVarGetCount'
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/lib/
> linux-x86_64/libseq.a(seq_ca.o): In function `seq_disconnect':
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/src/
> seq/O.linux-x86_64/../seq_ca.c:357: undefined reference to
> `pvVarDestroy'
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/lib/
> linux-x86_64/libseq.a(seq_ca.o): In function `proc_db_events':
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/src/
> seq/O.linux-x86_64/../seq_ca.c:285: undefined reference to
> `pv_value_offsets'
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/src/
> seq/O.linux-x86_64/../seq_ca.c:289: undefined reference to
> `pv_stamp_offsets'
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/src/
> seq/O.linux-x86_64/../seq_ca.c:290: undefined reference to
> `pv_status_offsets'
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/src/
> seq/O.linux-x86_64/../seq_ca.c:291: undefined reference to
> `pv_severity_offsets'
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/src/
> seq/O.linux-x86_64/../seq_ca.c:289: undefined reference to
> `pv_stamp_offsets'
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/src/
> seq/O.linux-x86_64/../seq_ca.c:290: undefined reference to
> `pv_status_offsets'
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/lib/
> linux-x86_64/libseq.a(seq_ca.o): In function `seq_get_handler':
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/src/
> seq/O.linux-x86_64/../seq_ca.c:153: undefined reference to
> `freeListFree'
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/lib/
> linux-x86_64/libseq.a(seq_ca.o): In function `seq_put_handler':
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/src/
> seq/O.linux-x86_64/../seq_ca.c:172: undefined reference to
> `freeListFree'
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/lib/
> linux-x86_64/libseq.a(seq_ca.o): In function `putq_cp':
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/src/
> seq/O.linux-x86_64/../seq_ca.c:234: undefined reference to
> `pv_value_sizes'
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/src/
> seq/O.linux-x86_64/../seq_ca.c:234: undefined reference to `pv_sizes'
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/src/
> seq/O.linux-x86_64/../seq_ca.c:234: undefined reference to `pv_sizes'
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/lib/
> linux-x86_64/libseq.a(seq_ca.o): In function `seq_connect':
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/src/
> seq/O.linux-x86_64/../seq_ca.c:69: undefined reference to
> `pvVarCreate'
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/src/
> seq/O.linux-x86_64/../seq_ca.c:85: undefined reference to `pvSysFlush'
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/src/
> seq/O.linux-x86_64/../seq_ca.c:91: undefined reference to
> `pvTimeGetCurrentDouble'
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/src/
> seq/O.linux-x86_64/../seq_ca.c:127: undefined reference to
> `pvTimeGetCurrentDouble'
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/lib/
> linux-x86_64/libseq.a(seq_ca.o): In function `seq_disconnect':
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/src/
> seq/O.linux-x86_64/../seq_ca.c:364: undefined reference to
> `pvSysFlush'
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/lib/
> linux-x86_64/libseq.a(seq_if.o): In function `seq_delay':
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/src/
> seq/O.linux-x86_64/../seq_if.c:1263: undefined reference to
> `pvTimeGetCurrentDouble'
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/lib/
> linux-x86_64/libseq.a(seq_if.o): In function `getq_cp':
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/src/
> seq/O.linux-x86_64/../seq_if.c:1186: undefined reference to
> `pv_status_offsets'
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/src/
> seq/O.linux-x86_64/../seq_if.c:1187: undefined reference to
> `pv_severity_offsets'
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/src/
> seq/O.linux-x86_64/../seq_if.c:1188: undefined reference to
> `pv_stamp_offsets'
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/src/
> seq/O.linux-x86_64/../seq_if.c:1191: undefined reference to
> `pv_value_offsets'
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/src/
> seq/O.linux-x86_64/../seq_if.c:1186: undefined reference to
> `pv_status_offsets'
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/src/
> seq/O.linux-x86_64/../seq_if.c:1187: undefined reference to
> `pv_severity_offsets'
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/lib/
> linux-x86_64/libseq.a(seq_if.o): In function `putq_cp':
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/src/
> seq/O.linux-x86_64/../seq_if.c:384: undefined reference to
> `pv_value_offsets'
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/lib/
> linux-x86_64/libseq.a(seq_if.o): In function `seq_pvAssign':
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/src/
> seq/O.linux-x86_64/../seq_if.c:702: undefined reference to
> `pvVarDestroy'
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/src/
> seq/O.linux-x86_64/../seq_if.c:759: undefined reference to
> `pvVarCreate'
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/lib/
> linux-x86_64/libseq.a(seq_if.o): In function `check_pending':
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/src/
> seq/O.linux-x86_64/../seq_if.c:100: undefined reference to
> `pvTimeGetCurrentDouble'
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/src/
> seq/O.linux-x86_64/../seq_if.c:107: undefined reference to
> `pvTimeGetCurrentDouble'
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/lib/
> linux-x86_64/libseq.a(seq_if.o): In function `seq_pvPutTmo':
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/src/
> seq/O.linux-x86_64/../seq_if.c:494: undefined reference to
> `pvVarPutNoBlock'
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/src/
> seq/O.linux-x86_64/../seq_if.c:510: undefined reference to
> `freeListMalloc'
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/src/
> seq/O.linux-x86_64/../seq_if.c:517: undefined reference to
> `pvVarPutCallback'
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/src/
> seq/O.linux-x86_64/../seq_if.c:538: undefined reference to
> `pvSysFlush'
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/src/
> seq/O.linux-x86_64/../seq_if.c:529: undefined reference to
> `freeListFree'
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/lib/
> linux-x86_64/libseq.a(seq_if.o): In function `seq_pvGetTmo':
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/src/
> seq/O.linux-x86_64/../seq_if.c:223: undefined reference to
> `freeListMalloc'
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/src/
> seq/O.linux-x86_64/../seq_if.c:232: undefined reference to
> `pvVarGetCallback'
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/src/
> seq/O.linux-x86_64/../seq_if.c:252: undefined reference to
> `pvSysFlush'
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/src/
> seq/O.linux-x86_64/../seq_if.c:244: undefined reference to
> `freeListFree'
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/lib/
> linux-x86_64/libseq.a(seq_if.o): In function `seq_pvFlush':
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/src/
> seq/O.linux-x86_64/../seq_if.c:952: undefined reference to
> `pvSysFlush'
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/lib/
> linux-x86_64/libseq.a(seq_qry.o): In function `seqShow':
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/src/
> seq/O.linux-x86_64/../seq_qry.c:90: undefined reference to
> `pvTimeGetCurrentDouble'
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/lib/
> linux-x86_64/libseq.a(seq_cmd.o): In function
> `createOrAttachPvSystem':
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/src/
> seq/O.linux-x86_64/../seq_cmd.c:61: undefined reference to
> `pvSysAttach'
> /local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/src/
> seq/O.linux-x86_64/../seq_cmd.c:56: undefined reference to
> `pvSysCreate'
> collect2: ld returned 1 exit status
> make[4]: *** [snc] Error 1
> make[4]: Leaving directory
> `/local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/src
> /snc/O.linux-x86_64' make[3]: *** [install.linux-x86_64] Error 2
> make[3]: Leaving directory
> `/local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/src
> /snc' make[2]: *** [snc.install] Error 2
> make[2]: Leaving directory
> `/local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1/src
> ' make[1]: *** [src.install] Error 2
> make[1]: Leaving directory
> `/local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1'
> make: ***
> [/local/DPbin/epics/epics_2015-03-31/synApps_5_8/support/seq-2-2-1.ins
> tall] Error 2
>
>
> Let me know if you need anything else,
> Matt
--
"Make it so they have to reboot after every typo." ― Scott Adams
________________________________
Helmholtz-Zentrum Berlin für Materialien und Energie GmbH
Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher Forschungszentren e.V.
Aufsichtsrat: Vorsitzender Prof. Dr. Dr. h.c. mult. Joachim Treusch, stv. Vorsitzende Dr. Beatrix Vierkorn-Rudolph
Geschäftsführung: Prof. Dr. Anke Rita Kaysser-Pyzalla, Thomas Frederking
Sitz Berlin, AG Charlottenburg, 89 HRB 5583
Postadresse:
Hahn-Meitner-Platz 1
D-14109 Berlin
http://www.helmholtz-berlin.de
- Replies:
- RE: sseq 2-2-1 issue/bug Mooney, Tim M.
- Navigate by Date:
- Prev:
Re: seq-2.2.1 fails to build tests with VS 2010 Benjamin Franksen
- Next:
RE: Can you stop script execution with adPython for AreaDetector? tom.cobb
- 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:
Re: seq-2.2.1 fails to build tests with VS 2010 Benjamin Franksen
- Next:
RE: sseq 2-2-1 issue/bug Mooney, Tim M.
- 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