Open dattrq opened 3 years ago
hi
Interesting, are oyu building a freebsd-12.2 tree, or a freebsd-current tree?
-adrian
On Mon, 7 Dec 2020 at 20:18, dattrq notifications@github.com wrote:
i'm use freebsd 12.2 and try to build image for follow AtherosReferenceAP143 guide , but build error /usr/home/work/freebsd/usr.bin/calendar/events.c:207:14: error: implicit declaration of function 'nl_langinfo' [-Werror=implicit-function-declaration] d_first = (nl_langinfo(D_MD_ORDER) == 'd'); ^
~~/usr/home/work/freebsd/usr.bin/calendar/events.c:207:2: error: nested extern declaration of 'nl_langinfo' [-Werror=nested-externs] d_first = (nl_langinfo(D_MD_ORDER) == 'd'); ^~~ /usr/home/work/freebsd/usr.bin/calendar/events.c:207:13: error: invalid type argument of unary '' (have 'int') d_first = (nl_langinfo(D_MD_ORDER) == 'd'); ^~~~~~~~— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
hi Interesting, are oyu building a freebsd-12.2 tree, or a freebsd-current tree? … -adrian On Mon, 7 Dec 2020 at 20:18, dattrq @.**> wrote: i'm use freebsd 12.2 and try to build image for follow AtherosReferenceAP143 guide , but build error /usr/home/work/freebsd/usr.bin/calendar/events.c:207:14: error: implicit declaration of function 'nl_langinfo' [-Werror=implicit-function-declaration] d_first = (nl_langinfo(D_MD_ORDER) == 'd'); ^
~~/usr/home/work/freebsd/usr.bin/calendar/events.c:207:2: error: nested extern declaration of 'nl_langinfo' [-Werror=nested-externs] d_first = (nl_langinfo(D_MD_ORDER) == 'd'); ^~~ /usr/home/work/freebsd/usr.bin/calendar/events.c:207:13: error: invalid type argument of unary '' (have 'int') d_first = (*nl_langinfo(D_MD_ORDER) == 'd'); ^~~~~~~~ — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
thank for your response, i use freebsd-current tree . i use this guide : $ sudo pkg install lzma rsync perl5 mips-xtoolchain-gcc u-boot-tools <this part will run as root; but all of the build below can happen as a user> $ mkdir -p /data/freebsd/head/src $ cd /data/freebsd $ git clone https://github.com/freebsd/freebsd-wifi-build.git /data/freebsd/build $ svn checkout https://svn.freebsd.org/base/head /data/freebsd/head/src $ cd /data/freebsd/head/src/ $ /data/freebsd/build/build/bin/build ap143
Ok,
Lemme try AP143 and i'll get back to you.
-a
do you have information of system build AP143 successful? about host PC freebsd version, freebsd source tree version and freebsd-wifi-build?
I haven't tried ap143 in a while. let me try it out and fix whatever is broken
-a
On Wed, 9 Dec 2020 at 00:43, dattrq notifications@github.com wrote:
do you have information of system build AP143 successful? about host PC freebsd version, freebsd source tree version and freebsd-wifi-build?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/freebsd/freebsd-wifi-build/issues/144#issuecomment-741624595, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAI2L3MA5WBCXFPUET7COHTST42EDANCNFSM4URMWVKA .
do you debug this error ? i'm trying build "/home/work/erikarn/freebsd-wifi-build/build/bin/build ap143 buildworld" but still error
In file included from /usr/home/work/erikarn/freebsd-stable-12/lib/libc/gen/scandir.c:50:0,
from /usr/home/work/erikarn/freebsd-stable-12/lib/libc/gen/scandir_b.c:29:
/usr/home/work/erikarn/freebsd-stable-12/lib/libc/include/block_abi.h:45:2: error: anonymous struct declared inside parameter list will not be visible outside of this defiition or declaration [-Werror]
struct {\
^
/usr/home/work/erikarn/freebsd-stable-12/lib/libc/gen/scandir.c:65:5: note: in expansion of macro 'DECLARE_BLOCK'
DECLARE_BLOCK(int, dcomp, const struct dirent , const struct dirent ))
^~~~~
/usr/home/work/erikarn/freebsd-stable-12/lib/libc/include/block_abi.h:45:2: error: anonymous struct declared inside parameter list will not be visible outside of this defiition or declaration [-Werror]
struct {\
^
/usr/home/work/erikarn/freebsd-stable-12/lib/libc/gen/scandir.c:64:5: note: in expansion of macro 'DECLARE_BLOCK'
DECLARE_BLOCK(int, select, const struct dirent *),
^~~~~
i think error in cross compile for mips but i don't find gcc configure option
i'm use freebsd 12.2 and try to build image for follow AtherosReferenceAP143 guide , but build error /usr/home/work/freebsd/usr.bin/calendar/events.c:207:14: error: implicit declaration of function 'nl_langinfo' [-Werror=implicit-function-declaration] d_first = (nl_langinfo(D_MD_ORDER) == 'd'); ^
~~/usr/home/work/freebsd/usr.bin/calendar/events.c:207:2: error: nested extern declaration of 'nl_langinfo' [-Werror=nested-externs] d_first = (nl_langinfo(D_MD_ORDER) == 'd'); ^~~ /usr/home/work/freebsd/usr.bin/calendar/events.c:207:13: error: invalid type argument of unary '' (have 'int') d_first = (nl_langinfo(D_MD_ORDER) == 'd'); ^~~~~~~~