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