[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[microblaze-uclinux] net-snmp & uClinux on Microblaze
- To: microblaze-uclinux@xxxxxxxxxxxxxx
- Subject: [microblaze-uclinux] net-snmp & uClinux on Microblaze
- From: Sridhar Addagada <asridhars@xxxxxxxxx>
- Date: Mon, 19 Dec 2005 18:28:25 +0530
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=NlgvhqOVnyEDSJyHzCc83hXVzKiRsf1+Ac4OkgMVezAVmrWO12DVfn71sb41pg3sjIdI0RFrHNQNJi8HHeUjdbQjTWXA7M9gU5UbnYUqS9hLnEOXM2rHJ+BvVCAlJPpCeKyE4/sIdLBwjNPAwi7jDv/B6ojcY76LHKNRyO5GcHs=
- Reply-to: microblaze-uclinux@xxxxxxxxxxxxxx
- Sender: owner-microblaze-uclinux@xxxxxxxxxxxxxx
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
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/