EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: driver developement for baseR3.14.0beta2
From: Bernhard Kuner <[email protected]>
To: [email protected]
Date: Wed, 07 Aug 2002 09:19:21 +0200
Hallo,

there seems to be a problem with the baseR3.14.0beta2 make files and
scripts. I try to develope a driver support and run into this problems:

1. There ist no include path to the base!
----------------------------------------------------------------------
I created an application - a new top - with makeBaseApp.pl and set in 

   configure/RELEASE:  EPICS_BASE=C:/project/epics/baseR3.14.0beta2

but it is impossible to include any .h file form the base! I found the
not very elegant solution to set it in the makefile: 

   USR_INCLUDES = -I C:\\project\\epics\\baseR3.14.0beta2\\include -I
C:\\project\\epics\\baseR3.14.0beta2\\include\\os\\WIN32

Is there a better way? Did I make anything wrong?

2. There is an error in the automagic created
opc_registerRecordDeviceDriver.cpp
--------------------------------------------------------------------------------

The opc.dbd it contains only this:

    include "aiRecord.dbd"
    device(ai,INST_IO,devOpc,"opc")

It will be parsed and in the file opc_registerRecordDeviceDriver.cpp are
empty entries. The compiler doesn't like this

    static const char * const deviceSupportNames[2] = {
        "",
        "devOpc"
    };

    static const struct dset * const devsl[2] = {
        &,
        &devOpc
    };

    extern "C" struct drvet ;
    extern "C" struct drvet drvOpc;

    static char *driverSupportNames[2] = {
        "",
        "drvOpc"
    };

    static struct drvet *drvsl[2] = {
        &,
        &drvOpc
    };

best regards (gruessle)
-- 
--- Bernhard Kuner -------------------------- [email protected] ---

Replies:
Re: driver developement for baseR3.14.0beta2 Marty Kraimer

Navigate by Date:
Prev: [Fwd: Re: Beyond naming conventions] Peregrine M. McGehee
Next: Re: driver developement for baseR3.14.0beta2 Marty Kraimer
Index: 1994  1995  1996  1997  1998  1999  2000  2001  <20022003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: [Fwd: Re: Beyond naming conventions] Peregrine M. McGehee
Next: Re: driver developement for baseR3.14.0beta2 Marty Kraimer
Index: 1994  1995  1996  1997  1998  1999  2000  2001  <20022003  2004  2005  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 ·