Re: Can't cross-compile HEAD

From: Pavel Timofeev <timp87_at_gmail.com>
Date: Fri, 10 Jan 2020 09:31:13 +0300
чт, 9 янв. 2020 г. в 16:52, Pavel Timofeev <timp87_at_gmail.com>:
>
> Hello
>
> I'm trying to cross-compile HEAD r356551 for mips on my FreeBSD-12.1 amd64.
> I'm using mips-gcc6-6.5.0 and this
> https://github.com/freebsd/freebsd-wifi-build nice project to build
> image for my tl-wdr3600
>
> The error I'm getting is:
> ...
> ===> usr.sbin/fmtree (all)
> ===> usr.bin/vi (all)
> ===> usr.sbin/freebsd-update (all)
> ===> usr.sbin/gpioctl (all)
> ===> usr.sbin/inetd (all)
> /usr/home/pavel.timofeev/mips/head/usr.sbin/inetd/inetd.c: In function
> 'getconfigent':
> /usr/home/pavel.timofeev/mips/head/usr.sbin/inetd/inetd.c:1614:6:
> warning: variable 'v4bind' set but not used
> [-Wunused-but-set-variable]
>   int v4bind;
>       ^~~~~~
> At top level:
> /usr/home/pavel.timofeev/mips/head/usr.sbin/inetd/inetd.c:33:19:
> warning: 'copyright' defined but not used [-Wunused-const-variable=]
>  static const char copyright[] =
>                    ^~~~~~~~~
> /usr/home/pavel.timofeev/mips/head/usr.sbin/inetd/inetd.c: In function 'setup':
> /usr/home/pavel.timofeev/mips/head/usr.sbin/inetd/inetd.c:1368:4:
> error: 'netid' may be used uninitialized in this function
> [-Werror=maybe-uninitialized]
>     rpcb_set(sep->se_rpc_prog, i, netid, &nbuf);
>     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cc1: all warnings being treated as errors
> --- inetd.o ---
> *** [inetd.o] Error code 1
>
>
> Could anybody please help fix that?



Terribly sorry, I forgot to mention a very important detail.
My src.conf has the only option now.
It's WITHOUT_INET6="YES"
Received on Fri Jan 10 2020 - 05:31:27 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:22 UTC