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:

[EMAIL PROTECTED]:~/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
[EMAIL PROTECTED]:~/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

_______________________________________________
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

Reply via email to