April 18, 2015, 12:22:30 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
Author Topic: Help ... syscall was removed, then ???  (Read 2783 times)
Posts: 96

Eko M. Budi

« on: July 17, 2007, 10:47:28 pm »

Hi all.

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 ( Slackware 12), it is not there anymore.

The API changed announcement is here

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 ...


« Last Edit: July 17, 2007, 10:51:14 pm by Kocil » Logged
Global Moderator
Posts: 2160

« Reply #1 on: July 18, 2007, 11:52:35 am »

Kocil, if I remember correctly, one of the changes from 2.4 to 2.6 was that the headers had to be sanitized before being installed to /usr/include. I've made a sanitized 2.6 kernel headers package for the repo a while ago, so this should solve your problem.

slapt-get --install kernel-headers

Or get it here:

There is indeed a file called unistd.h in that package that will be installed to /usr/include.  Smiley

Posts: 96

Eko M. Budi

« Reply #2 on: July 20, 2007, 12:01:01 am »

Thanks easuter.

That will solve the problem, because kernel 2.6.18.x is OK.
However, it does not help for the newer kernel.
The _syscall macros have removed since 2.6.19.
Pages: [1]
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!