Hi all. 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. -- Sphinx of black quartz judge my vow.
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.