EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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 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
<== Date ==> <== Thread ==>

Subject: Re: EPICS SNMP compile error
From: "Hu, Yong via Tech-talk" <tech-talk at aps.anl.gov>
To: Peter Sx <xinss0017 at gmail.com>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>, "priller at frib.msu.edu" <priller at frib.msu.edu>
Date: Wed, 11 Mar 2026 16:09:38 +0000
Hi Susheng,

I simply put your message in Gemini. Here is what (s)he says: https://gemini.google.com/share/35c39a4c649a

I did a quick built of EIPCS SNMP-1.1.0.5 against EPICS-7 and net-snmp-devel (1:5.8-32.el8_10) on RHEL-8 without any issues. I guess your version of net-snmp, which is a separate package from SNMP-1.1.0.5, is higher than 5.8.
[epics-snmp-1.1.0.5]$ net-snmp-config --version
5.8

You may modify your source codes upon Gemini's or ChatGPT's suggestions, then rebuild.

Cheers,
Yong

From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Peter Sx via Tech-talk <tech-talk at aps.anl.gov>
Date: Wednesday, March 11, 2026 at 11:07 AM
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


References:
EPICS SNMP compile error Peter Sx via Tech-talk

Navigate by Date:
Prev: Showing Formula-Based PV Value in Tooltip in Phoebus Display Builder Varuna Crishan Meddage via Tech-talk
Next: Re: EPICS SNMP compile error Priller, John 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: EPICS SNMP compile error Peter Sx via Tech-talk
Next: Re: EPICS SNMP compile error Priller, John 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 ·