buildworld fails at sbin/ifconfig

Ruslan Ermilov ru at FreeBSD.org
Mon Aug 2 23:53:21 PDT 2004


On Mon, Aug 02, 2004 at 06:15:45AM -0700, Michael C. Shultz wrote:
> 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.... :(
> 
> 
/usr/include isn't used at all in the main build stage of buildworld.
Is it possible that you just ran ``make'' rather than the supposed
``make buildworld'' from under /usr/src?

Also, what is the PR number you're referring to?


Cheers,
-- 
Ruslan Ermilov
ru at FreeBSD.org
FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20040803/4b1b7781/attachment.bin


More information about the freebsd-stable mailing list