Build failures on Ubuntu - gettid related

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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:

root@media:~# grep -r syscall0 /usr/include/*
root@media:~# 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();
root@media:~#

What do you get for those commands?

-- 
Chris


[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux