EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024  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  <20182019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Compiler error on Debian Stretch arm
From: Florian Feldbauer <[email protected]>
To: EPICS Tech Talk <[email protected]>
Date: Tue, 31 Jul 2018 12:31:43 +0200
Hey all,

just in case this is a bug in base 3.16.1: I was trying to build an IOC
directly on my BeagleBone Black. I'm using the latest Debian Stretch
image (gcc6.3.0).

Building EPICS base and CALC-Module worked without any problems. But
building the IOC (with some custom device support) I got the following
error:

> /usr/bin/gcc  -D_GNU_SOURCE -D_DEFAULT_SOURCE            -DUNIX  -Dlinux     -O3 -g   -Wall            -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/gcc -I../../../include/os/Linux -I../../../include      -I/opt/epics/modules/calc/include -I/opt/epics/base/include/compiler/gcc -I/opt/epics/base/include/os/Linux -I/opt/epics/base/include     -I/home/debian/isegHAL    -c ../devIsegHalAsync.c
> In file included from ../devIsegHalAsync.c:37:0:
> /opt/epics/base/include/dbLock.h:33:40: error: unknown type name ‘size_t’
>                                        size_t nrecs,
>                                        ^~~~~~

I was able to fix this error by adding "#include <stddef.h> in
base/include/dbLock.h

Best regards,

Florian

-- 
----------------------------------------
| Dr. Florian Feldbauer                |
|                                      |
| Ruhr-Universität Bochum              |
| Experimentalphysik I AG              |
| Universitätsstr 150                  |
| D-44801 Bochum                       |
|                                      |
| Office: NB 2/134                     |
| Phone:  (+49)234 / 32-23563          |
----------------------------------------


Replies:
Re: Compiler error on Debian Stretch arm Ralph Lange

Navigate by Date:
Prev: Re: Some questions from a first-time driver author Zik Saleeba
Next: Re: Parse IEEE 488.2-1992 Block format with StreamDevice? Christoph Schroeder
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  <20182019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: a question for msi Jeong Han Lee
Next: Re: Compiler error on Debian Stretch arm Ralph Lange
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  <20182019  2020  2021  2022  2023  2024 
ANJ, 13 Aug 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·