Re: too many imported symbols
Eric Zuck <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
On 1/28/19 11:07 PM, Ken Barclay wrote:
> Hi,
>
> Getting the above error with a Huawei MIB.
> I found a solution from 2007 that says,
>
> "Change MAX_IMPORTS on line 3552 of snmplib/parse.c from 256 to something
> like 512 instead"
>
> However, snmplib/parse.c doesn't seem to exist in my system. Any idea
> how I can get past this hurdle?
> net-snmp-5.7.2-33.el7_5.2.x86_64
> CentOS Linux release 7.5.1804
net-snmp-5.7.2-33.el7_5.2.x86_64 would be the binary RPM package. If you
want to modify snmplib/parse.c, you probably want the source RPM.
One way to get it is via yum:
sudo yum install yum-utils
yumdownloader --source net-snmp
On my Centos 7 box, this gives me net-snmp-5.7.2-37.el7.src.rpm
Then you will need to rebuild it. The following link may be useful, but
I haven't tried it:
https://wiki.centos.org/HowTos/RebuildSRPM
I suspect it may be easier to start with upstream, though:
http://www.net-snmp.org/download.html
Regards,
-Eric
>
> Best regards,
>
> Ken
>
>
> _______________________________________________
> Net-snmp-users mailing list
> [email protected]
> Please see the following page to unsubscribe or change other options:
> https://lists.sourceforge.net/lists/listinfo/net-snmp-users
>
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users