9-STABLE (238719) compilation fails on i386

Volodymyr Kostyrko c.kworr at gmail.com
Wed Jul 25 06:27:23 UTC 2012


Volodymyr Kostyrko wrote:
> When building procstat I get this:
>
> clang -O2 -pipe -march=athlon-xp -std=gnu99 -Qunused-arguments
> -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -W
> -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes
> -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch
> -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline
> -Wnested-externs -Wredundant-decls -Wold-style-definition
> -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -c
> /usr/src/usr.bin/procstat/procstat_vm.c
> /usr/src/usr.bin/procstat/procstat_vm.c:76:36: error: use of undeclared
> identifier 'KVME_FLAG_GROWS_UP'
> printf("%-1s ", kve->kve_flags & KVME_FLAG_GROWS_UP ? "U" :
> ^
> /usr/src/usr.bin/procstat/procstat_vm.c:77:24: error: use of undeclared
> identifier 'KVME_FLAG_GROWS_DOWN'
> kve->kve_flags & KVME_FLAG_GROWS_DOWN ? "D" : "-");
> ^
> 2 errors generated.
> *** [procstat_vm.o] Error code 1
>
> Stop in /usr/src/usr.bin/procstat.

`make buildincludes installincludes` fixed this.

-- 
Sphinx of black quartz judge my vow.


More information about the freebsd-stable mailing list