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: Possible bug in registerRecordDeviceDriver.pl
From: Kay-Uwe Kasemir <[email protected]>
To: "Thompson, David H." <[email protected]>
Cc: [email protected]
Date: Fri, 23 Jan 2004 09:31:07 -0700
On 2004.01.23 07:17, "Thompson, David H." wrote:
> I get the following error loading a library file on vxWorks/Epics
> 3.14.4:
> 
> cd timingbin
> 
> value = 0 = 0x0
> 
> ld<timingLib.munch
> 
> Undefined symbol: p (binding 1 type 0)  <<<<<<<<<<<<<<<<<<<<<


Hi:

I had a similar problem caused by simplistic parsing in registerRecordDeviceDriver.pl.
In my case, a DBD line
	driver(MyLameXYdevice)
was mistaken for a line ala
       device(rec, link, dset, "name")
because after all "device" was part of the line.
That then created an empty "p" entry in the device list.

Similarly, anything with "registrar" will be taken as a registrar definition,
even if it's
     
   # This is a comment about a registrar, but no registrar definition

The solution would be to make registerRecordDeviceDriver.pl
check more carefully. Take line 25: Instead of 
  if( /device/ )
it could be
  if (/\A\s*device\s*\( )

Meanwhile, you'll have to check your DBDs to use "device" only for "device(.." etc.

-Kay


Replies:
Re: Possible bug in registerRecordDeviceDriver.pl Andrew Johnson
References:
Possible bug in registerRecordDeviceDriver.pl Thompson, David H.

Navigate by Date:
Prev: epics thread Liyu, Andrei
Next: Re: Possible bug in registerRecordDeviceDriver.pl Andrew Johnson
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: Possible bug in registerRecordDeviceDriver.pl Thompson, David H.
Next: Re: Possible bug in registerRecordDeviceDriver.pl Andrew Johnson
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 ·