Re: net/if_bridgevar.h is missing

From: R. Ortiz (rortiz02_at_nyit.edu)
Date: 11/20/05


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



Relevant Pages

  • Re: Ahh - Cant open my vbp?
    ... > Thanks for the feedback Phill - comments inline. ... > Thats right - since I cant get into the project I cant delete it as a ... > reference?? ... >> There's probably a control on the form that it can't find either. ...
    (microsoft.public.vb.general.discussion)
  • Re: office 2003 run on office 2007 problems???
    ... "Bob" wrote: ... Jon Peltier, Microsoft Excel MVP ... compile error cant find object library. ... I then checked reference again and found all missing agian. ...
    (microsoft.public.excel.misc)
  • Re: FS 4 x XP Pro COA
    ... thats bizarre, used to use that email about 12 months ago - and the ... news client I am using cant see any reference to that email address in ...
    (uk.adverts.computer)
  • Re: row number question in an array
    ... line (ie there cant be any blanks after the last bit of data). ... because it is an array the row number 55 needs be the last ... I have a row count set up but need this formula to reference it. ...
    (microsoft.public.excel.worksheet.functions)

Loading