[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
autoconf and net/if_arp.h on Solaris 9 x86
From: |
Erik Karu |
Subject: |
autoconf and net/if_arp.h on Solaris 9 x86 |
Date: |
Mon, 23 Feb 2004 11:45:06 -0800 (PST) |
Hi,
with autoconf-2.57 on Solaris 9 x86 (12/03) I get this
error:
checking net/if_arp.h usability... no
checking net/if_arp.h presence... yes
configure: WARNING: net/if_arp.h: present but cannot
be compiled
configure: WARNING: net/if_arp.h: check for missing
prerequisite headers?
configure: WARNING: net/if_arp.h: proceeding with the
preprocessor's result
configure: WARNING: ##
------------------------------------ ##
configure: WARNING: ## Report this to
address@hidden ##
configure: WARNING: ##
------------------------------------ ##
checking for net/if_arp.h... yes
when I have this line in my configure.in:
AC_CHECK_HEADERS(net/if_arp.h)
>From Solaris 9 arp(7p) man page:
NAME
arp, ARP - Address Resolution Protocol
SYNOPSIS
#include <sys/fcntl.h>
#include <sys/socket.h>
#include <net/if_arp.h>
So you need to include those two headers (at least on
Solaris 9) when checking for net/if_arp.h. I verified
this by manually adding those two includes to the
generated configure script and it worked like a charm.
Thanks.
__________________________________
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- autoconf and net/if_arp.h on Solaris 9 x86,
Erik Karu <=