Re: net/if_bridgevar.h is missing
From: R. Ortiz (rortiz02_at_nyit.edu)
Date: 11/20/05
- Next message: Jerry M. Gartner: "Basic question from a noob"
- Previous message: Bill Vermillion: "Re: Best BSD version"
- In reply to: Nick Withers: "Re: net/if_bridgevar.h is missing"
- Next in thread: R. Ortiz: "more: net/if_bridgevar.h is missing"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 20 Nov 2005 01:25:37 +0000
Nick Withers wrote:
> On Sat, 19 Nov 2005 12:30:48 +0000
> "R. Ortiz" <rortiz02@nyit.edu> wrote:
>
>> Nick Withers wrote:
>>
>> > On Thu, 17 Nov 2005 23:05:45 +0000
>> > "R. Ortiz" <rortiz02@nyit.edu> wrote:
>> >
>> >> My buildworld on 5-Stable fails because this file is not found. I
>> >> cvsup-ed as recently as just now; on two different mirrors. back to
>> >> back, in case, i
>> >> dunno, something really weird is happening. cvsup4.us.FreeBSD.org
>> >> apparently doesn't have this file as part of src-all. And then,
neither
>> >> did
>> >> cvsup2. UPDATING has a blurb on if_bridge, an apparently related
>> >> file, says i should see if_bridge(4) for configuration details - but I
>> >> don't need advanced Ethernet bridging and 802.1d spanning tree support
>> >> to be configured, Do I? for a routine update build? When I tried man 4
>> >> if_bridge:
>> >> No entry for if_bridge in section 4 of the manual. The buildworld
>> >> error is pasted herein (just the end part concerning the failure).
>> >>
>> >> Thanks for your time and consideration,
>> >> R.Ortiz
>> >>
>> >> -->paste
>> >> ===> sbin/ifconfig
>> >> rm -f .depend
>> >> CC='/usr/bin/cc' mkdep -f .depend -a -DUSE_IF_MEDIA -DINET6
>> >> -DUSE_VLANS -DUSE_IEEE80211 -DUSE_CARP -DUSE_MAC -DUSE_PFSYNC
>> >> -DUSE_BRIDGE -DNS /usr/src/sbin/ifc
>> >> onfig/ifconfig.c /usr/src/sbin/ifconfig/ifmedia.c
>> >> /usr/src/sbin/ifconfig/ifvlan.c /usr/src/sbin/ifconfig/ifieee80211.c
>> >> /usr/src/sbin/ifconfig/ifcarp.c /usr/src/ sbin/ifconfig/ifmac.c
>> >> /usr/src/sbin/ifconfig/ifpfsync.c /usr/src/sbin/ifconfig/ifbridge.c
>> >> /usr/src/sbin/ifconfig/ifbridge.c:51:30: net/if_bridgevar.h: No such
>> >> file or directory mkdep: compile failed
>> >> *** Error code 1
>> >>
>> >> Stop in /usr/src/sbin/ifconfig.
>> >> *** Error code 1
>> >>
>> >> Stop in /usr/src/sbin.
>> >> *** Error code 1
>> >>
>> >> Stop in /usr/src.
>> >> *** Error code 1
>> >>
>> >> Stop in /usr/src.
>> >> *** Error code 1
>> >>
>> >> Stop in /usr/src.
>> >
>> > Just a couple o' ideas:
>> > - "rm -rf /usr/obj" before starting the make
>> > - "cd /usr/src && make cleandir" before starting the
>> > make
>> >
>> Thanks - As a matter of fact what i did was make cleanworld, which I
>> think takes those two steps you mentioned. Am I mistaken on that, should
>> I still go and do those steps anyway?
>
> Not sure... Had a quick look at PR docs/83621, which seems to
> suggest that "make cleanworld" only removes /usr/obj (which,
> if I'm reading /usr/src/Makefile correctly seems to be the
> case). If you wouldn't mind explicitly trying the steps I
> suggested earlier I think it'd be worthwhile.
>
>> -R.Ortiz
>
Thanks again. This time, inside /usr/src: make cleandir && make cleandir
(twice because I read it somewhere else);
also, rm -rf /usr/obj, as suggested. However, same error.
What makes this so annoying is, after the 8 hrs of crunching this thing, I
can do a search for the file and find where it is -
# find / -name if_bridgevar.h -print
/usr/src/sys/net/if_bridgevar.h
/usr/obj/usr/src/i386/usr/include/net/if_bridgevar.h
They're Right There! Why cant the make find them? The one under src
should've been found, and the one under obj must've been written. So I
checked:
# ls-l /usr/obj/usr/src/i386/usr/include/net/if_bridgevar.h
lrwxr-xr-x 1 root wheel 31 Nov 19
16:26 /usr/obj/usr/src/i386/usr/include/net/if_bridgevar.h@
-> ../../../sys/net/if_bridgevar.h
They are linked, and at least one exists. Is the link malformed or
something? Couldn't figure how to check this one out. So I thought, maybe
the reference could be malformed. Silly me, cant figure how to check that
either :( As an attempt, tho, I looked
up /usr/src/sbin/ifconfig/ifbridge.c, and found the reference in the
beginning among other files which were referenced and found:
--->paste
#ifndef lint
static const char rcsid[] =
"$FreeBSD: src/sbin/ifconfig/ifbridge.c,v 1.1.4.1 2005/10/03 21:40:42
thompsa Exp $";
#endif /* not lint */
#include <sys/param.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
#include <sys/sockio.h>
#include <stdlib.h>
#include <unistd.h>
#include <net/ethernet.h>
#include <net/if.h>
#include <net/if_bridgevar.h> <*********************** hello!
#include <net/route.h>
#include <ctype.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <err.h>
#include <errno.h>
#include "ifconfig.h"
<---paste
There were no errors for net/ethernet.h or net/if.h. These files were found
and dealt with? But not if_bridgevar.h? Should I take the aspirin? Or the
Vodka? Or both?
I really appreciate your suggestions, hope this info proves useful.
R.Ortiz
- Next message: Jerry M. Gartner: "Basic question from a noob"
- Previous message: Bill Vermillion: "Re: Best BSD version"
- In reply to: Nick Withers: "Re: net/if_bridgevar.h is missing"
- Next in thread: R. Ortiz: "more: net/if_bridgevar.h is missing"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|