Dear usrers??
     
    I am trying to run snmpd in powerpc 852  through cross- compile. The 
version of net-snmp I used is 5.2.1. the operate system of host I used is 
Fedora 3.

 The steps I followed is :
   (1 ) set the environment variable
        $ CC=powerpc-linux-gcc
        $ export CC
        $ AR=powerpc-linux-ar
        $ export AR
(2 ) configure and install the NET-SNMP:
       $ ./configure ?Chost =powerpc-linux ?Cwith-endianness=little 
?Cprefix=/test    ?Cexec-prefix=/test    
       $ make
       $ make install
   (3) then all of the files are installed in the /test directory
       $ cd /test
       $ ls
       bin lib sbin include man share
    (4) opening up the target machine(powerpc 852) through the ??minicom??
       in the minicom I typed 
       # mount ?Ct nfs ***.***.**.**:/test /test
    (5 ) then I try to run the snmpd in the target machine, in the ??minicom?? 
I typed :
       # cd  /test/sbin
       # ./snmpd 
      
    I got :
        ??nfs: ***.***.**.** server not responding  still trying??

     I want to know how can I run the snmpd in the target machine(ppc 852) 
throught cross-compile. 
       

        

????????Yours Sincerely
                  Yuwei Qin
????????????????yuwei_qin at photontec.com
????????????????????2005-04-26

Reply via email to