Solved [SOLVED] Buildworld 8 error

roddierod

Aspiring Daemon

Reaction score: 146
Messages: 833

Trying to upgrade from 8.0 RC2 to 8.0 Release and I'm getting the following build error. I csup'd this morning
Code:
/usr/src/sbin/ifconfig/ifieee80211.c: In function 'printmeshconf':
/usr/src/sbin/ifconfig/ifieee80211.c:2627: error: 'IEEE80211_MESHCONF_NULL' undeclared (first use in this function)
/usr/src/sbin/ifconfig/ifieee80211.c:2627: error: (Each undeclared identifier is reported only once
/usr/src/sbin/ifconfig/ifieee80211.c:2627: error: for each function it appears in.)
/usr/src/sbin/ifconfig/ifieee80211.c:2628: error: 'IEEE80211_MESHCONF_HWMP' undeclared (first use in this function)
/usr/src/sbin/ifconfig/ifieee80211.c:2629: error: 'IEEE80211_MESHCONF_AIRTIME' undeclared (first use in this function)
/usr/src/sbin/ifconfig/ifieee80211.c:2630: error: 'IEEE80211_MESHCONF_CCSIG' undeclared (first use in this function)
/usr/src/sbin/ifconfig/ifieee80211.c:2631: error: 'IEEE80211_MESHCONF_SAE' undeclared (first use in this function)
/usr/src/sbin/ifconfig/ifieee80211.c:2633: error: 'const struct ieee80211_meshconf_ie' has no member named 'conf_ver'
/usr/src/sbin/ifconfig/ifieee80211.c:2634: warning: passing argument 1 of 'memcmp' makes pointer from integer without a cast
/usr/src/sbin/ifconfig/ifieee80211.c:2636: warning: passing argument 1 of 'memcmp' makes pointer from integer without a cast
/usr/src/sbin/ifconfig/ifieee80211.c:2638: warning: passing argument 1 of 'memcmp' makes pointer from integer without a cast
/usr/src/sbin/ifconfig/ifieee80211.c:2639: warning: passing argument 1 of 'memcmp' makes pointer from integer without a cast
/usr/src/sbin/ifconfig/ifieee80211.c:2641: warning: passing argument 1 of 'memcmp' makes pointer from integer without a cast
/usr/src/sbin/ifconfig/ifieee80211.c:2642: warning: passing argument 1 of 'memcmp' makes pointer from integer without a cast
/usr/src/sbin/ifconfig/ifieee80211.c:2644: warning: passing argument 1 of 'memcmp' makes pointer from integer without a cast
/usr/src/sbin/ifconfig/ifieee80211.c:2645: warning: passing argument 1 of 'memcmp' makes pointer from integer without a cast
*** Error code 1

Stop in /usr/src/sbin/ifconfig.
*** Error code 1

Stop in /usr/obj/usr/src/rescue/rescue.
*** Error code 1

Stop in /usr/src/rescue/rescue.
*** Error code 1

Stop in /usr/src/rescue.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
atomizer#
 

SirDice

Administrator
Staff member
Administrator
Moderator

Reaction score: 10,121
Messages: 35,597

Did you do a # make clean before the build?
 
OP
roddierod

roddierod

Aspiring Daemon

Reaction score: 146
Messages: 833

Yes.

This is what I did this morning.

make clean
make buildworld

....got error...

csup -g -L 2 /etc/cvs-supfile

make clean
make buildworld

....got error...

I should note, I updated on Friday but didn't get around the the first buildworld till this morning around 5 am, that was the reason for the csup this morning after the error.
 
OP
roddierod

roddierod

Aspiring Daemon

Reaction score: 146
Messages: 833

Sorry...turned out to be an error in my cvs-supfile, was only pulling src-sys....:r
 

DutchDaemon

Administrator
Staff member
Administrator
Moderator
Developer

Reaction score: 3,051
Messages: 11,380

csup is a drop-in replacement for cvsup, so it accepts all of its flags (silently ignoring some).
 
Top