Hi Robert,
thank you for your answer. In the meanwhile my goal has been refocused. I
explained to my supervisor that removing v3 doesn't simplify my work but
conversely adds more complexity while removing functionality from our device,
so we're keeping the v3.
So I relaunched the configure script with the appropriate flags and I'm
re-importing the source on Eclipse file by file.
At the moment I'm not having specific trouble and I'm trying to leave the
source code as original as possible.
I'll write again shall I find myself stuck somewhere.
In the meantime, thanks again
MF
-----Original Message-----
From: NetSNMP Mailbox [mailto:net-snmp-m...@freesnmp.com] On Behalf Of Robert
Story
Sent: lunedì 25 aprile 2016 19:41
To: Moreno Floris <moreno.flo...@telit.com>
Cc: net-snmp-coders@lists.sourceforge.net
Subject: Re: Help porting net-snmp to an embedded platform
On Wed, 13 Apr 2016 08:53:51 +0000 Moreno wrote:
MF> first of all I'd like to make sure I'm writing in the correct
MF> mailing list. The fact is I'm not developing an external application
MF> nor am I improving net-snmp code in any way.
You're in the right place.
MF> At this stage, everything works. So now comes the fiddly part.
MF> I have to simplify the code removing all the v3 stuff, including
MF> openssl and so on. Then I'll have to replace all the functions that
MF> differ from our architecture but that's still pretty far away now.
MF>
MF> So my first question is: is removing all the v3 code feasible?
MF> Where do I start?
Do you actually need to remove it? You can set some defines in the header and
it won't be compiled in.
MF> My second question is: what does lcd_time.c do? I went ahead and
MF> removed some of the v3 code but in this file the separation between
MF> the versions seems foggy and I'm not sure I can dispose of lcd_time
MF> that easily.
I took a quick look, and it all looks like stuff related to engine time, so it
should be safe to exclude. Again, though, I'd use defines instead of deleting
the code.
Robert
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders