Skip site navigation (1)Skip section navigation (2)
Date:      07 Dec 2003 15:05:01 +0100
From:      Christian Laursen <xi@borderworlds.dk>
To:        freebsd-current@freebsd.org
Subject:   5.2-RC build error
Message-ID:  <86wu98n2pd.fsf@borg.borderworlds.dk>

next in thread | raw e-mail | index | archive | help
A few hours ago, i cvsupped to the RELENG_5_2 branch.

My machine is currently running

FreeBSD borg.borderworlds.dk 5.2-BETA FreeBSD 5.2-BETA #11: Wed Dec  3 22:58:06 CET 2003     root@borg.borderworlds.dk:/usr/obj/usr/src/sys/BORG  i386

When I try to build a kernel, I get the follwoing error:

===> ath
cc -O -pipe -mcpu=pentiumpro -I. -I/usr/src/sys/modules/ath/../../contrib/dev/ath/freebsd -I/usr/src/sys/modules/ath/../../contrib/dev/ath  -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99 -DKLD_MODULE -nostdinc -I-  -I. -I/usr/src/sys/modules/ath/../../contrib/dev/ath/freebsd -I/usr/src/sys/modules/ath/../../contrib/dev/ath -I. -I@ -I@/../include -finline-limit=15000 -fno-common -g -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99 -c /usr/src/sys/dev/ath/if_ath.c
/usr/src/sys/dev/ath/if_ath.c: In function `ath_attach':
/usr/src/sys/dev/ath/if_ath.c:199: error: structure has no member named `ah_abi'
/usr/src/sys/dev/ath/if_ath.c:199: error: `HAL_ABI_VERSION' undeclared (first use in this function)
/usr/src/sys/dev/ath/if_ath.c:199: error: (Each undeclared identifier is reported only once
/usr/src/sys/dev/ath/if_ath.c:199: error: for each function it appears in.)
/usr/src/sys/dev/ath/if_ath.c:201: error: structure has no member named `ah_abi'
/usr/src/sys/dev/ath/if_ath.c:206: error: structure has no member named `ah_macVersion'
/usr/src/sys/dev/ath/if_ath.c:206: error: structure has no member named `ah_macRev'
/usr/src/sys/dev/ath/if_ath.c:207: error: structure has no member named `ah_phyRev'
/usr/src/sys/dev/ath/if_ath.c:207: error: structure has no member named `ah_phyRev'
/usr/src/sys/dev/ath/if_ath.c:208: error: structure has no member named `ah_analog5GhzRev'
/usr/src/sys/dev/ath/if_ath.c:210: error: structure has no member named `ah_analog5GhzRev'
/usr/src/sys/dev/ath/if_ath.c:210: error: structure has no member named `ah_analog5GhzRev'
/usr/src/sys/dev/ath/if_ath.c:211: error: structure has no member named `ah_analog2GhzRev'
/usr/src/sys/dev/ath/if_ath.c:213: error: structure has no member named `ah_analog2GhzRev'
/usr/src/sys/dev/ath/if_ath.c:213: error: structure has no member named `ah_analog2GhzRev'
/usr/src/sys/dev/ath/if_ath.c: In function `ath_ioctl':
/usr/src/sys/dev/ath/if_ath.c:917: error: structure has no member named `ah_getDiagState'
/usr/src/sys/dev/ath/if_ath.c: In function `ath_rx_proc':
/usr/src/sys/dev/ath/if_ath.c:1665: error: too many arguments to function
/usr/src/sys/dev/ath/if_ath.c: In function `ath_stoprecv':
/usr/src/sys/dev/ath/if_ath.c:2290: error: too many arguments to function
/usr/src/sys/dev/ath/if_ath.c: In function `ath_newstate':
/usr/src/sys/dev/ath/if_ath.c:2511: warning: passing arg 3 of pointer to function discards qualifiers from pointer target type
*** Error code 1

Stop in /usr/src/sys/modules/ath.
*** Error code 1

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

Stop in /usr/obj/usr/src/sys/GENERIC.
*** Error code 1

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

Stop in /usr/src.


The complete typescript can be found here:
http://ferengi.borderworlds.dk/~xi/buildkernel.log

-- 
Best regards
    Christian Laursen



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