Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Valued Contributor III
813 Views

Let's discuss how to run SNMP on nios-uclinux

[B] 

Hi all in this forum and those who interested in NIOS and uclinux and snmp, 

I'd like to open this topic to discuss how to run snmp in nios+uclinux system. 

================= 

Actually, I have successfully run snmp in quick-linux + intel cpu. 

But now, I 'd like to run snmp in nios + uclinux. 

Following is my steps, 

1) download ucd-snmp 4.2.1.tar 

2) open nios2 shell and tar -xvf ucd-snmp.4.2.1.tar 

3) ./configure --prefix=/abc --with-mib-modules="example" --host=nios2-linux -- with-cc=nios2-elf-gcc --disable-shared -enable-static --with-endianness=little 

4) make 

5) make install 

 

But I find that when I finish step 4 (make), some errors come out and indicate that the lib is not right.  

So the snmpd and other exe format files are not generated. 

 

Who can help me to figure out what's wrong with my steps? 

By the way, I am fresh in the filed of NIOS and uclinux, but I am strongly interested in it. 

 

So anybody can help me? 

THANKS all of you!
0 Kudos
1 Reply
Highlighted
Valued Contributor III
10 Views

 

--- Quote Start ---  

originally posted by ccylei@Apr 8 2006, 04:42 PM 

 

Hi all in this forum and those who interested in NIOS and uclinux and snmp, 

I'd like to open this topic to discuss how to run snmp in nios+uclinux system. 

================= 

Actually, I have successfully run snmp in quick-linux + intel cpu. 

But now, I 'd like to run  snmp in nios + uclinux. 

Following is my steps, 

1) download ucd-snmp 4.2.1.tar 

2) open nios2 shell and tar -xvf ucd-snmp.4.2.1.tar 

3) ./configure --prefix=/abc --with-mib-modules="example" --host=nios2-linux --    with-cc=nios2-elf-gcc --disable-shared -enable-static --with-endianness=little 

4) make 

5) make install 

 

But I find that when I finish step 4 (make), some errors come out and indicate that the lib is not right.  

So the snmpd and other exe format files are not generated. 

 

Who can help me to figure out what's wrong with my steps? 

By the way, I am fresh in the filed of NIOS and uclinux, but I am strongly interested in it. 

 

So anybody can help me? 

THANKS all of you! 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=14143) 

--- Quote End ---  

[/b] 

--- Quote End ---  

 

tschmelcher had a post on it, 

Building net-snmp for uClinux in FLT format 

http://forum.niosforum.com/forum/index.php...ic=3186&hl=snmp (http://forum.niosforum.com/forum/index.php?showtopic=3186&hl=snmp

 

there is also a port on uClinux-dist user apps, see step14 in, 

http://forum.niosforum.com/forum/index.php?showtopic=3174 (http://forum.niosforum.com/forum/index.php?showtopic=3174)
0 Kudos