I've been trying to compile some kernel related packages (libcap, progreiserfs, ...).
All failed with the same culprit, the source code use "_syscall2" macro.
In the old kernel (2.4.x in Slackware 11), that macro was defined in /usr/include/asm/unistd.h,
but in the new kernel (220.127.116.11 Slackware 12), it is not there anymore.
The API changed announcement is here http://lwn.net/Articles/2.6-kernel-api/
But ... how to fix the error is still a mistery for me.
I've been googling for 1 week for this problem, no luck.
Please help ...