Re: Net-snmp 5.7.3
Bart Van Assche <[email protected]>
| Newsgroups | gmane.network.net-snmp.devel |
|---|---|
| Message-ID | <[email protected]> |
On 2020-01-30 21:17, Philippe DENIS via Net-snmp-coders wrote: > Hello, > > When building my sub agent in the same way than the sub-agent example, I got some errors during the compilation; > u_char, u_long, u_short error unknown types. > > Have you experienced this issue ? > The Linux version is a Linux from scratch (LFS) distribution. I’ve tried to find in the LFS distribution where is located this definition but not succeeded. > > Doing the same process in a Debian Virtual machine, the compilation succeeded > > I’m quite lost. How about adding the following at the top of the sub-agent source code: #define _BSD_SOURCE #include <sys/types.h> Bart. _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders