Hi folks,
I encountered a Problem in the devlib2 code. It does not compile with EPICS7.
I had to apply this patch to get it compiling:
diff -Naur EPICS-7.0.1-org/modules/src/devlib2/exploreApp/src/
devexplore_util.cpp EPICS-7.0.1/modules/src/devlib2/exploreApp/src/
devexplore_util.cpp
--- EPICS-7.0.1-org/modules/src/devlib2/exploreApp/src/devexplore_util.cpp
2018-05-16 09:12:24.167857218 +0200
+++ EPICS-7.0.1/modules/src/devlib2/exploreApp/src/devexplore_util.cpp
2018-05-16 09:02:52.865400778 +0200
@@ -5,6 +5,9 @@
#include <epicsVersion.h>
#include <epicsStdlib.h>
+#if EPICS_VERSION > 4
+#include <errlog.h>
+#endif
#define epicsExportSharedSymbols
#include "devexplore.h"
@@ -32,7 +35,7 @@
}
}
-#if EPICS_REVISION<=14
+#if EPICS_VERSION <= 3 && EPICS_REVISION<=14
#define M_stdlib 4242
#define S_stdlib_noConversion (M_stdlib | 1) /* No digits to convert */
I used the actual code from github to be sure not to miss any updates.
Regards,
Jörn Dreyer
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
- Replies:
- Re: Problem when compiling devlib2 against EPICS 7 Benjamin Franksen
- Navigate by Date:
- Prev:
Re: Problem compiling and linking with asyn Jörn Dreyer
- Next:
Re: Problem when compiling devlib2 against EPICS 7 Benjamin Franksen
- 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
- Navigate by Thread:
- Prev:
Re: Problem compiling and linking with asyn Jörn Dreyer
- Next:
Re: Problem when compiling devlib2 against EPICS 7 Benjamin Franksen
- 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
|