1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 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 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 <2016> 2017 2018 2019 2020 2021 2022 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: Alias |
From: | Stefen Paul <[email protected]> |
Cc: | EPICS Tech Talk <[email protected]> |
Date: | Fri, 19 Aug 2016 11:13:54 +0530 |
> I tried using the command alias("canonicalName","aliasName") in my code. The alias command is used in a database file, not in C code.
> I also wrote #include <dbStaticLib.h> in the code.
> But when I make my application, I get the following error:
> "unresolved external symbol _alias"
This is from the Application Developer's Guide:
http://www.aps.anl.gov/epics/base/R3-14/12-docs/ AppDevGuide.pdf
Page 107:
6.14 record – Record Instance
6.14.1 Format
record(record_type, record_name) {
alias(alias_name)
field(field_name, "field_value")
info(info_name, "info_value")
...
}
alias(record_name, alias_name)
If you want to create an alias in C then you must use this function (page 207)
long dbCreateAlias(DBENTRY *pdbentry, const char *paliasName);
Mark
________________________________
From: [email protected] [[email protected]] on behalf of Stefen Paul [[email protected]]
Sent: Tuesday, August 16, 2016 11:59 PM
To: EPICS Tech Talk
Subject: Alias
Hi All,
I am using EPICS Base version 3.14.12.4
I read that from EPICS 3.14.11 support for alias has been added.
I tried using the command alias("canonicalName","aliasName") in my code.
I also wrote #include <dbStaticLib.h> in the code.
But when I make my application, I get the following error:
"unresolved external symbol _alias"
Am I missing something here ?
Thanks,
Stefen