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  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Missing include in WIN32/osdTime.cpp?
From: Andrew Johnson <[email protected]>
To: Zhichu Chen <[email protected]>
Cc: [email protected]
Date: Tue, 27 May 2008 09:26:23 -0500
Hi,

Zhichu Chen wrote:

I happened to know that there's a new CVS while I was trying to make a cross-compiler toolchain on Windows, MinGW. But the compilation failed because of some undeclared function called generalTimeCurrentTpRegister on line 99 of osdTime.cpp. I took a little search and find that function was defined in generalTimeSup.h. So I put #include "generalTimeSup.h" in the preamble and I can pass the error. Is there any possibility that it is missed or could I do something clever to make it work without modifying the source file, it really scared that I have to hack the sources.

Your change is correct, I just added that line to the CVS version â thanks reporting it. The CVS version of Base is not an official release and has not necessarily been built on all platforms let alone tested, so it can contain build problems like this. Unfortunately this means that the following is probably a bug, which one of the other developers with Windows expertise may have to diagnose and fix. I don't think it's an EOL issue given the error message reported:


Installing created file ../../../bin/mingw-x86/makeBpt.exe
../../../bin/mingw-x86/makeBpt.exe ../bptTypeJdegC.data
../O.Common/bptTypeJdegC.dbd
../../../bin/mingw-x86/makeBpt.exe ../bptTypeJdegF.data
../O.Common/bptTypeJdegF.dbd
../../../bin/mingw-x86/makeBpt.exe ../bptTypeKdegC.data
../O.Common/bptTypeKdegC.dbd
../../../bin/mingw-x86/makeBpt.exe ../bptTypeKdegF.data
../O.Common/bptTypeKdegF.dbd
Installing created dbd file ../../../dbd/bptTypeJdegC.dbd
Installing created dbd file ../../../dbd/bptTypeJdegF.dbd
Installing created dbd file ../../../dbd/bptTypeKdegC.dbd
Installing created dbd file ../../../dbd/bptTypeKdegF.dbd
../../../bin/mingw-x86/dbToMenuH.exe ../menuConvert.dbd
../O.Common/menuConvert.h

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
make[3]: *** [../O.Common/menuConvert.h] Error 3
make[3]: Leaving directory `/home/Administrator/base/src/bpt/O.mingw-x86'
make[2]: *** [install.mingw-x86] Error 2
make[2]: Leaving directory `/home/Administrator/base/src/bpt'
make[1]: *** [bpt.install] Error 2
make[1]: Leaving directory `/home/Administrator/base/src'
make: *** [src.install] Error 2
===================================================================
I guess maybe it is the END-OF-LINE character problem but I don't know
how to solve it.
My environment is:
MSYS-1.0.10 with make 3.81
MinGW version GCC 4.3.0
GnuWin32 version readline library 5.0-1
Some other libraries as bison or flex which I don't know whether they
are necessary.

Base includes its own copy of the antelope and flex libraries, so it won't need/be using your bison or flex.


- Andrew
--
Talk is cheap. Show me the code. -- Linus Torvalds

References:
Re: Missing include in WIN32/osdTime.cpp? Zhichu Chen

Navigate by Date:
Prev: Power Supply Info Ahed Aladwan
Next: Re: Problems building with Microsoft Visual Studio 2005 (VC8) Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Missing include in WIN32/osdTime.cpp? Zhichu Chen
Next: create_channel fails on vxWorks Felix
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·