I got informed that in Debian, they copy a bunch of .h files after "make
install", including
this struct.h file. In debian/rules, there is:

common-install-arch:: $(PYVERS:%=debian/python-install-stamp-%)
        # Install the "broke" headers
        cp agent/mibgroup/struct.h debian/tmp/usr/include/net-snmp/agent
        cp agent/mibgroup/util_funcs.h debian/tmp/usr/include/net-snmp
        cp agent/mibgroup/mibincl.h
debian/tmp/usr/include/net-snmp/library
        cp agent/mibgroup/header_complex.h
debian/tmp/usr/include/net-snmp/agent




________________________________

Von: Hanig, Michael [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 21. November 2008 10:52
An: [email protected]
Betreff: "missing" struct.h @ util_funcs.h



Hello there,

I wondered if the line

#include "struct.h"

in file util_funcs.h (found at /usr/local/include/net-snmp/agent/)
shouldn't be there. I got an error compiling a subagent pointing out,
that there is no struct.h; so I removed the line and everything works
okay (compilation & running the subagent).

* * *
Hirschmann Automation and Control GmbH, Neckartenzlingen
Register court: Stuttgart, Trade register No.: HRB 225927
VAT No.: DE 814 212 604
President: Dr. Wolfgang Babel
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to