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: Re: Compiler error on Debian Stretch arm
From: Ralph Lange <[email protected]>
To: EPICS Tech Talk <[email protected]>
Cc: EPICS Core Talk <[email protected]>
Date: Tue, 31 Jul 2018 16:02:53 +0200
Thanks for pointing this out!


Cheers,
~Ralph

ps. Please consider posting to core-talk for bug reports in EPICS Base. More targeted.



On Tue, Jul 31, 2018 at 12:31 PM Florian Feldbauer <[email protected]> wrote:
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          |
----------------------------------------


References:
Compiler error on Debian Stretch arm Florian Feldbauer

Navigate by Date:
Prev: Re: Parse IEEE 488.2-1992 Block format with StreamDevice? Christoph Schroeder
Next: Re: IOC Crash with No Exception Generated Ricardo Cardenes via Tech-talk
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: Compiler error on Debian Stretch arm Florian Feldbauer
Next: dbGetPdbAddrFromLink dropped from 3.15 again Till Straumann
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, 31 Jul 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·