troglobit / mini-snmpd

A minimal SNMP agent implementation
https://troglobit.com/projects/mini-snmpd/
GNU General Public License v2.0
69 stars 36 forks source link

linux.c/<ifaddrs.h> broken compatibility with arm #24

Closed negan07 closed 3 years ago

negan07 commented 3 years ago

the latest versions 1.5 & 1.6 can break compatibility with some arm devices due to getifaddrs() function miss had to rollback some code with previous socket() & ioctl() usage mini-snmpd-1.6-002-linux_reverting_ifaddrs_lib_usage.zip hoping this can help some users

troglobit commented 3 years ago

Not sure what to do with this. It's nothing I can merge and the issue itself is not really related to "arm devices", but rather missing or not working getifaddrs() in the operating system. More specifically the C-library. I'm guessing your system is an embedded one, which makes it likely use one of the smaller C-libs, like uClibc or musl libc. Both have had issues with getifaddrs() in the past. This type of version matching of components is one of the most tedious things when composing a working system.

I'm going to close this, future users can still find it googling, but I cannot justify keeping this an open issue against current mini-snmpd.