Re: Error with --enable-snmp

Paul Gildea <[email protected]> Thu, 23 Aug 2018 14:43:19 +0100
Newsgroups gmane.linux.keepalived.devel
Message-ID <CAP3D3gchK_R+ceXK5epThL734TYUvBH_6hB38UFVZz=uzrf=1g@mail.gmail.com>
--===============1209237243532172792==
Content-Type: multipart/alternative; boundary="00000000000029219b05741a7143"

--00000000000029219b05741a7143
Content-Type: text/plain; charset="UTF-8"

Quentin,

Here is the output of those commands:

[root@Desk-r6 /]# net-snmp-config --netsnmp-agent-libs
-L/usr/lib -lnetsnmpmibs -lnetsnmpagent -lnetsnmp

[root@Desk-r6 /]# net-snmp-config --external-libs
-lcrypto -lm

[root@Desk-r6 /]# net-snmp-config --base-cflags
-fno-strict-aliasing -pipe -Os -fPIC -DPIC -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ulinux -Dlinux=linux
-I/usr/include

I am using buildroot (https://buildroot.org/) which created a linux OS for
an embedded device, current kernel is 4.7.8
I'll look into updating net-snmp, it may or may not be possible depending
on what I find!

Cheers,

--
Paul

On 23 August 2018 at 13:08, Quentin Armitage <[email protected]>
wrote:

> Paul,
>
> Can you provide the output of the following commands:
> net-snmp-config --netsnmp-agent-libs
> net-snmp-config --external-libs
> net-snmp-config --base-cflags
>
> It looks as though the compiler is not liking the flags returned by
> net-snmp-config --base-cflags (see configure.ac around line 1440).
>
> I presume you are running on Debian. What version of Debian is it?
>
> That's a rather old version of net-snmp you have. Is it possible to use a
> more recent version?
>
> Quentin Armitage
>
> On Thu, 2018-08-23 at 12:37 +0100, Paul Gildea wrote:
>
> I already have net-snmp built on my system. So I tried the --enable-snmp
> option with keepalived and got the following error, anybody else had this
> issue?
>
>
>
> checking whether C compiler supports flag "-DNETSNMP_ENABLE_IPV6 -g -O2
> -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
> -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE
> -DDEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.14/CORE
> -D_FORTIFY_SOURCE=2 -I/usr/include -DNETSNMP_NO_INLINE -L/usr/lib
> -lnetsnmpagent -lnetsnmphelpers -lnetsnmpmibs -lnetsnmp
> -Wl,-Bsymbolic-functions -Wl,-z,relro" from Net-SNMP... noconfigure:
> error: *** incorrect CFLAGS from net-snmp-configmake: ***
> [/media/vmpart/vrrp/buildroot/output/build/keepalived-2.0.5/.stamp_configured]
> Error 1
>
>
>
> Is it looking for all of those options and libraries, or is there some
> minimum CLFAGS options I can add? I have nothing like those in the netsnmp
> make file. I'm currently experimenting but getting the same error.
>
>
>
> #############################################################
> #
> # netsnmp
> #
> #############################################################
>
> NETSNMP_VERSION = 5.6.2
> NETSNMP_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/
> sourceforge/net-snmp
> NETSNMP_SOURCE = net-snmp-$(NETSNMP_VERSION).tar.gz
> NETSNMP_INSTALL_STAGING = YES
> NETSNMP_CONF_ENV = ac_cv_NETSNMP_CAN_USE_SYSCTL=yes
> NETSNMP_CONF_OPT = --with-persistent-directory=/var/lib/snmp
> --disable-static \
> --with-defaults --enable-mini-agent --without-rpm \
> --with-logfile=none --without-kmem-usage $(DISABLE_IPV6) \
> --enable-as-needed --disable-debugging --without-perl-modules \
> --disable-embedded-perl --disable-perl-cc-checks \
> --disable-scripts --with-default-snmp-version="1" \
> --enable-silent-libtool --enable-mfd-rewrites \
> --with-sys-contact="root@localhost" \
> --with-sys-location="Unknown" \
> --with-mib-modules="default_modules agent_mibs notification target
> utilities disman/event disman/schedule agentx util_funcs mibII/system_mib
> snmpv3mibs ucd_snmp smux"
> #--with-out-mib-modules="default_modules mibII agent_mibs notification
> target utilities disman/event disman/schedule host" \
> --with-mib-modules="agentx util_funcs mibII/system_mib snmpv3mibs ucd_snmp"
> #util_funcs/Exit util_funcs/restart
> # --with-mib-modules="host ucd-snmp/dlmod disman/event disman/schedule
> utilities agentx smux"
> NETSNMP_BLOAT_MIBS = BRIDGE EtherLike RFC-1215 RFC1155-SMI RFC1213 SCTP
> SMUX
>
> ifeq ($(BR2_ENDIAN),"BIG")
> NETSNMP_CONF_OPT += --with-endianness=big
> else
> NETSNMP_CONF_OPT += --with-endianness=little
> endif
>
> # OpenSSL
> ifeq ($(BR2_PACKAGE_OPENSSL),y)
> NETSNMP_DEPENDENCIES += openssl
> NETSNMP_CONF_OPT += \
> --with-openssl=$(STAGING_DIR)/usr/include/openssl
> else
> NETSNMP_CONF_OPT += --without-openssl
> endif
>
> # Docs
> ifneq ($(BR2_HAVE_DOCUMENTATION),y)
> NETSNMP_CONF_OPT += --disable-manuals
> endif
>
> # Remove IPv6 MIBs if there's no IPv6
> ifneq ($(BR2_INET_IPV6),y)
> define NETSNMP_REMOVE_MIBS_IPV6
> rm -f $(TARGET_DIR)/usr/share/snmp/mibs/IPV6*
> endef
> endif
>
> define NETSNMP_INSTALL_TARGET_CMDS
> $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
> DESTDIR=$(TARGET_DIR) install
> $(INSTALL) -D -m 0755 package/netsnmp/S59snmpd \
> $(TARGET_DIR)/etc/init.d/S59snmpd
> for mib in $(NETSNMP_BLOAT_MIBS); do \
> rm -f $(TARGET_DIR)/usr/share/snmp/mibs/$$mib-MIB.txt; \
> done
> $(NETSNMP_REMOVE_MIBS_IPV6)
> endef
>
> define NETSNMP_UNINSTALL_TARGET_CMDS
> $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
> DESTDIR=$(TARGET_DIR) uninstall
> rm -f $(TARGET_DIR)/etc/init.d/S59snmpd
> rm -f $(TARGET_DIR)/usr/lib/libnetsnmp*
> endef
>
> define NETSNMP_STAGING_NETSNMP_CONFIG_FIXUP
> $(SED) "s,^prefix=.*,prefix=\'$(STAGING_DIR)/usr\',g" \
> -e "s,^exec_prefix=.*,exec_prefix=\'$(STAGING_DIR)/usr\',g" \
> -e "s,^includedir=.*,includedir=\'$(STAGING_DIR)/usr/include\',g" \
> -e "s,^libdir=.*,libdir=\'$(STAGING_DIR)/usr/lib\',g" \
> $(STAGING_DIR)/usr/bin/net-snmp-config
> endef
>
> NETSNMP_POST_INSTALL_STAGING_HOOKS += NETSNMP_STAGING_NETSNMP_CONFIG_FIXUP
>
> $(eval $(call AUTOTARGETS,package,netsnmp))
>
>

--00000000000029219b05741a7143
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Quentin,<div><br></div><div>Here is the output of those co=
mmands:</div><div><br></div><div><div><font face=3D"monospace, monospace">[=
root@Desk-r6 /]# net-snmp-config --netsnmp-agent-libs</font></div><div><fon=
t face=3D"monospace, monospace">-L/usr/lib -lnetsnmpmibs -lnetsnmpagent -ln=
etsnmp</font></div><div><font face=3D"monospace, monospace"><br></font></di=
v><div><font face=3D"monospace, monospace">[root@Desk-r6 /]# net-snmp-confi=
g --external-libs</font></div><div><font face=3D"monospace, monospace">-lcr=
ypto -lm</font></div><div><font face=3D"monospace, monospace"><br></font></=
div><div><font face=3D"monospace, monospace">[root@Desk-r6 /]# net-snmp-con=
fig --base-cflags</font></div><div><font face=3D"monospace, monospace">-fno=
-strict-aliasing -pipe -Os -fPIC -DPIC -D_LARGEFILE_SOURCE -D_LARGEFILE64_S=
OURCE -D_FILE_OFFSET_BITS=3D64 -Ulinux -Dlinux=3Dlinux -I/usr/include</font=
></div></div><div><br></div><div>I am using buildroot (<a href=3D"https://b=
uildroot.org/">https://buildroot.org/</a>) which created a linux OS for an =
embedded device, current kernel is 4.7.8=C2=A0</div><div>I&#39;ll look into=
 updating net-snmp, it may or may not be possible depending on what I find!=
</div><div><br></div><div>Cheers,</div><div><br></div><div>--</div><div>Pau=
l</div></div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On 2=
3 August 2018 at 13:08, Quentin Armitage <span dir=3D"ltr">&lt;<a href=3D"m=
ailto:[email protected]" target=3D"_blank">[email protected]</a=
>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 =
0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor=3D"#ffff=
ff" text=3D"#2e3436" link=3D"#2a76c6" vlink=3D"#2e3436"><div>Paul,</div><di=
v><br></div><div>Can you provide the output of the following commands:</div=
><div>net-snmp-config --netsnmp-agent-libs</div><div>net-snmp-config --exte=
rnal-libs</div><div>net-snmp-config --base-cflags</div><div><br></div><div>=
It looks as though the compiler is not liking the flags returned by net-snm=
p-config --base-cflags (see <a href=3D"http://configure.ac" target=3D"_blan=
k">configure.ac</a> around line 1440).</div><div><br></div><div>I presume y=
ou are running on Debian. What version of Debian is it?</div><div><br></div=
><div>That&#39;s a rather old version of net-snmp you have. Is it possible =
to use a more recent version?</div><span class=3D"HOEnZb"><font color=3D"#8=
88888"><div><br></div><div>Quentin Armitage</div></font></span><div><div cl=
ass=3D"h5"><div><br></div><div>On Thu, 2018-08-23 at 12:37 +0100, Paul Gild=
ea wrote:</div><blockquote type=3D"cite" style=3D"margin:0 0 0 .8ex;border-=
left:2px #729fcf solid;padding-left:1ex"><div dir=3D"ltr">I already have ne=
t-snmp built on my system. So I tried the --enable-snmp option with keepali=
ved and got the following error, anybody else had this issue?<div><br></div=
><div><br></div><div><br></div><div><font color=3D"#000000" face=3D"monospa=
ce, monospace"><span style=3D"font-size:12.8px">checking whether C compiler=
 supports flag &quot;-DNETSNMP_ENABLE_IPV6 -g -O2 -fstack-protector --param=
=3Dssp-buffer-size=3D4 -Wformat -Wformat-security -DNETSNMP_USE_INLINE -Uli=
nux -Dlinux=3Dlinux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasin=
g -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_=
OFFSET_BITS=3D64 -I/usr/lib/perl/5.14/CORE -D_FORTIFY_SOURCE=3D2 -I/usr/inc=
lude -DNETSNMP_NO_INLINE -L/usr/lib -lnetsnmpagent -lnetsnmphelpers -lnetsn=
mpmibs -lnetsnmp -Wl,-Bsymbolic-functions -Wl,-z,relro&quot; from Net-SNMP.=
.. no</span></font><table cellpadding=3D"0" class=3D"m_9211062854639754122g=
mail-ajC"></table><font color=3D"#000000" face=3D"monospace, monospace"><sp=
an style=3D"font-size:12.8px">configure: error: *** incorrect CFLAGS from n=
et-snmp-config</span></font><table cellpadding=3D"0" class=3D"m_92110628546=
39754122gmail-ajC"></table><font color=3D"#000000" face=3D"monospace, monos=
pace"><span style=3D"font-size:12.8px">make: *** [/media/vmpart/vrrp/buildr=
oot/<wbr>output/build/keepalived-2.0.5/<wbr>.stamp_configured] Error 1</spa=
n></font></div><div><font color=3D"#000000" face=3D"monospace, monospace"><=
span style=3D"font-size:12.8px"><br></span></font></div><div><font color=3D=
"#000000" face=3D"monospace, monospace"><span style=3D"font-size:12.8px"><b=
r></span></font></div><div><font color=3D"#000000" face=3D"monospace, monos=
pace"><span style=3D"font-size:12.8px"><br></span></font></div><div><font c=
olor=3D"#000000" face=3D"arial, helvetica, sans-serif"><span style=3D"font-=
size:12.8px">Is it looking for all=C2=A0of those options and libraries, or =
is there some minimum CLFAGS options I can add? I have nothing like those i=
n the netsnmp make file. I&#39;m currently experimenting but getting the sa=
me error.</span></font></div><div><font color=3D"#000000"><span style=3D"fo=
nt-size:12.8px"><font face=3D"monospace, monospace"><br></font></span></fon=
t></div><div><font color=3D"#000000"><span style=3D"font-size:12.8px"><font=
 face=3D"monospace, monospace"><br></font></span></font></div><div><font co=
lor=3D"#000000"><span style=3D"font-size:12.8px"><font face=3D"monospace, m=
onospace"><br></font></span></font></div><div><font color=3D"#000000"><font=
 face=3D"monospace, monospace"><div><span style=3D"font-size:12.8px">######=
########################<wbr>##############################<wbr>#</span></d=
iv><div><span style=3D"font-size:12.8px">#</span></div><div><span style=3D"=
font-size:12.8px"># netsnmp</span></div><div><span style=3D"font-size:12.8p=
x">#</span></div><div><span style=3D"font-size:12.8px">####################=
##########<wbr>##############################<wbr>#</span></div><div><span =
style=3D"font-size:12.8px"><br></span></div><div><span style=3D"font-size:1=
2.8px">NETSNMP_VERSION =3D 5.6.2</span></div><div><span style=3D"font-size:=
12.8px">NETSNMP_SITE =3D http://$(BR2_SOURCEFORGE_<wbr>MIRROR).<a href=3D"h=
ttp://dl.sourceforge.net/sourceforge/net-snmp" target=3D"_blank">dl.sourcef=
orge.net/<wbr>sourceforge/net-snmp</a></span></div><div><span style=3D"font=
-size:12.8px">NETSNMP_SOURCE =3D net-snmp-$(NETSNMP_VERSION).<wbr>tar.gz</s=
pan></div><div><span style=3D"font-size:12.8px">NETSNMP_INSTALL_STAGING =3D=
 YES</span></div><div><span style=3D"font-size:12.8px">NETSNMP_CONF_ENV =3D=
 ac_cv_NETSNMP_CAN_USE_SYSCTL=3D<wbr>yes</span></div><div><span style=3D"fo=
nt-size:12.8px">NETSNMP_CONF_OPT =3D --with-persistent-directory=3D/<wbr>va=
r/lib/snmp --disable-static \</span></div><div><span style=3D"font-size:12.=
8px"><span style=3D"white-space:pre-wrap">		</span>--with-defaults --enable=
-mini-agent --without-rpm \</span></div><div><span style=3D"font-size:12.8p=
x"><span style=3D"white-space:pre-wrap">		</span>--with-logfile=3Dnone --wi=
thout-kmem-usage $(DISABLE_IPV6) \</span></div><div><span style=3D"font-siz=
e:12.8px"><span style=3D"white-space:pre-wrap">		</span>--enable-as-needed =
--disable-debugging --without-perl-modules \</span></div><div><span style=
=3D"font-size:12.8px"><span style=3D"white-space:pre-wrap">		</span>--disab=
le-embedded-perl --disable-perl-cc-checks \</span></div><div><span style=3D=
"font-size:12.8px"><span style=3D"white-space:pre-wrap">		</span>--disable-=
scripts --with-default-snmp-version=3D&quot;<wbr>1&quot; \</span></div><div=
><span style=3D"font-size:12.8px"><span style=3D"white-space:pre-wrap">		</=
span>--enable-silent-libtool --enable-mfd-rewrites \</span></div><div><span=
 style=3D"font-size:12.8px"><span style=3D"white-space:pre-wrap">		</span>-=
-with-sys-contact=3D&quot;root@<wbr>localhost&quot; \</span></div><div><spa=
n style=3D"font-size:12.8px"><span style=3D"white-space:pre-wrap">		</span>=
--with-sys-location=3D&quot;Unknown&quot; \</span></div><div><span style=3D=
"font-size:12.8px"><span style=3D"white-space:pre-wrap">		</span>--with-mib=
-modules=3D&quot;default_<wbr>modules agent_mibs notification target utilit=
ies disman/event disman/schedule agentx util_funcs mibII/system_mib snmpv3m=
ibs ucd_snmp smux&quot;</span></div><div><span style=3D"font-size:12.8px">#=
--with-out-mib-modules=3D&quot;<wbr>default_modules mibII agent_mibs notifi=
cation target utilities disman/event disman/schedule host&quot; \</span></d=
iv><div><span style=3D"font-size:12.8px"><span style=3D"white-space:pre-wra=
p">		</span>--with-mib-modules=3D&quot;agentx util_funcs mibII/system_mib s=
nmpv3mibs ucd_snmp&quot;</span></div><div><span style=3D"font-size:12.8px">=
#util_funcs/Exit util_funcs/restart</span></div><div><span style=3D"font-si=
ze:12.8px">#<span style=3D"white-space:pre-wrap">		</span>--with-mib-module=
s=3D&quot;host ucd-snmp/dlmod disman/event disman/schedule utilities agentx=
 smux&quot;=C2=A0</span></div><div><span style=3D"font-size:12.8px">NETSNMP=
_BLOAT_MIBS =3D BRIDGE EtherLike RFC-1215 RFC1155-SMI RFC1213 SCTP SMUX</sp=
an></div><div><span style=3D"font-size:12.8px"><br></span></div><div><span =
style=3D"font-size:12.8px">ifeq ($(BR2_ENDIAN),&quot;BIG&quot;)</span></div=
><div><span style=3D"font-size:12.8px"><span style=3D"white-space:pre-wrap"=
>	</span>NETSNMP_CONF_OPT +=3D --with-endianness=3Dbig</span></div><div><sp=
an style=3D"font-size:12.8px">else</span></div><div><span style=3D"font-siz=
e:12.8px"><span style=3D"white-space:pre-wrap">	</span>NETSNMP_CONF_OPT +=
=3D --with-endianness=3Dlittle</span></div><div><span style=3D"font-size:12=
.8px">endif</span></div><div><span style=3D"font-size:12.8px"><br></span></=
div><div><span style=3D"font-size:12.8px"># OpenSSL</span></div><div><span =
style=3D"font-size:12.8px">ifeq ($(BR2_PACKAGE_OPENSSL),y)</span></div><div=
><span style=3D"font-size:12.8px"><span style=3D"white-space:pre-wrap">	</s=
pan>NETSNMP_DEPENDENCIES +=3D openssl</span></div><div><span style=3D"font-=
size:12.8px"><span style=3D"white-space:pre-wrap">	</span>NETSNMP_CONF_OPT =
+=3D \</span></div><div><span style=3D"font-size:12.8px"><span style=3D"whi=
te-space:pre-wrap">		</span>--with-openssl=3D$(STAGING_DIR)/<wbr>usr/includ=
e/openssl</span></div><div><span style=3D"font-size:12.8px">else</span></di=
v><div><span style=3D"font-size:12.8px"><span style=3D"white-space:pre-wrap=
">	</span>NETSNMP_CONF_OPT +=3D --without-openssl</span></div><div><span st=
yle=3D"font-size:12.8px">endif</span></div><div><span style=3D"font-size:12=
.8px"><br></span></div><div><span style=3D"font-size:12.8px"># Docs</span><=
/div><div><span style=3D"font-size:12.8px">ifneq ($(BR2_HAVE_DOCUMENTATION)=
,y)</span></div><div><span style=3D"font-size:12.8px"><span style=3D"white-=
space:pre-wrap">	</span>NETSNMP_CONF_OPT +=3D --disable-manuals</span></div=
><div><span style=3D"font-size:12.8px">endif</span></div><div><span style=
=3D"font-size:12.8px"><br></span></div><div><span style=3D"font-size:12.8px=
"># Remove IPv6 MIBs if there&#39;s no IPv6</span></div><div><span style=3D=
"font-size:12.8px">ifneq ($(BR2_INET_IPV6),y)</span></div><div><span style=
=3D"font-size:12.8px">define NETSNMP_REMOVE_MIBS_IPV6</span></div><div><spa=
n style=3D"font-size:12.8px"><span style=3D"white-space:pre-wrap">	</span>r=
m -f $(TARGET_DIR)/usr/share/snmp/<wbr>mibs/IPV6*</span></div><div><span st=
yle=3D"font-size:12.8px">endef</span></div><div><span style=3D"font-size:12=
.8px">endif</span></div><div><span style=3D"font-size:12.8px"><br></span></=
div><div><span style=3D"font-size:12.8px">define NETSNMP_INSTALL_TARGET_CMD=
S</span></div><div><span style=3D"font-size:12.8px"><span style=3D"white-sp=
ace:pre-wrap">	</span>$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \</span></div><di=
v><span style=3D"font-size:12.8px"><span style=3D"white-space:pre-wrap">		<=
/span>DESTDIR=3D$(TARGET_DIR) install</span></div><div><span style=3D"font-=
size:12.8px"><span style=3D"white-space:pre-wrap">	</span>$(INSTALL) -D -m =
0755 package/netsnmp/S59snmpd \</span></div><div><span style=3D"font-size:1=
2.8px"><span style=3D"white-space:pre-wrap">		</span>$(TARGET_DIR)/etc/init=
.d/<wbr>S59snmpd</span></div><div><span style=3D"font-size:12.8px"><span st=
yle=3D"white-space:pre-wrap">	</span>for mib in $(NETSNMP_BLOAT_MIBS); do \=
</span></div><div><span style=3D"font-size:12.8px"><span style=3D"white-spa=
ce:pre-wrap">		</span>rm -f $(TARGET_DIR)/usr/share/snmp/<wbr>mibs/$$mib-MI=
B.txt; \</span></div><div><span style=3D"font-size:12.8px"><span style=3D"w=
hite-space:pre-wrap">	</span>done</span></div><div><span style=3D"font-size=
:12.8px"><span style=3D"white-space:pre-wrap">	</span>$(NETSNMP_REMOVE_MIBS=
_IPV6)</span></div><div><span style=3D"font-size:12.8px">endef</span></div>=
<div><span style=3D"font-size:12.8px"><br></span></div><div><span style=3D"=
font-size:12.8px">define NETSNMP_UNINSTALL_TARGET_CMDS</span></div><div><sp=
an style=3D"font-size:12.8px"><span style=3D"white-space:pre-wrap">	</span>=
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \</span></div><div><span style=3D"font-=
size:12.8px"><span style=3D"white-space:pre-wrap">		</span>DESTDIR=3D$(TARG=
ET_DIR) uninstall</span></div><div><span style=3D"font-size:12.8px"><span s=
tyle=3D"white-space:pre-wrap">	</span>rm -f $(TARGET_DIR)/etc/init.d/<wbr>S=
59snmpd</span></div><div><span style=3D"font-size:12.8px"><span style=3D"wh=
ite-space:pre-wrap">	</span>rm -f $(TARGET_DIR)/usr/lib/<wbr>libnetsnmp*</s=
pan></div><div><span style=3D"font-size:12.8px">endef</span></div><div><spa=
n style=3D"font-size:12.8px"><br></span></div><div><span style=3D"font-size=
:12.8px">define NETSNMP_STAGING_NETSNMP_<wbr>CONFIG_FIXUP</span></div><div>=
<span style=3D"font-size:12.8px"><span style=3D"white-space:pre-wrap">	</sp=
an>$(SED) &quot;s,^prefix=3D.*,prefix=3D\&#39;$(<wbr>STAGING_DIR)/usr\&#39;=
,g&quot; \</span></div><div><span style=3D"font-size:12.8px"><span style=3D=
"white-space:pre-wrap">		</span>-e &quot;s,^exec_prefix=3D.*,exec_<wbr>pref=
ix=3D\&#39;$(STAGING_DIR)/usr\&#39;,<wbr>g&quot; \</span></div><div><span s=
tyle=3D"font-size:12.8px"><span style=3D"white-space:pre-wrap">		</span>-e =
&quot;s,^includedir=3D.*,includedir=3D\<wbr>&#39;$(STAGING_DIR)/usr/include=
\&#39;,<wbr>g&quot; \</span></div><div><span style=3D"font-size:12.8px"><sp=
an style=3D"white-space:pre-wrap">		</span>-e &quot;s,^libdir=3D.*,libdir=
=3D\&#39;$(<wbr>STAGING_DIR)/usr/lib\&#39;,g&quot; \</span></div><div><span=
 style=3D"font-size:12.8px"><span style=3D"white-space:pre-wrap">		</span>$=
(STAGING_DIR)/usr/bin/net-<wbr>snmp-config</span></div><div><span style=3D"=
font-size:12.8px">endef</span></div><div><span style=3D"font-size:12.8px"><=
br></span></div><div><span style=3D"font-size:12.8px">NETSNMP_POST_INSTALL_=
STAGING_<wbr>HOOKS +=3D NETSNMP_STAGING_NETSNMP_<wbr>CONFIG_FIXUP</span></d=
iv><div><span style=3D"font-size:12.8px"><br></span></div><div><span style=
=3D"font-size:12.8px">$(eval $(call AUTOTARGETS,package,netsnmp))</span></d=
iv></font></font><table cellpadding=3D"0" class=3D"m_9211062854639754122gma=
il-ajC"></table></div></div>
<pre></pre><pre></pre></blockquote></div></div></div></blockquote></div><br=
></div>

--00000000000029219b05741a7143--


--===============1209237243532172792==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
--===============1209237243532172792==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Keepalived-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/keepalived-devel

--===============1209237243532172792==--