Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Aug 2004 06:15:45 -0700
From:      "Michael C. Shultz" <ringworm@inbox.lv>
To:        "jeev" <jeev@charter.net>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: buildworld fails at sbin/ifconfig
Message-ID:  <200408020615.46516.ringworm@inbox.lv>
In-Reply-To: <3a5840$3pvr5m@mxip01a.cluster1.charter.net>
References:  <3a5840$3pvr5m@mxip01a.cluster1.charter.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 30 July 2004 10:13 am, you wrote:
> http://www.pasteme.com/paste/794?tx=3Don&submit=3DFormat+it%21
hey did you ever fix that/ I=E2=80=99m having that problem on releng_4_10


=20


j

cc -O -pipe  -DUSE_IF_MEDIA -DINET6 -DUSE_VLANS -DUSE_IEEE80211 -DNS -Wall=
=20
=2DWmissing-prototypes -Wcast-qual -Wwrite-strings  -Wnested-externs -I..  =
  -c=20
ifconfig.c
ifconfig.c:244: `IFF_STATICARP' undeclared here (not in a function)
ifconfig.c:244: initializer element is not constant
ifconfig.c:244: (near initialization for `cmds[38].c_parameter')
ifconfig.c:245: `IFF_STATICARP' undeclared here (not in a function)
ifconfig.c:245: initializer element is not constant
ifconfig.c:245: (near initialization for `cmds[39].c_parameter')
*** Error code 1

Stop in /usr/src/sbin/ifconfig

Its been a while since I saw this.
the quick fix is to copy:

/usr/src/sys/net/if.h

over

/usr/include/net/if.h

If you want an explanation why this works just ask. FreeBSD folks turned do=
wn=20
my problem report for this although the problem stil exists.... :(


=2DMike



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