Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jan 2017 17:03:01 +0200
From:      Daniel Braniss <danny@cs.huji.ac.il>
To:        "freebsd-arm@freebsd.org" <arm@freebsd.org>
Subject:   Re: error while compiling latest kernel for ALLWINNER
Message-ID:  <856C64DC-08DD-4F5B-8208-EA4BC99C4240@cs.huji.ac.il>
In-Reply-To: <1025381D-3897-4D90-A5D6-E9B65ECADFB5@cs.huji.ac.il>
References:  <1025381D-3897-4D90-A5D6-E9B65ECADFB5@cs.huji.ac.il>

next in thread | previous in thread | raw e-mail | index | archive | help

> On 16 Jan 2017, at 16:43, Daniel Braniss <danny@cs.huji.ac.il> wrote:
>=20
> Hi,
> this is the error:
> =E2=80=A6
>=20
> linking kernel.full
> r21au_attach.o: In function `r21au_vap_preattach':
> /r+d/vanilla/12/sys/dev/rtwn/rtl8821a/usb/r21au_attach.c:115: =
undefined reference to `r21au_newstate'
> /r+d/vanilla/12/sys/dev/rtwn/rtl8821a/usb/r21au_attach.c:115: =
undefined reference to `r21au_newstate'
> r21au_attach.o: In function `r21a_postattach':
> /r+d/vanilla/12/sys/dev/rtwn/rtl8821a/usb/r21au_attach.c:89: undefined =
reference to `r21au_chan_check'
> /r+d/vanilla/12/sys/dev/rtwn/rtl8821a/usb/r21au_attach.c:89: undefined =
reference to `r21au_chan_check'
> /r+d/vanilla/12/sys/dev/rtwn/rtl8821a/usb/r21au_attach.c:96: undefined =
reference to `r21au_scan_start'
> /r+d/vanilla/12/sys/dev/rtwn/rtl8821a/usb/r21au_attach.c:96: undefined =
reference to `r21au_scan_start'
> /r+d/vanilla/12/sys/dev/rtwn/rtl8821a/usb/r21au_attach.c:98: undefined =
reference to `r21au_scan_end'
> /r+d/vanilla/12/sys/dev/rtwn/rtl8821a/usb/r21au_attach.c:98: undefined =
reference to `r21au_scan_end'
> *** Error code 1
>=20
> Stop.
> bmake[2]: stopped in =
/home/obj/rnd/armv6/orangepi/arm.armv6/r+d/vanilla/12/sys/ALLWINNER
> *** Error code 1
>=20

this did the trick:
Index: /r+d/vanilla/12/sys/conf/files
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- /r+d/vanilla/12/sys/conf/files      (revision 312286)
+++ /r+d/vanilla/12/sys/conf/files      (working copy)
@@ -2716,6 +2716,7 @@
 dev/rtwn/rtl8821a/r21a_rx.c    optional rtwn
 dev/rtwn/rtl8821a/usb/r21au_attach.c   optional rtwn_usb
 dev/rtwn/rtl8821a/usb/r21au_init.c     optional rtwn_usb
+dev/rtwn/rtl8821a/usb/r21au_dfs.c      optional rtwn_usb
 rtwn-rtl8188eufw.c             optional rtwn-rtl8188eufw | rtwnfw      =
\
        compile-with    "${AWK} -f $S/tools/fw_stub.awk =
rtwn-rtl8188eufw.fw:rtwn-rtl8188eufw:111 -mrtwn-rtl8188eufw =
-c${.TARGET}" \
        no-implicit-rule before-depend local               =20

>=20
> _______________________________________________
> freebsd-arm@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?856C64DC-08DD-4F5B-8208-EA4BC99C4240>