Hi,

I have an application running under uclinux on a Motorola Coldfire ARM 
platform, to which I want to add a SNMP sub agent to.
I have run make menuconfig to add the SNMP module, and this has built 
successfully (when I select mini agent). This created .a files in the various 
build /.lib directories.
I can see that it ran the net-snmp .configure. during the uclinux make. 

I am now a little confused as to what to do next as I can't run the MIB2C from 
the uclinux package as it cannot find the perl module. I downloaded the 1.8  
perl module from cpan, and tried perl Makefile.PL and that complained that the 
SNMP module is not installed.

Do you know if the uclinux make, should install the net-snmp module in the same 
way as if I installed net-snmp on it's own on a unix machine? It appears not to 
do so. Do I need to install the perl module as well? 

I did install a win 5.4.1 binary version onto my PC and used MIB2C to create 
some .c and .h template files for my MIB. I have been trying to build these 
into my application on my unix machine but I keep getting undefined references 
to SNMP code even though I have copied the .a files to /usr/local/lib and set 
-L and -I's to point to these library files in my makefile.

As you can gather, I am a little confused about the whole process of adding a 
sub agent to my embedded application.
Also if I want to upgrade the uclinux snmp package do I need to use the latest 
uclinux download or can I use the latest version from your site and overwrite 
the old net-snmp within the uclinux directories. I assume the build will create 
the files for my platform, as the CC is set in the uclinux makefile.

Any help on this process and requirements for my Makefile would be appreciated.

Regards,

Steve McCarthy


Advantech AMT Ltd, registered in the UK as company number 04229560 at 4A 
Newmarket Road, Cambridge, CB5 8DT



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to