Re: new 'beta' version of 'ath' driver available on leaf.
Martin P. Hellwig wrote:
> <cut>
> /me is getting this: (I'm running preview)
>
> Warning: Object directory not changed from original
> /tmp/ath-dragonfly-1.4.2/src
> /sys/dev/netif/ath
> cc -O -pipe -g -I.
> -I/tmp/ath-dragonfly-1.4.2/src/sys/dev/netif/ath/../../../co
> ntrib/dev/ath/freebsd
> -I/tmp/ath-dragonfly-1.4.2/src/sys/dev/netif/ath/../../../
> contrib/dev/ath -D_KERNEL -Wall -Wredundant-decls -Wnested-externs
> -Wstrict-pro
> totypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual
> -fformat-ext
> ensions -ansi -DKLD_MODULE -nostdinc -I.
> -I/tmp/ath-dragonfly-1.4.2/src/sys/dev/
> netif/ath/../../../contrib/dev/ath/freebsd
> -I/tmp/ath-dragonfly-1.4.2/src/sys/de
> v/netif/ath/../../../contrib/dev/ath -I. -I@ -I@/../include
> -mpreferred-stack-b
> oundary=2 -fno-common -ffreestanding -Wall -Wredundant-decls
> -Wnested-externs -W
> strict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline
> -Wcast-qual -f
> format-extensions -ansi -c if_ath.c
> if_ath.c: In function `ath_stop':
> if_ath.c:930: syntax error before `int'
> if_ath.c:983: `x' undeclared (first use in this function)
> if_ath.c:983: (Each undeclared identifier is reported only once
> if_ath.c:983: for each function it appears in.)
> if_ath.c: In function `ath_rx_proc':
> if_ath.c:2407: warning: initialization from incompatible pointer type
> if_ath.c: In function `ath_tx_start':
> if_ath.c:2583: syntax error before `int'
> if_ath.c:2743: `try0' undeclared (first use in this function)
> if_ath.c:2864: warning: initialization from incompatible pointer type
> if_ath.c: In function `ath_sysctl_tpscale':
> if_ath.c:3837: warning: value computed is not used
> *** Error code 1
>
> Stop in /tmp/ath-dragonfly-1.4.2/src/sys/dev/netif/ath.
I think you are using gcc2 but should use gcc34. Either you can
add
CCVER?=gcc34
to your /etc/make.conf (notice the ?-mark). Or use
setenv CCVER gcc34
if you don't want to use gcc34 as standard (perhaps "make
-DCCVER=gcc34" will also work).
Don't know if you have to recompile your kernel ect too.
--
Erik Wikstr闣
討論串 (同標題文章)
完整討論串 (本文為第 11 之 13 篇):