EPICS Controls Argonne National Laboratory

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: SDDSepics compile problem with 3.14.5
From: "Ernest L. Williams Jr." <[email protected]>
To: "Hammonds, John P." <[email protected]>
Cc: [email protected]
Date: Sun, 07 Mar 2004 08:02:15 -0500
Hi,


Be sure to do a make in the <EXTENSIONS_TOP>/configure directory, then
all should be well.  
This happens because the <EXTENSIONS_TOP> level Makefile is probably not
set-up to descend into the configure directory automatically.



Thanks,
Ernest


On Sun, 2004-03-07 at 00:02, Hammonds, John P. wrote:
> 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
> 
>  
-- 
Ernest L. Williams Jr. <[email protected]>


References:
SDDSepics compile problem with 3.14.5 Hammonds, John P.

Navigate by Date:
Prev: SDDSepics compile problem with 3.14.5 Hammonds, John P.
Next: gtr1-2 for SIS3301 DMA error. Kiman Ha
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: SDDSepics compile problem with 3.14.5 Hammonds, John P.
Next: RE: SDDSepics compile problem with 3.14.5 Hammonds, John P.
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 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·