I am trying to build EPICS
Extensions and have run into the following error in the SDDSepics
directory. I can get past this by manually adding the path to the
$(EPICS_BASE)/include and $(EPICS_BASE)/include/os/Linux to the gcc command in
the O.linux-x86 directory but have to do this for a few more files. I
cannot seem to find the correct place to add the path to get this to compile
from makefiles.
make[3]: Entering directory
`/net/iocapps/R3.14.5/extensions/IPNS1-0/src/SDDSepics/runcontrol/O.linux-x86'
/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 -fPIC -I. -I..
-I../../../../include/os/Linux
-I../../../../include
.../libruncontrol.c
../libruncontrol.c:130:20:
tsDefs.h: No such file or directory
../libruncontrol.c:131:19:
cadef.h: No such file or directory
In file included from
.../libruncontrol.c:133:
../libruncontrol.h:74:19:
alarm.h: No such file or directory
In file included from
.../libruncontrol.c:133:
../libruncontrol.h:81:
syntax error before "chid"
../libruncontrol.h:81:
warning: no semicolon at end of struct or union
../libruncontrol.h:83:
syntax error before "pv_user_chid"
../libruncontrol.h:83:
warning: type defaults to `int' in declaration of `pv_user_chid'
../libruncontrol.h:83:
warning: data definition has no type or storage class
../libruncontrol.h:85:
syntax error before "pv_host_chid"
../libruncontrol.h:85:
warning: type defaults to `int' in declaration of `pv_host_chid'
../libruncontrol.h:85:
warning: data definition has no type or storage class
../libruncontrol.h:87:
syntax error before "pv_pid_chid"
../libruncontrol.h:87:
warning: type defaults to `int' in declaration of `pv_pid_chid'
../libruncontrol.h:87:
warning: data definition has no type or storage class
../libruncontrol.h:89:
syntax error before "pv_sem_chid"
../libruncontrol.h:89:
warning: type defaults to `int' in declaration of `pv_sem_chid'
../libruncontrol.h:89:
warning: data definition has no type or storage class
../libruncontrol.h:91:
syntax error before "pv_desc_chid"
../libruncontrol.h:91:
warning: type defaults to `int' in declaration of `pv_desc_chid'
.
After I get past this set of errors I get another one:
make[3]: Entering directory
`/net/iocapps/R3.14.5/extensions/IPNS1-0/src/SDDSepics/logDaemon/O.linux-x86'
/usr/bin/g++ -o
logDaemon -L../../../../lib/linux-x86/ -L./
-L/net/iocapps/R3.14.5/base/IPNS1-0/lib/linux-x86/
-Wl,-rpath,/net/iocapps/R3.14.5/base/IPNS1-0/lib/linux-x86
logDaemon.o -lLogD -lmdbcommon -lSDDS1 -lrpnlib -lnamelist
-lmdblib -lCom -lz
/usr/bin/ld: warning:
libmatlib.so, needed by ../../../../lib/linux-x86//libmdbcommon.so, not found
(try using -rpath or -rpath-link)
/usr/bin/ld: warning:
libfftpack.so, needed by ../../../../lib/linux-x86//libmdbcommon.so, not found
(try using -rpath or -rpath-link)
/usr/bin/ld: warning:
libmdbmth.so, needed by ../../../../lib/linux-x86//libmdbcommon.so, not found
(try using -rpath or -rpath-link)
../../../../lib/linux-x86//libmdbcommon.so:
undefined reference to `mat_scmul'
../../../../lib/linux-x86//librpnlib.so:
undefined reference to `random_2'
../../../../lib/linux-x86//libmdbcommon.so:
undefined reference to `mat_trans'
../../../../lib/linux-x86//librpnlib.so:
undefined reference to `dbesk0'
../../../../lib/linux-x86//libmdbcommon.so:
undefined reference to `mat_invert'
../../../../lib/linux-x86//librpnlib.so:
undefined reference to `K_cei'
../../../../lib/linux-x86//librpnlib.so:
undefined reference to `gammaQ'
../../../../lib/linux-x86//libmdbcommon.so:
undefined reference to `realFFT2'
../../../../lib/linux-x86//librpnlib.so:
undefined reference to `betaInc'
../../../../lib/linux-x86//librpnlib.so:
undefined reference to `gauss_rn_lim'
../../../../lib/linux-x86//librpnlib.so:
undefined reference to `dbesi1'
../../../../lib/linux-x86//libmdbcommon.so:
undefined reference to `p_materror'
../../../../lib/linux-x86//librpnlib.so:
undefined reference to `dbesk1'
../../../../lib/linux-x86//libmdbcommon.so:
undefined reference to `mat_zero'
../../../../lib/linux-x86//libmdbcommon.so:
undefined reference to `rSigLevel'
../../../../lib/linux-x86//librpnlib.so:
undefined reference to `E_cei'
../../../../lib/linux-x86//librpnlib.so:
undefined reference to `dbesi0'
.
Any clues.
I am using SDDS 1.26 and SDDSepics 1.26 and Redhat
Enterprise Linux 3.0.
John Hammonds
Data Acquisition Systems Manager
Intense Pulsed Neutron Source
[email protected]
(630)252-5317