EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: build error on R3.14 trunk
From: Eric Norum <[email protected]>
To: Andrew Johnson <[email protected]>, Jeff Hill <[email protected]>
Cc: Core-Talk Talk <[email protected]>
Date: Fri, 13 Aug 2010 15:58:54 -0700
I'd go further.  Until this test is OSI-ified it should be removed from the build!

Here's what happens when I remove the include of unistd.h:
make[3]: Entering directory `/usr/local/epics/src/base/devel/src/libCom/test/O.RTEMS-uC5282'

/usr/local/rtems/rtems-4.10/bin/m68k-rtems4.10-gcc --pipe -B/usr/local/rtems/rtems-4.10/m68k-rtems4.10/uC5282/lib/ -specs bsp_specs -qrtems   -fasm -c   -mcpu=5282              -DUNIX     -O2 -g -g  -Wall      -DMY_DO_BOOTP=NULL      -I. -I../O.Common -I. -I.. -I../../../../include/os/RTEMS -I../../../../include        ../buckTest.c 
../buckTest.c: In function 'buckTest':
../buckTest.c:75:9: warning: implicit declaration of function 'sysconf'
../buckTest.c:75:29: error: '_SC_CLK_TCK' undeclared (first use in this function)
../buckTest.c:75:29: note: each undeclared identifier is reported only once for each function it appears in
make[3]: *** [buckTest.o] Error 1
make[3]: Leaving directory `/usr/local/epics/src/base/devel/src/libCom/test/O.RTEMS-uC5282'


On Aug 13, 2010, at 3:49 PM, Andrew Johnson wrote:

> On Friday 13 August 2010 17:10:49 Jeff Hill wrote:
>> FWIW, I see the following error when building the R3.14 trunk on windows.
>> 
>> cl -c               /nologo /D__STDC__=0 /D_CRT_SECURE_NO_DEPRECATE
>> /D_CRT_NONST
>> DC_NO_DEPRECATE   /Zi /RTCsu   /W3 /w44355       /MDd     -I.
>> -I..\\O.Common -I.
>> -I.. -I..\\..\\..\\..\\include\\os\\WIN32 -I..\\..\\..\\..\\include
>> ..\\
>> buckTest.c
>> buckTest.c
>> ..\buckTest.c(12) : fatal error C1083: Cannot open include file:
>> 'unistd.h': No such file or directory
> 
> I see from the log that unistd.h was added by Eric, apparently to get this to 
> build on RTEMS 4.10, but when I remove it I see no errors or warnings with 
> RTEMS 4.10 or 4.9.2.  I am getting a load of *other* build failures with 4.10, 
> but that's probably just our configuration here (which is evidently missing 
> Eric's tender ministrations).
> 
> I propose to delete unistd.h again from buckTest.c unless someone can explain 
> why it's needed.
> 
> - Andrew
> -- 
> The best FOSS code is written to be read by other humans -- Harald Welte
> 

-- 
Eric Norum
[email protected]






Replies:
Re: build error on R3.14 trunk Andrew Johnson
References:
build error on R3.14 trunk Jeff Hill
Re: build error on R3.14 trunk Andrew Johnson

Navigate by Date:
Prev: Re: build error on R3.14 trunk Andrew Johnson
Next: RE: some issues with "lp:epics-base" in bazaar Jeff Hill
Index: 2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: build error on R3.14 trunk Andrew Johnson
Next: Re: build error on R3.14 trunk Andrew Johnson
Index: 2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Feb 2012 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·