Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Dec 2013 21:33:39 +0100
From:      Ilya Bakulin <ilya@bakulin.de>
To:        Kevin Lo <kevlo@FreeBSD.org>, src-committers@freebsd.org,  svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r259032 - in head: share/man/man4 sys/dev/usb sys/dev/usb/wlan
Message-ID:  <52A234A3.1040106@bakulin.de>
In-Reply-To: <201312061526.rB6FQdxZ011500@svn.freebsd.org>
References:  <201312061526.rB6FQdxZ011500@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 06.12.13, 16:26, Kevin Lo wrote:
> Author: kevlo
> Date: Fri Dec  6 15:26:39 2013
> New Revision: 259032
> URL: http://svnweb.freebsd.org/changeset/base/259032
> 
> Log:
>   Add support for the MediaTek/Ralink RT5572 chipset.
>   Committed over the TP-LINK TL-WDN3200 (RT5572) on amd64 with WPA.
>   
>   While here, add my copyright.
> 
> Modified:
>   head/share/man/man4/run.4
>   head/sys/dev/usb/usbdevs
>   head/sys/dev/usb/wlan/if_run.c
>   head/sys/dev/usb/wlan/if_runreg.h
>   head/sys/dev/usb/wlan/if_runvar.h

This seems to break the build due to undeclared structure:

===> usb/run (all)
--- if_run.o ---
cc  -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE
-nostdinc   -DHAVE_KERNEL_OPTION_HEADERS -include
/stor0/jails/buildhost.kibab.com/usr/home/kibab/repos/freebsd-git/gs0/obj/i386.i386/stor0/jails/buildhost.kibab.com/usr/home/kibab/repos/freebsd-git/freebsd/sys/GS0/opt_global.h
-I. -I@ -I@/contrib/altq -fno-common -g
-I/stor0/jails/buildhost.kibab.com/usr/home/kibab/repos/freebsd-git/gs0/obj/i386.i386/stor0/jails/buildhost.kibab.com/usr/home/kibab/repos/freebsd-git/freebsd/sys/GS0
 -mno-aes -mno-avx -mno-mmx -mno-sse -msoft-float -ffreestanding
-fstack-protector -std=iso9899:1999 -Qunused-arguments -fstack-protector
-Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef
-Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs
-fdiagnostics-show-option  -Wno-error-tautological-compare
-Wno-error-empty-body  -Wno-error-parentheses-equality  -c
/stor0/jails/buildhost.kibab.com/usr/home/kibab/repos/freebsd-git/freebsd/sys/modules/usb/run/../../../dev/usb/wlan/if_run.c
/stor0/jails/buildhost.kibab.com/usr/home/kibab/repos/freebsd-git/freebsd/sys/modules/usb/run/../../../dev/usb/wlan/if_run.c:3233:6:
error: invalid application of 'sizeof' to an incomplete type 'struct
rt2870_txwi'
            sizeof(struct rt2870_txwi)), rt2860_rates[ridx].rate, qid);
            ^     ~~~~~~~~~~~~~~~~~~~~
@/dev/usb/usb_debug.h:41:21: note: expanded from macro 'DPRINTFN'
           __FUNCTION__ ,##__VA_ARGS__);        \
                           ^
/stor0/jails/buildhost.kibab.com/usr/home/kibab/repos/freebsd-git/freebsd/sys/modules/usb/run/../../../dev/usb/wlan/if_run.c:3233:20:
note: forward declaration of 'struct rt2870_txwi'
            sizeof(struct rt2870_txwi)), rt2860_rates[ridx].rate, qid);
                          ^
@/dev/usb/usb_debug.h:41:21: note: expanded from macro 'DPRINTFN'
           __FUNCTION__ ,##__VA_ARGS__);        \
                           ^
1 error generated.
*** [if_run.o] Error code 1


-- 
Regards,
Ilya Bakulin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52A234A3.1040106>