Ad Widget

Collapse

[1.3.4] Compiler warnings --with-net-snmp

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • NOB
    Senior Member
    Zabbix Certified Specialist
    • Mar 2007
    • 469

    #1

    [1.3.4] Compiler warnings --with-net-snmp

    Hi,

    I compiled 1.3.4 on FreeBSD 6.1 --with-net-snmp.

    The compiler issued warnings for the following symbols/macros:
    "PACKAGE_NAME"
    "PACKAGE_BUGREPORT"
    "PACKAGE_STRING"
    "PACKAGE_TARNAME"
    "PACKAGE_VERSION"

    The PACKAGE... macros are all empty (in include/config.h)
    are in conflict with net-snmp
    (Version 5.2.2, file: /usr/local/include/net-snmp/net-snmp-config.h).

    I can not decide whether this is harmful or not.
    Perhaps a rename to something like ZBX_PACKAGE_VERSION would be fine
    or is it created by one of the auto-tools (configure) ?
    It might even be a mistake in Net-SNMP to expose that to the "public".

    Regards,

    Norbert.
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    I've seen this under Ubuntu Linux but it is already fixed. It is time to pay attention to FreeBSD as well
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    Working...