On Tue, Aug 15, 2006 at 12:31:43PM +0200, Jens Auer wrote:
> > Clearly I'm just missing a gettid definition, but does anyone know which
> > Debian/Ubuntu package (they're basically the same) it's in?
> > I have linux-kernel-headers 2.6.17-5.16 installed, I'm not sure where
> > else to look.
> On my Ubuntu System (Dapper with Ubuntu Kernel 2.6.15-26-686), the macro
> _syscall0 is defined in /usr/include/asm-i386/unistd.h
> and /usr/include/asm-x86_64/unistd.h. It comes with linux-kernel-headers
> package.

Hello Jens,

Thanks for your reply. That's left me more baffled:

[EMAIL PROTECTED]:~# grep -r syscall0 /usr/include/*
[EMAIL PROTECTED]:~# grep -r gettid /usr/include/*
/usr/include/asm-i386/unistd.h:#define __NR_gettid              224
/usr/include/asm-x86_64/unistd.h:#define __NR_gettid            186
/usr/include/asm-x86_64/unistd.h:__SYSCALL(__NR_gettid, sys_gettid)
/usr/include/bits/syscall.h:#define SYS_gettid __NR_gettid
/usr/include/directfb/direct/system.h:pid_t direct_gettid();

What do you get for those commands?


vdr mailing list

Reply via email to