buildworld fails at sbin/ifconfig
Michael C. Shultz
ringworm at inbox.lv
Mon Aug 2 09:34:19 PDT 2004
On Friday 30 July 2004 10:13 am, you wrote:
> http://www.pasteme.com/paste/794?tx=on&submit=Format+it%21
hey did you ever fix that/ I’m having that problem on releng_4_10
j
cc -O -pipe -DUSE_IF_MEDIA -DINET6 -DUSE_VLANS -DUSE_IEEE80211 -DNS -Wall
-Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wnested-externs -I.. -c
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 down
my problem report for this although the problem stil exists.... :(
-Mike
More information about the freebsd-stable
mailing list