Port to embedded platform

"Joan Landry" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <A9FCB77F97940A418A61FD9BB71E4170013A5C09@dexbe012-6.exch012.intermedia.net>
I am trying to port net-snmp to an embedded platform and have been able to use ./configure and make to cross compile the code.

Now I am not sure what the next step is. I see there are directories that contain libnetsnmpagent.la  libnetsnmp.la  libnetsnmpmibs.la  libnetsnmptrapd.la  libsnmp.la
But it is not clear to me what files I need and how to link them into my system.

Can anyone tell me where I can find an example of this? Or give me any pointers on what to do next.

I want to be able to call the folling functions from my subagent.
    init_agent()
    init_mib_modules()
    init_snmp()
    init_master_agent()

I appreciate any info.
thanks

-----Original Message-----
From: Dave Shield [mailto:[email protected]] 
Sent: Tuesday, June 16, 2009 5:42 AM
To: Kahle, Michael (EXT)
Cc: [email protected]
Subject: Re: small agent

2009/6/16 Kahle, Michael (EXT) <[email protected]>:
> I want to port Net-SNMP to an embedded plattform and I just need 
> SNMPv1,SNMPv2c and MIBII.

Please see the FAQ entry
    How can I reduce the memory footprint?
        http://www.net-snmp.org/wiki/index.php/FAQ:Compiling_04


> Unfortunatly, I can not use ./configure on the system and so I have to 
> know which files (*.c, *.h) are essential to create such a small agent.

I'm no expert on embedded systems, but surely you would be running "configure" and cross-compiling on some other system.
Then move the compiled binaries/libraries onto the embedded platform.
I'm surprised you seem to be compiling directly on this platform.


Dave

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.