On 28 December 2011 09:07, Ravi Kumar <[email protected]> wrote: > I want to compile helper_complex.c with gcc and make binary of it. > I know this file has main function and can run independently for testing. > Can any one let me know how can i do this ?
I think it's fair to assume that this has not been tried in over ten years. There's a fairly blatant error in the code of the header_complex_dump() routine, which will clearly not compile (since the fifth parameter is missing a file name!). Checking the SVN logs, this code has been broken in this way since December 1999. As far as I can remember, the 'header_complex' approach was an early attempt to provide a more flexible mechanism for extending the UCD agent, to address MIB tables where the 'header_simple' assumptions did not hold. Since then, the newer v5 handler-based mechanisms have completely taken over, and there's probably no point in looking at using header_complex for new MIB implementations. It's dead - forget about it. Dave ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
