Am Mittwoch, 10. Mai 2006 17:13 schrieb Thomas Schlesinger: <snip>
> > Johannes, > > thank you very much! > > A make for esctrl gives me this error: > Warning: Object directory not changed from > original /home/thomas/Downloads/est/estctrl-0.7 > cc -O -pipe -mtune=pentiumpro -Wunknown-pragmas -Wsystem-headers -Wall -W > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type > -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align > -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -c estctrl.c > estctrl.c: In function `readtimes': > estctrl.c:85: warning: unused variable `i' > estctrl.c:86: warning: unused variable `error' > cc -O -pipe -mtune=pentiumpro -Wunknown-pragmas -Wsystem-headers -Wall -W > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type > -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align > -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -o estctrl > estctrl.o > > estctrl.o(.text+0x15): In function `readtimes': > : undefined reference to `kinfo_get_sched_cputime' > > *** Error code 1 > > I've looked into the Makefile and saw a required includefile "bsd.prog.mk". > Where can I get it? The file from pkgsrc/bootstrap/bmake/mk/bsd.prog.mk > seems not to work. > Well, Sascha Wildner told me meanwhile, that kinfo_get_sched_cputime() was removed about a year ago. It was at least a try ;-) Thomas