Hello,
I have been trying to compile net-snmp to run on uClinux system on
ML401 board.  The make was exiting with an error "Invalid
configuration mb not  recognized".  This i traced to the config.sub.
In this file I made a change in the that file.  Here is the output of
the diff with the original file.

$ diff config.sub config.sub.org
276,279d275
<       mb)
<               # Xilinx Microblaze.
<               basic_machine=$basic_machine-unknown
<               ;;
$

After this change i was able to compile and the snmpd was getting
included in the image.bin.  I want to know from the experts if the
change was make in the right place?

Now that question out of way, i have another small issue.  Now i got
the snmpd binary, but when i try to run it, it exits with error 1.
This is possible because the snmpd is not able to file the snmp.conf
and snmpd.conf files to load the configuration. looking at the
makefile in uClinux-dist/user/net-snmp, looks like these need to be
added under the target romfs:
when any of the application is selected specially CONFIG_USER_NETSNMP_SNMPD

My question here is, should i change the makefile or is there any
otherway some implemented... I specially do not want to reinvent the
wheel.

Thanks,
Sridhar


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to