On Thu, 09 Jun 2005 10:37:37 +0200 Thomas wrote:
TA> As you said, the question now is how to *properly* (best) fix our build
TA> system.
If the header definition isn't getting picked up, does this imply that net-snmp
is not detecting the native implementation, and is using the version in
snmplib?
In cvs MAIN, someone added a define of __EXTENSIONS__ in
net-snmp/system/solaris.h. This does not appear to have made it into 5.0.x. A
quick google turned this up in a man page for 'standards':
Feature Test Macros
Feature test macros are used by applications to indicate
additional sets of features that are desired beyond those
specified by the C standard. If an application uses only
those interfaces and headers defined by a particular stan-
dard (such as POSIX or X/Open CAE), then it need only
define the appropriate feature test macro specified by that
standard. If the application is using interfaces and headers
not defined by that standard, then in addition to defining
the appropriate standard feature test macro, it must also
define __EXTENSIONS__. Defining __EXTENSIONS__ provides the
application with access to all interfaces and headers not in
conflict with the specified standard. The application must
define __EXTENSIONS__ either at compile time or within the
applicatio'n source files.
Seems safe enough to me...
--
NOTE: messages sent directly to me, instead of the lists, will be deleted
unless they are requests for paid consulting services.
Robert Story; NET-SNMP Junkie
Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders>
You are lost in a twisty maze of little standards, all different.
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders