bug-inetutils
[Top][All Lists]
Advanced

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

Re: [bug-inetutils] Install problem on Mac OS


From: Lu Hongchao
Subject: Re: [bug-inetutils] Install problem on Mac OS
Date: Sun, 5 Jun 2011 22:17:28 +0800

Hi, 

I attached my config.log for the second tarball file.

Hongchao

On Sun, Jun 5, 2011 at 8:47 PM, Alfred M. Szmidt <address@hidden> wrote:
  Hi, I tried the two package you give me. However,
  when I
  % make check.

  there is a error report.

    CC     ctl.o
  ctl.c:61:24: error: osockaddr.h: No such file or directory
  make[2]: *** [ctl.o] Error 1
  make[1]: *** [check-recursive] Error 1
  make: *** [check] Error 2

Can you send config.log?  I do not understand why HAVE_OSOCKADDR_H is
true for you, it should only be true if and only if <osockaddr.h>
exists on your system.

In either case, can you try the following patch?  We don't use
<osockaddr.h> any more.

2011-06-05  Alfred M. Szmidt  <address@hidden>

       talkd, talk: Remove last traces of <osockaddr.h> usage.

       * talkd/intalkd.h [HAVE_OSOCKADDR_H]: Don't include <osockaddr.h>.
       * talk/look_up.c: Likewise.
       * talk/invite.c: Likewise.
       * talk/get_names.c: Likewise.
       * talk/get_addrs.c: Likewise.
       * talk/ctl_transact.c: Likewise.
       * talk/ctl.c: Likewise.

diff --git a/talk/ctl.c b/talk/ctl.c
index 54e2aad..f077727 100644
--- a/talk/ctl.c
+++ b/talk/ctl.c
@@ -57,9 +57,6 @@

 #include <sys/types.h>
 #include <sys/socket.h>
-#ifdef HAVE_OSOCKADDR_H
-# include <osockaddr.h>
-#endif
 #include <protocols/talkd.h>
 #include <netinet/in.h>
 #include "talk.h"
diff --git a/talk/ctl_transact.c b/talk/ctl_transact.c
index 8fd4947..46a865f 100644
--- a/talk/ctl_transact.c
+++ b/talk/ctl_transact.c
@@ -55,9 +55,6 @@
 #include <time.h>
 #include <netinet/in.h>
 #include <sys/select.h>
-#ifdef HAVE_OSOCKADDR_H
-# include <osockaddr.h>
-#endif
 #include <protocols/talkd.h>
 #include <errno.h>
 #include "talk_ctl.h"
diff --git a/talk/get_addrs.c b/talk/get_addrs.c
index 6b3792a..b2af9a4 100644
--- a/talk/get_addrs.c
+++ b/talk/get_addrs.c
@@ -55,9 +55,6 @@
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <netinet/in.h>
-#ifdef HAVE_OSOCKADDR_H
-# include <osockaddr.h>
-#endif
 #include <protocols/talkd.h>
 #include <netdb.h>
 #include <stdio.h>
diff --git a/talk/get_names.c b/talk/get_names.c
index 0386d0b..5f458ce 100644
--- a/talk/get_names.c
+++ b/talk/get_names.c
@@ -55,9 +55,6 @@
 #include <sys/types.h>
 #include <sys/param.h>
 #include <sys/socket.h>
-#ifdef HAVE_OSOCKADDR_H
-# include <osockaddr.h>
-#endif
 #include <netinet/in.h>
 #include <protocols/talkd.h>
 #include <pwd.h>
diff --git a/talk/invite.c b/talk/invite.c
index 6ba7f88..564685f 100644
--- a/talk/invite.c
+++ b/talk/invite.c
@@ -57,9 +57,6 @@
 #include <time.h>
 #include <signal.h>
 #include <netinet/in.h>
-#ifdef HAVE_OSOCKADDR_H
-# include <osockaddr.h>
-#endif
 #include <protocols/talkd.h>
 #include <errno.h>
 #include <unistd.h>
diff --git a/talk/look_up.c b/talk/look_up.c
index ade177a..f7c7665 100644
--- a/talk/look_up.c
+++ b/talk/look_up.c
@@ -54,9 +54,6 @@
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <netinet/in.h>
-#ifdef HAVE_OSOCKADDR_H
-# include <osockaddr.h>
-#endif
 #include <protocols/talkd.h>
 #include <unistd.h>
 #include <errno.h>
diff --git a/talkd/intalkd.h b/talkd/intalkd.h
index 2f32116..3cd7bec 100644
--- a/talkd/intalkd.h
+++ b/talkd/intalkd.h
@@ -22,9 +22,6 @@
 #include <sys/socket.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>
-#ifdef HAVE_OSOCKADDR_H
-# include <osockaddr.h>
-#endif
 #include <protocols/talkd.h>
 #include <netdb.h>
 #include <syslog.h>

Attachment: config.log
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]