Experimental Physics and Industrial Control System
|
Susheng;
What version of libsnmp do you have installed?
This is what version I'm compiling against, shown with the net-snmp-config command, on this Linux version I got from uname:
$> net-snmp-config --version
5.9.4.pre2
$> uname -v
uname -v
#1 SMP PREEMPT_DYNAMIC Debian 6.12.27-1 (2025-05-06)
I tried compiling on a host with a slightly older version of debian, which also compiles okay:
>$ net-snmp-config --version
#1 SMP Debian 4.19.316-1 (2024-06-25)
From: Peter Sx <xinss0017 at gmail.com>
Sent: Wednesday, March 11, 2026 11:05 AM
To: tech-talk at aps.anl.gov; Priller, John
Subject: EPICS SNMP compile error
[EXTERNAL] This email originated from outside of FRIB
Dear John and EPICS specialist,
I have the following errors while compiling the SNMP 1.1.0.5. Could you please help me out? My EPICS version is V7.0.9. Thank you!
Susheng
/usr/bin/g++ -D_GNU_SOURCE -D_DEFAULT_SOURCE -DdevSnmp_NETSNMP_VERSION=50901 -D_X86_64_ -DUNIX -Dlinux -O3 -g -Wall -DUSE_TYPED_RSET -mtune=generic -m64 -fPIC -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/gcc -I../../../include/os/Linux
-I../../../include -I/usr/local/epics/base//include/compiler/gcc -I/usr/local/epics/base//include/os/Linux -I/usr/local/epics/base//include -c ../devSnmp.cpp
../devSnmp.cpp: In member function ‘void devSnmp_host::setSnmpV3Param(const char*, const char*, bool)’:
../devSnmp.cpp:3299:60: error: ‘usmDESPrivProtocol’ was not declared in this scope; did you mean ‘usmAESPrivProtocol’?
3299 | v3params.securityPrivProto = snmp_duplicate_objid(usmDESPrivProtocol,USM_PRIV_PROTO_DES_LEN);
| ^~~~~~~~~~~~~~~~~~
| usmAESPrivProtocol
make[3]: *** [/usr/local/epics/base//configure/RULES_BUILD:268: devSnmp.o] Error 1
make[3]: Leaving directory '/home/sxin/Downloads/epics-snmp-1.1.0.5/snmpApp/src/O.linux-x86_64'
make[2]: *** [/usr/local/epics/base//configure/RULES_ARCHS:58: install.linux-x86_64] Error 2
make[2]: Leaving directory '/home/sxin/Downloads/epics-snmp-1.1.0.5/snmpApp/src'
make[1]: *** [/usr/local/epics/base//configure/RULES_DIRS:85: src.install] Error 2
make[1]: Leaving directory '/home/sxin/Downloads/epics-snmp-1.1.0.5/snmpApp'
make: *** [/usr/local/epics/base//configure/RULES_DIRS:85: snmpApp.install] Error 2
|
- Replies:
- Re: EPICS SNMP compile error Michael Davidsaver via Tech-talk
- Re: EPICS SNMP compile error Peter Sx via Tech-talk
- References:
- EPICS SNMP compile error Peter Sx via Tech-talk
- Navigate by Date:
- Prev:
Re: EPICS SNMP compile error Hu, Yong via Tech-talk
- Next:
Re: EPICS SNMP compile error Michael Davidsaver via Tech-talk
- 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
2025
<2026>
- Navigate by Thread:
- Prev:
Re: EPICS SNMP compile error Hu, Yong via Tech-talk
- Next:
Re: EPICS SNMP compile error Michael Davidsaver via Tech-talk
- 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
2025
<2026>
|
|
ANJ, 19 Mar 2026 |
·
Home
·
News
·
About
·
Talk
·
Base
·
Modules
·
Extensions
·
·
Distributions
·
Download
·
Documents
·
Links
·
Licensing
·
|