On 03/06/2005 09:26:58, Matthew Boehm wrote:
> Robert Story wrote:
> 
> > You have two options:
> >
> > 1) trim down header files in files that hit the conflict (ie don't
> > include the net-snmp parse.h)
> >
> > 2) patch net-snmp to rename the function. It's only used in one
> > files, so it should be a simple fix.

Or to wrap the function call in a function of your own name, in a
seperate .o file, and link those together. So, the conflicting headers
are in seperate C files, and don't share symbol names at link time.

I was sure you could avoid this by specifying some linker magic,
instead, though...

-- 
Tom


-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to