Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Dec 1996 11:24:49 -0800 (PST)
From:      Keith Walker <kew@timesink.spk.wa.us>
To:        Ron Bolin <rlb@mindspring.com>
Cc:        freebsd-current@freebsd.org
Subject:   12-14-96 kernel compile tbl?
Message-ID:  <199612141924.LAA00878@phobos.walker.org>
In-Reply-To: <32B2EA88.15FB7483@mindspring.com>
References:  <32B2EA88.15FB7483@mindspring.com>

next in thread | previous in thread | raw e-mail | index | archive | help

Ron Bolin writes:
 > I tried to build today's current 12-14 via cvsup  and ran across the
 > problem below:
 > 
 > ../../netinet/if_ether.c:453: `in_ifaddr' undeclared (first use this
 > function)


I fixed it - until the official fix comes out - with this:

change line 453 of if_ether.c to:

	 for (ia = in_ifaddrhead.tqh_first; ia; ia = ia->ia_link.tqe_next)

There are examples of this in other files, and it seems that the fix
works, although mine is a *quite* simple system and doesn't do very much
with ethernet.

I figured this out by noticing that the declaration of in_ifaddr was
changed in 'in_var.h' from the old

	extern struct in_ifaddr *in_ifaddr;

to

	extern TAILQ_HEAD(in_ifaddrhead, in_ifaddr) in_ifaddrhead;


Hope this helps.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612141924.LAA00878>