EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Re: Tornado 2.2.1
From: "Ronald L. Sluiter" <[email protected]>
To: Andrew Johnson <[email protected]>
Cc: john sinclair <[email protected]>, tech talk <[email protected]>
Date: Wed, 17 Mar 2004 14:49:56 -0600
I am beginning to wonder if there is any combination of compiler
switches that will allow one to build R3.13.9 using Tornado 2.2.1

I don't understand it, but here is what is happening to drvBitBus.c.

The following is a segment from vxWorks.h;

/* All this to generate a string we can #include */

   #define TOOL_HDR_STRINGIFY(x)  #x
   #define TOOL_HDR(tc, file) TOOL_HDR_STRINGIFY(tool/tc/file)
   #define TOOL_HEADER(file) TOOL_HDR(TOOL_FAMILY,file)

/* Now include the correct header file */

#include TOOL_HEADER(toolMacros.h)

The above "#include TOOL_HEADER(toolMacros.h)" is processed into
the following in drvBitBus.c;

#tool/gnu/toolMacros.h

It is like the "include" part of "#include" got lost.  This yields the
error message;

.../wind68K2.2/target/h/vxWorks.h:218: `#include' expects "FILENAME" or <FILENAME>

Ron


Andrew Johnson wrote:

Ronald L. Sluiter wrote:


Have you removed -nostdinc from the EPICS configuration file <base>/config/CONFIG.Vx
as documented below?


It appears that you have to remove more than just the -nostdinc option - there are several other gcc flags which used to be required but are no longer needed, and they might be causing the problems. I have Tornado 2.2 failing to build the bitbus driver, probably related to the -traditional flag which everything in src/drv/old uses.

At APS we're not likely to need to use this combination of versions, but if anyone works out what the required changes are to the compiler options [assuming that's really the cause of the problem] please be sure to let us (Janet <[email protected]>) know as we're going to be coming out with a release 3.13.10 within about a month - mostly Channel Access fixes.

- Andrew




Replies:
Re: Tornado 2.2.1 Dirk Zimoch
References:
Tornado 2.2.1 john sinclair
Re: Tornado 2.2.1 Ronald L. Sluiter
Re: Tornado 2.2.1 Andrew Johnson

Navigate by Date:
Prev: Re: Tornado 2.2.1 Andrew Johnson
Next: EPICS Collab. Meeting - Alb-Santa Fe Shuttles Bob Dalesio
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Tornado 2.2.1 Andrew Johnson
Next: Re: Tornado 2.2.1 Dirk Zimoch
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·