EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024  Index 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          |
----------------------------------------


Navigate by Date:
Prev: Re: alarm handler issue Ralph Lange
Next: Re: alarm handler issue Andrew Johnson
Index: 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: alarm handler issue Andrew Johnson
Next: Build failed in Jenkins: epics-base-3.14-win64 #256 APS Jenkins
Index: 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 ·