[Xorp-hackers] compiling error in Fedora 2

Liang Qin lqin@sce.carleton.ca
Tue, 24 Aug 2004 15:16:27 -0400


This is a multi-part message in MIME format.
--------------080704030502030207070706
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Hi XORP users,

I got an error when I compile XORP 1.0 in Fedora core 2 (kernel 2.6.5-1.358)

I attach part of message here.

Thanks!

Liang Qin

--------------080704030502030207070706
Content-Type: text/plain;
 name="gmakeError"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="gmakeError"

/bin/sh: line 1: net-snmp-config: command not found
bgp4_mib_1657.cc:18:38: net-snmp/net-snmp-config.h: No such file or directory
bgp4_mib_1657.cc:19:40: net-snmp/net-snmp-includes.h: No such file or directory
bgp4_mib_1657.cc:20:52: net-snmp/agent/net-snmp-agent-includes.h: No such file or directory
In file included from bgp4_mib_1657.cc:28:
bgp4_mib_1657_bgpversion.hh:27: error: 'Netsnmp_Node_Handler' is used as a
   type, but is not defined as a type.
In file included from bgp4_mib_1657.cc:29:
bgp4_mib_1657_bgplocalas.hh:27: error: 'Netsnmp_Node_Handler' is used as a
   type, but is not defined as a type.
In file included from bgp4_mib_1657.cc:30:
bgp4_mib_1657_bgpidentifier.hh:25: error: 'Netsnmp_Node_Handler' is used as a
   type, but is not defined as a type.
In file included from bgp4_mib_1657.cc:31:
bgp4_mib_1657_bgppeertable.hh:22: error: 'Netsnmp_Node_Handler' is used as a
   type, but is not defined as a type.
bgp4_mib_1657_bgppeertable.hh:24: error: 'Netsnmp_First_Data_Point' is used as
   a type, but is not defined as a type.
bgp4_mib_1657_bgppeertable.hh:25: error: 'Netsnmp_Next_Data_Point' is used as a
   type, but is not defined as a type.
In file included from bgp4_mib_1657.cc:32:
bgp4_mib_1657_bgp4pathattrtable.hh:26:38: net-snmp/net-snmp-config.h: No such file or directory
In file included from bgp4_mib_1657_bgp4pathattrtable.hh:31,
                 from bgp4_mib_1657.cc:32:
patched_container.h:12:2: #error "Please include <net-snmp/net-snmp-config.h> before this file"
patched_container.h:15:28: net-snmp/types.h: No such file or directory
patched_container.h:16:38: net-snmp/library/factory.h: No such file or directory
In file included from bgp4_mib_1657_bgp4pathattrtable.hh:31,
                 from bgp4_mib_1657.cc:32:
patched_container.h:76: error: syntax error before `*' token
patched_container.h:149: error: syntax error before `*' token
patched_container.h:193: error: type specifier omitted for parameter `
   netsnmp_factory'
patched_container.h:193: error: syntax error before `*' token
patched_container.h:382: error: syntax error before `*' token
patched_container.h:391: error: type specifier omitted for parameter `
   netsnmp_container_set'
patched_container.h:391: error: syntax error before `*' token
In file included from bgp4_mib_1657.cc:32:
bgp4_mib_1657_bgp4pathattrtable.hh:34:40: net-snmp/agent/table_array.h: No such file or directory
In file included from bgp4_mib_1657.cc:32:
bgp4_mib_1657_bgp4pathattrtable.hh:51: error: syntax error before `[' token
bgp4_mib_1657.cc: In function `void init_bgp4_mib_1657()':
bgp4_mib_1657.cc:42: error: `DEBUGMSGTL' undeclared (first use this function)
bgp4_mib_1657.cc:42: error: (Each undeclared identifier is reported only once
   for each function it appears in.)
bgp4_mib_1657.cc: In function `void deinit_bgp4_mib_1657()':
bgp4_mib_1657.cc:67: error: `DEBUGMSGTL' undeclared (first use this function)
bgp4_mib_1657.cc: In constructor `BgpMib::BgpMib()':
bgp4_mib_1657.cc:83: warning: left-hand operand of comma expression has no
   effect
bgp4_mib_1657.cc:83: error: `DEBUGMSGTL' undeclared (first use this function)
bgp4_mib_1657.cc: In destructor `virtual BgpMib::~BgpMib()':
bgp4_mib_1657.cc:88: warning: left-hand operand of comma expression has no
   effect
bgp4_mib_1657.cc:88: error: `DEBUGMSGTL' undeclared (first use this function)
gmake[3]: *** [bgp4_mib_1657.o] Error 1
gmake[3]: Leaving directory `/home/lqin/xorp-1.0/mibs'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/home/lqin/xorp-1.0/mibs'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/lqin/xorp-1.0'
gmake: *** [all] Error 2
You have new mail in /var/spool/mail/root
[root@localhost xorp-1.0]#


--------------080704030502030207070706--