Re: Solaris 8/net-snmp-5.2.2 build problems
Robert Story <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Organization | Net-SNMP |
| Message-ID | <20050922192549.74383387@aud> |
On Thu, 22 Sep 2005 11:44:58 -0400 Tanya wrote:
RT> I am having trouble building net-snmp-5.2.2 on Solaris 8.
First, thanks for testing it!
RT> snmp_api.c:666: warning: assignment makes pointer from integer without a
RT> cast
RT> snmp_api.c:671: error: dereferencing pointer to incomplete type
This patch, and running autoconf, will fix that problem..
Index: configure.in
===================================================================
RCS file: /cvsroot/net-snmp/net-snmp/configure.in,v
retrieving revision 5.134.2.20
diff -u -p -r5.134.2.20 configure.in
--- configure.in 16 Sep 2005 14:40:59 -0000 5.134.2.20
+++ configure.in 22 Sep 2005 22:57:59 -0000
@@ -2423,12 +2423,12 @@ AC_CHECK_HEADERS(arpa/inet.h netinet/in_
#if HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
-#if HAVE_SYS_SOCKETVAR_H
-#include <sys/socketvar.h>
-#endif
#if HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
+#if HAVE_SYS_SOCKETVAR_H
+#include <sys/socketvar.h>
+#endif
#if HAVE_ARPA_INET_H
#include <arpa/inet.h>
#endif
--
NOTE: messages sent directly to me, instead of the lists, will be deleted
unless they are requests for paid consulting services.
Robert Story; NET-SNMP Junkie
Support: <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.
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
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