[mythtv] SVN 7495 error on mythmedia.cpp

Graeme Hilton graeme.hilton at fishter.org.uk
Sun Oct 16 19:16:35 UTC 2005


I get the following error when compiling SVN74

g++ -c -pipe -march=k8 -I/usr/include/kde/artsc -pthread
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -W -O3 -Wall
-Wno-switch -fomit-frame-pointer -D_REENTRANT -DPIC -fPIC  -DMMX
-DUSING_DBOX2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\"
-DUSING_OSS -DUSE_ALSA -DUSE_JOYSTICK_MENU -DUSE_LIRC -DUSE_ARTS
-DUSING_XRANDR -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED
-I/usr/lib64/qt-3.3/mkspecs/default -I. -I/usr/local/include
-I/usr/src/kernels/2.6.13-1.1526_FC4-x86_64/include -I/usr/X11R6/include
-I../libmythsamplerate -I../libmythsoundtouch -I../..
-I/usr/lib64/qt-3.3/include -o mythmedia.o mythmedia.cpp
In file included from
/usr/src/kernels/2.6.13-1.1526_FC4-x86_64/include/asm/param.h:1,
                 from
/usr/src/kernels/2.6.13-1.1526_FC4-x86_64/include/linux/param.h:4,
                 from /usr/include/sys/param.h:24,
                 from mythmedia.cpp:6:
/usr/src/kernels/2.6.13-1.1526_FC4-x86_64/include/linux/config.h:6:2:
error: #error including kernel header in userspace; use the glibc headers
instead!

Is this a problem with Myth, or a problem with my recently downloaded
kernel headers?  I haven't knowingly changed anything else in the build
environment.

-- 
Graeme Hilton


More information about the mythtv-dev mailing list