Re: 5.2.2.pre3 and IRIX 6.5

This is a discussion on Re: 5.2.2.pre3 and IRIX 6.5 within the SNMP Coders forums, part of the Networking and Network Related category; On Wed, Oct 05, 2005 at 04:33:53PM -0500, Albert Chin wrote: > I tried building 5.2.2....


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-05-2005
Albert Chin
 
Posts: n/a
Default Re: 5.2.2.pre3 and IRIX 6.5

On Wed, Oct 05, 2005 at 04:33:53PM -0500, Albert Chin wrote:
> I tried building 5.2.2.pre3 on IRIX 6.5 with the SGI C compiler:
> ./configure --with-cc=cc --enable-internal-md5 --with-sys-contact= \
> --with-sys-location= --enable-shared --enable-static \
> --with-mibdirs=$HOME/.snmp/mibs:/opt/TWWfsw/netsnmp522/share/mibs \
> --with-mib-modules="host mibII/mta_sendmail disman/event-mib \
> ucd-snmp/diskio --enable-mfd-rewrites \
> --with-default-snmp-version=3 --prefix=/opt/TWWfsw/netsnmp522
>
> Doesn't seem like the host MIB module works on this platform:
> [ snip snip ]


Builds fine if I remove "host" from --with-mib-modules. The patch
below cleans up the source a little.

--
albert chin (china@thewrittenword.com)

-- snip snip
--- agent/mibgroup/mibII/tcpTable.c.orig 2005-10-04 21:02:30.050888000 -0500
+++ agent/mibgroup/mibII/tcpTable.c 2005-10-04 21:05:53.817262000 -0500
@@ -23,6 +23,9 @@
#if HAVE_NETINET_TCP_TIMER_H
#include <netinet/tcp_timer.h>
#endif
+#if HAVE_NETINET_TCPIP_H
+#include <netinet/tcpip.h>
+#endif
#if HAVE_NETINET_TCP_VAR_H
#include <netinet/tcp_var.h>
#endif
--- include/net-snmp/system/irix.h.orig 2005-10-04 21:01:51.797535000 -0500
+++ include/net-snmp/system/irix.h 2005-10-04 21:05:53.689107000 -0500
@@ -23,24 +23,6 @@
*/
#define IFNET_NEEDS_KERNEL_LATE 1

-/*
- * configure fails to detect these properly because they're broken headers
- */
-#define HAVE_NETINET_TCP_H 1
-#define HAVE_NETINET_IP_H 1
-
-/*
- * don't use this on irix
- * it has a prototype of inet_addr() which conflicts
- * with <netinet/in.h>
- */
-#undef HAVE_ARPA_INET_H
-
-/*
- * We need a prototype of inet_ntoa() then.
- */
-extern const char *inet_ntoa();
-
#define STREAM_NEEDS_KERNEL_ISLANDS

#ifndef __GNUC__


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 12:48 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0