SNDCTL_DSP_CHANNELS not defined in soundcard.h when installing KDE2.0.1

2000-12-14 Thread Raymond Law
I am using FreeBSD 4.0-Release and have installed kdesupport-2.0.1. I also set LIBS to -Wl,-export-dynamic as stated in ***. I did ldconfig -m $KDEDIR/lib and ldconfig -m $QTDIR/lib. I configured it and it seemed fine. But gmake fails and gives the following error: artsdsp.c: In function 'ioc

FreeBSD VM

2000-11-16 Thread Raymond Law
majflt doesn't increase when a process is generating page faults. Instead, the swapper process (pid 0) gets all the page faults and it is the same as the page faults given by cnt in vmmeter.c. Why is this happening? Is there a way to get the number of page faults generated by a SINGLE proces

system call and SYSCALL macro

2000-11-06 Thread Raymond Law
Hi: I am trying to implement a system call. I used the syscalls.master already. I know I have to modify libc, but this requires makeworld and all the binaries must be compiled again. If I don't want to modify libc, I know I have to use the SYSCALL macro or something like that. But I don't know