Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#6407 closed defect (invalid)

kernel 2.6.29 error

Reported by: cybernard Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: MythTV - General Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

g++ -c -m64 -pipe -march=k8 -fomit-frame-pointer -O3 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -Wno-non-virtual-dtor -funit-at-a-time -DSTDC_CONSTANT_MACROS -D_REENTRANT -DPIC -fPIC -DMMX -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DUSING_OSS -DUSE_ALSA -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtGui -I/usr/include/QtXml -I/usr/include/QtXml -I/usr/include/QtSql -I/usr/include/QtSql -I/usr/include -I/usr/local/include -I/usr/src/linux-2.6.29/include -I../libmythsamplerate -I../libmythsoundtouch -I../libmythfreesurround -I../libavcodec -I../libavutil -I../libmythdb -I../.. -I.. -I. -I../libmythupnp -I../libmythui -I. -I. -o mythcdrom-linux.o mythcdrom-linux.cpp In file included from /usr/src/linux-2.6.29/include/linux/byteorder/little_endian.h:12,

from /usr/include/asm/byteorder.h:79, from /usr/src/linux-2.6.29/include/linux/cdrom.h:15, from mythcdrom-linux.cpp:3:

/usr/src/linux-2.6.29/include/linux/swab.h:6:22: error: asm/swab.h: No such file or directory make[2]: * [mythcdrom-linux.o] Error 1 make[2]: Leaving directory `/src/mythtv/mythtv/libs/libmyth'

Change History (2)

comment:1 Changed 11 years ago by Jarod Wilson

Resolution: invalid
Status: newclosed

Don't build against /usr/src/linux-2.6.29/include. That's full kernel headers. They're not prepped for userspace consumption. Use what's in /usr/include/linux. I've been building against 2.6.29 headers for quite a while now without problems.

comment:2 Changed 11 years ago by stuartm

Milestone: 0.22unknown
Note: See TracTickets for help on using tickets.