svn commit: r259032 - in head: share/man/man4 sys/dev/usb sys/dev/usb/wlan

Ilya Bakulin ilya at bakulin.de
Fri Dec 6 20:33:42 UTC 2013


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


More information about the svn-src-all mailing list