On Fri, 18 Jun 2004 17:10:21 +0200 Flameeyes wrote:
F> Why oh why I need to include before the config.h.in-generated file?

At the moment, the problem is that use of some of the defines from
net-snmp-config.h have crept into some of the other headers, thus creating a
dependency.

The work-around is documented here:

   http://www.net-snmp.org/tutorial-5/toolkit/autoconf/index.html

To fix it, we have two options:

1) have configure generate two header files - a private one which defines the
conflicting symbols (PACKAGE_BUGREPORT, PACKAGE_NAME, PACKAGE_STRING,
PACKAGE_TARNAME, PACKAGE_VERSION), and a public one which has everything else.
This still won't help if a second package has a config.h that tests for some of
the same headers/libraries/functions.

2) eliminate the dependency by fixing all installed headers which reference
symbols from net-snmp-config.h. The current list of symbols and the headers
they appear in can be found here:

   http://www.net-snmp.org/faqs/rstory/headers-which-ref-config.txt

-- 
Robert Story; NET-SNMP Junkie <http://www.net-snmp.org/>
<irc://irc.freenode.net/#net-snmp>  
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users>

You are lost in a twisty maze of little standards, all different. 


-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
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

Reply via email to