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: Peter Sx via Tech-talk <tech-talk at aps.anl.gov>
To: "Hu, Yong" <yhu at bnl.gov>, "Priller, John" <priller at frib.msu.edu>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>, Michael Davidsaver <mdavidsaver at gmail.com>
Date: Thu, 12 Mar 2026 18:07:52 -0400
Hi Yong, John and Michael.

I uninstalled the net-snmp 5.9.1 and installed 5.9.4 Pre. Then I compiled the epics snmp module. It went through.  Thank you all for helping!
Best

Susheng

On Thu, Mar 12, 2026 at 1:39 PM Hu, Yong <yhu at bnl.gov> wrote:
OR I can stop by your office tomorrow if that is more convenient to you.

From: Peter Sx <xinss0017 at gmail.com>
Date: Thursday, March 12, 2026 at 9:08 AM
 
Thank you, Yong! Let me try  using the other version today. I will see you tomorrow.

On Thu, Mar 12, 2026, 8:29 AM Hu, Yong <yhu at bnl.gov> wrote:
I am out of office today. I will be in tomorrow. You can stop by tomorrow so we can try 5.9.1.

From: Peter Sx <xinss0017 at gmail.com>
Date: Wednesday, March 11, 2026 at 5:47 PM
 
Hi John, Yong and Michael,
I had a busy day in the field. Sorry for the late reply!
My version is 5.9.1. I will try to install an older version and compile it again. Thank you all for helping!

Best
Susheng

On Wed, Mar 11, 2026 at 12:19 PM Priller, John <priller at frib.msu.edu> wrote:

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
5.7.3

>$ uname -v
#1 SMP Debian 4.19.316-1 (2024-06-25)


- JP



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 Majer Karel via Tech-talk
References:
EPICS SNMP compile error Peter Sx via Tech-talk
Re: EPICS SNMP compile error Priller, John via Tech-talk
Re: EPICS SNMP compile error Peter Sx via Tech-talk

Navigate by Date:
Prev: Re: CA gateway crashes periodically due to badly behaved servers Brian Bevins via Tech-talk
Next: cross compilation missing caRepeater [SEC=OFFICIAL] STARRITT, Andrew 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 Peter Sx via Tech-talk
Next: Re: EPICS SNMP compile error Majer Karel 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 ·