Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jul 2016 12:25:30 +0300
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        Matthias Apitz <guru@unixarea.de>, freebsd-ports@freebsd.org, samm@os2.kiev.ua
Subject:   Re: sysutils/atop fails to build in head r302904 with poudriere
Message-ID:  <20160717092529.GR38613@kib.kiev.ua>
In-Reply-To: <20160717084017.GA2385@c720-r292778-amd64>
References:  <20160717084017.GA2385@c720-r292778-amd64>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jul 17, 2016 at 10:40:17AM +0200, Matthias Apitz wrote:
> clang -O2 -pipe  -fstack-protector -fno-strict-aliasing -Wall -DFREEBSD -c photoproc.c -o photoproc.o
> photoproc.c:397:51: error: use of undeclared identifier 'P_KTHREAD'
>             ((pp->ki_flag & P_SYSTEM ) || (pp->ki_flag & P_KTHREAD)))
>                                                          ^
> photoproc.c:464:75: error: use of undeclared identifier 'P_KTHREAD'
>                         if (filterkernel && ((pbase->ki_flag & P_SYSTEM ) || (pbase->ki_flag & P_KTHREAD)))
>                                                                                                ^
> photoproc.c:577:74: error: use of undeclared identifier 'P_KTHREAD'
>                 if (filterkernel && ((pbase->ki_flag & P_SYSTEM ) || (pbase->ki_flag & P_KTHREAD))) 
>                                                                                        ^
> photoproc.c:674:51: error: use of undeclared identifier 'P_KTHREAD'
>                 if ((pp->ki_flag & P_SYSTEM ) || (pp->ki_flag & P_KTHREAD))
>                                                                 ^
> photoproc.c:690:44: error: use of undeclared identifier 'P_KTHREAD'
>             curtask->cpu.rtprio = ((pp->ki_flag & P_KTHREAD) ? pp->ki_pri.pri_native :
>                                                   ^
> photoproc.c:694:44: error: use of undeclared identifier 'P_KTHREAD'
>             curtask->cpu.rtprio = ((pp->ki_flag & P_KTHREAD) ? pp->ki_pri.pri_native :

The flag was renamed to P_KPROC in HEAD/stable-12.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160717092529.GR38613>