g++ -c -pipe -march=prescott -Wall -W -O3 -Wall -Wno-switch -fomit-frame-pointer -I/usr/include/freetype2 -D_REENTRANT -DPIC -fPIC -DMMX -Di386 -DHAVE_DVDNAV -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\" -DLIBDIR=\"/usr/lib\" -D_LARGEFILE_SOURCE -DUSING_OSS -DUSING_OPENGL_VSYNC -DUSING_XV -DUSING_FRONTEND -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/include -I/usr/include -I../.. -I.. -I../libmyth -I../libavcodec -I../libavutil -I../libmythmpeg2 -Idvbdev -Impeg -I/usr/qt/3/include -I/usr/include -I/usr/include -o moc_sr_dialog.o moc_sr_dialog.cpp
distcc[15358] ERROR: compile /var/tmp/ccache/vsync.tmp.Neptune.15322.ii on localhost failed
In file included from /usr/include/linux/bitops.h:77,
from /usr/include/linux/interrupt.h:8,
from /usr/include/linux/rtc.h:14,
from vsync.cpp:47:
/usr/include/asm/bitops.h:250: error: `always_inline' was not declared in this scope
/usr/include/asm/bitops.h:250: error: expected `)' before "inline"
/usr/include/asm/bitops.h:250: error: expected `)' before "inline"
/usr/include/asm/bitops.h:250: error: expected unqualified-id before ')' token
In file included from /usr/include/linux/preempt.h:10,
from /usr/include/linux/interrupt.h:9,
from /usr/include/linux/rtc.h:14,
from vsync.cpp:47:
/usr/include/linux/thread_info.h: In function `int test_ti_thread_flag(thread_info*, int)':
/usr/include/linux/thread_info.h:50: error: `constant_test_bit' was not declared in this scope
In file included from /usr/include/linux/wait.h:21,
from /usr/include/asm/semaphore.h:4,
from /usr/include/linux/sched.h:20,
from /usr/include/linux/smp_lock.h:6,
from /usr/include/linux/hardirq.h:6,
from /usr/include/linux/interrupt.h:11,
from /usr/include/linux/rtc.h:14,
from vsync.cpp:47:
/usr/include/linux/list.h: In function `void INIT_LIST_HEAD(list_head*)':
/usr/include/linux/list.h:39: error: invalid use of undefined type `struct list_head'
/usr/include/linux/list.h:37: error: forward declaration of `struct list_head'
/usr/include/linux/list.h:40: error: invalid use of undefined type `struct list_head'
/usr/include/linux/list.h:37: error: forward declaration of `struct list_head'
/usr/include/linux/list.h: In function `int list_empty(const list_head*)':
/usr/include/linux/list.h:57: error: invalid use of undefined type `const struct list_head'
/usr/include/linux/list.h:37: error: forward declaration of `const struct list_head'
In file included from /usr/include/linux/wait.h:25,
from /usr/include/asm/semaphore.h:4,
from /usr/include/linux/sched.h:20,
from /usr/include/linux/smp_lock.h:6,
from /usr/include/linux/hardirq.h:6,
from /usr/include/linux/interrupt.h:11,
from /usr/include/linux/rtc.h:14,
from vsync.cpp:47:
/usr/include/asm/current.h: At global scope:
/usr/include/asm/current.h:8: error: `always_inline' was not declared in this scope
/usr/include/asm/current.h:8: error: expected `)' before "inline"
/usr/include/asm/current.h:8: error: expected `)' before "inline"
/usr/include/asm/current.h:8: error: expected unqualified-id before ')' token
In file included from /usr/include/linux/wait.h:26,
from /usr/include/asm/semaphore.h:4,
from /usr/include/linux/sched.h:20,
from /usr/include/linux/smp_lock.h:6,
from /usr/include/linux/hardirq.h:6,
from /usr/include/linux/interrupt.h:11,
from /usr/include/linux/rtc.h:14,
from vsync.cpp:47:
/usr/include/linux/pid.h:23: error: field `pid_list' has incomplete type
In file included from /usr/include/asm/semaphore.h:4,
from /usr/include/linux/sched.h:20,
from /usr/include/linux/smp_lock.h:6,
from /usr/include/linux/hardirq.h:6,
from /usr/include/linux/interrupt.h:11,
from /usr/include/linux/rtc.h:14,
from vsync.cpp:47:
/usr/include/linux/wait.h:41: error: field `task_list' has incomplete type
/usr/include/linux/wait.h:56: error: field `task_list' has incomplete type
/usr/include/linux/wait.h: In function `void init_waitqueue_head(wait_queue_head_t*)':
/usr/include/linux/wait.h:89: error: 'struct __wait_queue_head' has no member named 'task_list'
/usr/include/linux/wait.h: In function `int waitqueue_active(wait_queue_head_t*)':
/usr/include/linux/wait.h:117: error: 'struct __wait_queue_head' has no member named 'task_list'
In file included from /usr/include/linux/sched.h:107,
from /usr/include/linux/smp_lock.h:6,
from /usr/include/linux/hardirq.h:6,
from /usr/include/linux/interrupt.h:11,
from /usr/include/linux/rtc.h:14,
from vsync.cpp:47:
/usr/include/linux/timer.h: At global scope:
/usr/include/linux/timer.h:12: error: field `entry' has incomplete type
/usr/include/linux/timer.h: In function `int timer_pending(const timer_list*)':
/usr/include/linux/timer.h:57: error: 'const struct timer_list' has no member named 'entry'
In file included from /usr/include/linux/hrtimer.h:19,
from /usr/include/linux/sched.h:108,
from /usr/include/linux/smp_lock.h:6,
from /usr/include/linux/hardirq.h:6,
from /usr/include/linux/interrupt.h:11,
from /usr/include/linux/rtc.h:14,
from vsync.cpp:47:
/usr/include/linux/ktime.h: In function `ktime_t ktime_set(long int, long unsigned int)':
/usr/include/linux/ktime.h:80: error: expected primary-expression before ')' token
/usr/include/linux/ktime.h:80: error: expected `;' before '{' token
/usr/include/linux/ktime.h:80: error: expected primary-expression before '.' token
/usr/include/linux/ktime.h:80: error: expected `;' before '}' token
In file included from /usr/include/linux/rtc.h:14,
from vsync.cpp:47:
/usr/include/linux/interrupt.h: In function `void tasklet_unlock_wait(tasklet_struct*)':
/usr/include/linux/interrupt.h:195: error: `constant_test_bit' was not declared in this scope
In file included from vsync.h:22,
from vsync.cpp:51:
/usr/include/sys/time.h: At global scope:
/usr/include/sys/time.h:58: error: redefinition of `struct timezone'
/usr/include/linux/time.h:29: error: previous definition of `struct timezone'
/usr/include/sys/time.h:96: error: expected identifier before numeric constant
/usr/include/sys/time.h:96: error: expected `}' before numeric constant
/usr/include/sys/time.h:96: error: expected unqualified-id before numeric constant
/usr/include/sys/time.h:110: error: redefinition of `struct itimerval'
/usr/include/linux/time.h:186: error: previous definition of `struct itimerval'
/usr/include/sys/time.h:191: error: expected declaration before '}' token
make[2]: *** [vsync.o] Error 1
make[2]: *** Waiting for unfinished jobs....
videosource.cpp: In member function `void CardInput::channelScanner()':
videosource.cpp:1909: warning: unused variable 'srcid'
videosource.cpp: At global scope:
videosource.cpp:2482: warning: unused parameter 'diseq_type'
make[2]: Leaving directory `/var/tmp/portage/mythtv-0.19_p9163-r1/work/mythtv-0.19/libs/libmythtv'
make[1]: *** [sub-libmythtv] Error 2
make[1]: Leaving directory `/var/tmp/portage/mythtv-0.19_p9163-r1/work/mythtv-0.19/libs'
make: *** [sub-libs] Error 2
!!! ERROR: media-tv/mythtv-0.19_p9163-r1 failed.
Call stack:
ebuild.sh, line 1521: Called dyn_compile
ebuild.sh, line 924: Called src_compile
mythtv-0.19_p9163-r1.ebuild, line 217: Called die
!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.