Mailing List archive

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

[vdr] VDR fails to build (because of time.h inconsistency?)



This is where it breaks:
---
g++ -g -O2 -Wall -Woverloaded-virtual -mcpu=604e -c -DREMOTE_KBD -DREMOTE_ -D_GNU_SOURCE -DVIDEODIR=\"/video\" -DPLUGINDIR=\"./PLUGINS/lib\" -I../DVB/include dvbdevice.c
In file included from /usr/include/linux/videodev2.h:16,
                 from /usr/include/linux/videodev.h:8,
                 from dvbdevice.c:20:
/usr/include/linux/time.h:9: error: redefinition of `struct timespec'
/usr/include/time.h:119: error: previous definition of `struct timespec'
/usr/include/linux/time.h:15: error: redefinition of `struct timeval'
/usr/include/bits/time.h:70: error: previous definition of `struct timeval'
/usr/include/linux/time.h:354: error: redefinition of `struct itimerspec'
/usr/include/time.h:160: error: previous definition of `struct itimerspec'
make: *** [dvbdevice.o] Error 1
---

This looks like some trivial problem but I could not figure out what
to change to make it work.  VDR versions 1.2.5 and 1.2.6 do the same
thing.

System is Debian GNU/Linux, mostly "testing/sarge" on PowerPC, Linux
2.4.23 kernel.

-- 
 "pienena   /  Paavo "Rainbow Rat" Hartikainen
  minusta  /  E-mail: pahartik@sci.fi
  tulee   /  URL: http://www.sci.fi/~pahartik/
  rotta" /  EFnet: pahartik at #Atari and #LionKing


-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index