EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  <19981999  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  Index 1994  1995  1996  1997  <19981999  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 
<== Date ==> <== Thread ==>

Subject: EPICS on Linux revisited
From: [email protected]
To: [email protected]
Date: Wed, 8 Apr 1998 15:32:24 -0400
Hi, all,

Okay, I got Linux 5.0, and Motif 2.1, installed them and compiled EPICS
base.  Am now trying to install the extensions, and I am consistently
getting several errors.  (I am just typing "make" in the extensions
directory).  Did anyone else have this problem?  Any ideas on the 
following would be appreciated.

in trying to compile medm:

../Matrix.c: In function `CvtStringToStringArray':
../Matrix.c:7272: `caddr_t' undeclared (first use this function)
../Matrix.c:7272: (Each undeclared identifier is reported only once
../Matrix.c:7272: for each function it appears in.)
../Matrix.c: In function `CvtStringToWidthArray':
../Matrix.c:7369: `caddr_t' undeclared (first use this function)
../Matrix.c: In function `CvtStringToMaxLengthArray':
../Matrix.c:7459: `caddr_t' undeclared (first use this function)
../Matrix.c: In function `CvtStringToAlignmentArray':
../Matrix.c:7610: `caddr_t' undeclared (first use this function)
make[3]: *** [Matrix.o] Error 1


In other extensions

gcc -ansi -O  -g -DXREL5 -I/usr/local/epics/extensions/include -DUNIX -USUN4 -D_X86_ -Dlinux  -I/usr/X11R6/include/X11 -I/usr/X11R6/include/X11 -I. -I.. -I../../../../base/include -DUNIX   -c ../adt.c
In file included from ../adt.c:7:
../adt.h:180: parse error before `caddr_t'
../adt.h:182: parse error before `caddr_t'
../adt.h:188: parse error before `caddr_t'
../adt.h:209: parse error before `caddr_t'
../adt.h:211: parse error before `caddr_t'
../adt.h:213: parse error before `caddr_t'
../adt.h:215: parse error before `caddr_t'
../adt.h:219: parse error before `caddr_t'
../adt.h:220: parse error before `caddr_t'
../adt.h:233: parse error before `caddr_t'
../adt.h:234: parse error before `caddr_t'
../adt.h:236: parse error before `caddr_t'
../adt.h:237: parse error before `caddr_t'
../adt.h:238: parse error before `caddr_t'
../adt.h:239: parse error before `caddr_t'
../adt.h:242: parse error before `caddr_t'
../adt.h:246: parse error before `caddr_t'
../adt.h:247: parse error before `caddr_t'
../adt.h:248: parse error before `caddr_t'
../adt.h:250: parse error before `caddr_t'
../adt.h:251: parse error before `caddr_t'
../adt.h:252: parse error before `caddr_t'
../adt.h:253: parse error before `caddr_t'
../adt.h:255: parse error before `clientdata'
../adt.h:261: parse error before `caddr_t'
../adt.h:262: parse error before `clientdata'
../adt.c:202: `caddr_t' undeclared (first use this function)
../adt.c:202: (Each undeclared identifier is reported only once
../adt.c:202: for each function it appears in.)
../adt.c:202: parse error before `0'
../adt.c:216: parse error before string constant
../adt.c:236: parse error before `savenumbers'
../adt.c:258: parse error before string constant
../adt.c:265: parse error before `savenumbers'
../adt.c:287: parse error before string constant
../adt.c:294: parse error before `savenumbers'
../adt.c:304: parse error before `0'
../adt.c:346: parse error before `0'


This has been happening in a large number of the extensions.

Also cau gives me the following:

cau.o: In function `cauTask':
cau.o(.text+0x31f): undefined reference to `ca_pend_event'
cau.o: In function `cau_put':
cau.o(.text+0x17b1): undefined reference to `ca_put'
cau.o(.text+0x17e8): undefined reference to `ca_pend_io'
cau.o: In function `cauChanAdd':
cau.o(.text+0x1aff): undefined reference to `ca_search'
cau.o(.text+0x1b3c): undefined reference to `ca_pend_io'
cau.o(.text+0x1cf0): undefined reference to `ca_pend_io'
cau.o: In function `cauGetAndPrint':
cau.o(.text+0x2044): undefined reference to `ca_pend_io'
cau.o: In function `cauSigGenPut':
cau.o(.text+0x2ea2): undefined reference to `ca_put'
cau.o(.text+0x2edf): undefined reference to `ca_put'
cau.o(.text+0x2f0f): undefined reference to `ca_put'
cau.o(.text+0x2f3f): undefined reference to `ca_put'
cau.o(.text+0x2f6f): undefined reference to `ca_put'
cau.o(.text+0x2f9f): more undefined references to `ca_put' follow
make[2]: *** [cau] Error 1
make[2]: Leaving directory `/usr/local/epics/extensions/src/cau/O.Linux'
make[1]: *** [arch] Error 2
make[1]: Leaving directory `/usr/local/epics/extensions/src/cau'
make: *** [install] Error 2

What am I missing?

Thanks,

Bonnie Madre
Jefferson Lab


Navigate by Date:
Prev: RE: exporting waveforms Ben-chin K. Cha
Next: Re: EPICS on Linux revisited William Lupton
Index: 1994  1995  1996  1997  <19981999  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: Fast Programming of Boot/Flash Memory Till Straumann
Next: Re: EPICS on Linux revisited William Lupton
Index: 1994  1995  1996  1997  <19981999  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 
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 ·