From owner-freebsd-usb@freebsd.org Sat Nov 19 15:29:50 2016 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CF161C4A2DD for ; Sat, 19 Nov 2016 15:29:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A4B9C1AD0 for ; Sat, 19 Nov 2016 15:29:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id uAJFTos5056543 for ; Sat, 19 Nov 2016 15:29:50 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 205477] urtwn(4) USB wireless driver fails to initialize RTL8188CUS Date: Sat, 19 Nov 2016 15:29:50 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 10.2-RELEASE X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: eimar.koort@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Nov 2016 15:29:50 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D205477 --- Comment #10 from eimar.koort@gmail.com --- (In reply to Andriy Voskoboinyk from comment #9) root@rpi2:~/rtwn-master/sys/modules/rtwnfw # cd ../rtwn && make depend && m= ake && make install machine -> /usr/src/sys/arm/include awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/bus_if.m -h awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/device_if.m -h :> opt_bus.h echo "#define IEEE80211_DEBUG 1" > opt_wlan.h echo "#define IEEE80211_AMPDU_AGE 1" >> opt_wlan.h echo "#define IEEE80211_SUPPORT_MESH 1" >> opt_wlan.h Warning: Object directory not changed from original /root/rtwn-master/sys/modules/rtwn cc -O -pipe -Werror -D_KERNEL -DKLD_MODULE -nostdinc=20 -I/root/rtwn-master/sys/modules/rtwn/../.. -I. -I/usr/src/sys -fno-common=20 -funwind-tables -MD -MF.depend.if_rtwn.o -MTif_rtwn.o -ffreestanding -fwr= apv -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-comp= are -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-negative-value -mno-movt -mfpu=3Dnone -std=3Diso9899:199= 9 -c /root/rtwn-master/sys/modules/rtwn/../../dev/rtwn/if_rtwn.c -o if_rtwn.o In file included from /root/rtwn-master/sys/modules/rtwn/../../dev/rtwn/if_rtwn.c:48: In file included from /usr/src/sys/net/if_var.h:74: In file included from /usr/src/sys/sys/buf_ring.h:33: ./machine/cpu.h:47:10: error: implicit declaration of function 'cp15_pmccntr_get' is invalid in C99 [-Werror,-Wimplicit-function-declaration] return cp15_pmccntr_get(); ^ 1 error generated. *** Error code 1 Stop. make: stopped in /root/rtwn-master/sys/modules/rtwn root@rpi2:~/rtwn-master/sys/modules/rtwn # uname -a FreeBSD rpi2 12.0-CURRENT FreeBSD 12.0-CURRENT #0 r308737: Thu Nov 17 08:02= :03 UTC 2016=20=20=20=20 root@releng3.nyi.freebsd.org:/usr/obj/arm.armv6/usr/src/sys/GENERIC arm --=20 You are receiving this mail because: You are the assignee for the bug.=