Edited net-snmp cross-compilation

Hello,

I'm using net-snmp on OVH's OverTheBox devices (custom OpenWrt) this is working but I need to make some changes. Indeed, OVH's command otb-status show the status of internet links and I'd like net-snmp to tell me if a link goes down. To do this, I edited net-snmp source files but I couldn't cross-compile those files to an ipk package, and I couldn't either compile those files directly on the OTB as there's not enough storage for gcc.

Any help is greatly appreciated

Regards