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

Subject: Re: Build failed in Jenkins: EPICS-7 #319
From: "Johnson, Andrew N. via Core-talk" <core-talk at aps.anl.gov>
To: EPICS core-talk <core-talk at aps.anl.gov>
Date: Mon, 8 Feb 2021 19:32:30 +0000
On Feb 8, 2021, at 1:29 PM, Jenkins EPICS PSI via Core-talk <core-talk at aps.anl.gov> wrote:

[mdavidsaver] c89 compat

/usr/bin/gcc  -D_GNU_SOURCE -D_DEFAULT_SOURCE           -D_X86_64_  -DUNIX  -Dlinux   -DBUILDING_libCom_API   -O3   -Wall -Werror-implicit-function-declaration            -m64 -fPIC -I. -I../O.Common -I. -I../osi/compiler/gcc -I../osi/compiler/default -I. -I../osi/os/Linux -I../osi/os/posix -I../osi/os/default -I.. -I../as -I../bucketLib -I../calc -I../cvtFast -I../cppStd -I../cxxTemplates -I../dbmf -I../ellLib -I../env -I../error -I../fdmgr -I../flex -I../freeList -I../gpHash -I../iocsh -I../log -I../macLib -I../misc -I../osi -I../pool -I../ring -I../taskwd -I../timer -I../yacc -I../yacc -I../yajl -I../../../../include/compiler/gcc -I../../../../include/os/Linux -I../../../../include         -c ../osi/os/Linux/osdNetIntf.c
In file included from ../osi/os/Linux/osdNetIntf.c:1:0:
./../osi/osdNetIfAddrs.c: In function ‘osiLocalAddrOnce’:
./../osi/osdNetIfAddrs.c:176:5: error: ‘for’ loop initial declarations are only allowed in C99 mode
    for ( struct ifaddrs *ifa = ifaddr; ifa != NULL; ifa = ifa->ifa_next ) {
    ^
./../osi/osdNetIfAddrs.c:176:5: note: use option -std=c99 or -std=gnu99 to compile your code
make[4]: *** [osdNetIntf.o] Error 1


I have the fix for this tested and ready to commit.

- Andrew

-- 
Complexity comes for free, simplicity you have to work for.


Replies:
Re: Build failed in Jenkins: EPICS-7 #319 Michael Davidsaver via Core-talk
References:
Build failed in Jenkins: EPICS-7 #318 Jenkins EPICS PSI via Core-talk
Build failed in Jenkins: EPICS-7 #319 Jenkins EPICS PSI via Core-talk

Navigate by Date:
Prev: Build failed in Jenkins: EPICS-7 #319 Jenkins EPICS PSI via Core-talk
Next: Re: Build failed in Jenkins: EPICS-7 #319 Michael Davidsaver via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024 
Navigate by Thread:
Prev: Build failed in Jenkins: EPICS-7 #319 Jenkins EPICS PSI via Core-talk
Next: Re: Build failed in Jenkins: EPICS-7 #319 Michael Davidsaver via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024 
ANJ, 08 Feb 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·