Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
14 years ago

[Linux/MMU] net-snmp compilation problem

Hi All,

I need SNMP for my project, but I get the internal compiler error described by kazuyasu (http://www.alteraforum.com/forum/member.php?u=26618) in http://www.alteraforum.com/forum/showpost.php?p=105753&postcount=7 (excepted that it fails with another file for me).

How can one modify the CFLAGS options passed to the net-snmp build?

I have modified net-snmp-5.2.1/Makefile.top to add '-fno-tree-loop-optimize' in the '.c.lo' rule, but I don't know if it is very clean...

By the way, the Snmp Wiki http://www.alterawiki.com/wiki/netsnmp has a mistake because 'snmpd -c public' is incorrect. One can see that with '-Le':

--- Quote Start ---

root:/> snmpd -Le -c public

public: no such file or directory

--- Quote End ---

Thanks in advance,

Fred
No RepliesBe the first to reply