Re: linc-0.1.10 problem building on Solaris 2.6



Hi Dave,

        Of course - system headers that don't install their prerequisites
are unutterably broken :-)

        Anyway - I think this one can be simply addressed by simply
including <arpa/nameser.h> before resolv.h - just a missing include
really. I'll commit that in a sec.

On Wed, 12 Dec 2001 dahaverk@rockwellcollins.com wrote:
> Then in "configure.in" the following can be added (assuming the "*"
> pattern matches)...
>
> if test X"$host_os" = "Xsolaris*" ; then
>         AC_DEFINE(HAVE_MAXDNAME_IN_NAMESER_H)
> fi

        This is not a good plan - there should be no systems mentioned by
name in an configure.in; everything should be checked for maximum
portability to other non-solaris-but-still-broken systems :-)

        Regards,

                Michael.

Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/linc/ChangeLog,v
retrieving revision 1.83
diff -u -p -u -r1.83 ChangeLog
--- ChangeLog	2001/12/11 16:45:08	1.83
+++ ChangeLog	2001/12/14 10:47:47
@@ -1,3 +1,8 @@
+2001-12-14  David Haverkamp  <dahaverk@rockwellcollins.com>
+
+	* src/linc-protocols.c: include arpa/nameser.h before
+	resolv.h for Solaris systems.
+
 2001-12-11  Michael Meeks  <michael@ximian.com>

 	* Version 0.1.11
Index: src/linc-protocols.c
===================================================================
RCS file: /cvs/gnome/linc/src/linc-protocols.c,v
retrieving revision 1.32
diff -u -p -u -r1.32 linc-protocols.c
--- src/linc-protocols.c	2001/12/05 00:09:39	1.32
+++ src/linc-protocols.c	2001/12/14 10:47:47
@@ -40,6 +40,7 @@
 #include <linux/irda.h>
 #endif

+#include <arpa/nameser.h>
 #include <resolv.h>

 #include <linc/linc-protocol.h>

-- 
 mmeeks@gnu.org  <><, Pseudo Engineer, itinerant idiot




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]