Build failures on Ubuntu - gettid related

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

 



Hello,

I'm trying to get vdr-1.4.0 built on Ubuntu. I'm using the source from
the apt repository (apt-get source vdr).

I'm getting this:

root@media:~/vdr-1.4.0# make
g++ -fPIC -g -O2 -Wall -Woverloaded-virtual -c -DREMOTE_KBD -DLIRC_DEVICE=\"/dev/lircd\" -DRCU_DEVICE=\"/dev/ttyS1\" -D_GNU_SOURCE -DVIDEODIR=\"/video\" -DPLUGINDIR=\"./PLUGINS/lib\"  thread.c
thread.c:319: error: 'gettid' has not been declared
thread.c:321: error: expected constructor, destructor, or type conversion before 'tThreadId'
make: *** [thread.o] Error 1
root@media:~/vdr-1.4.0#

If I comment out the line:
_syscall0(pid_t, gettid)

And change the gettid() call just below it into:
  return syscall(224);

Then it builds, and seems to work fine.
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.

thanks!
-- 
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