Opened 11 years ago

Closed 11 years ago

#6512 closed defect (invalid)

compiling for 2.6.29.2

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

Description (last modified by Dibblah)

Using kernel 2.6.29.2 I have been able to compile mythtv against all versions of the kernel except the 2.6.29.x series. I can not compile mythtv(20467), it errors with the following message.

 -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.1/include -I../libmythsamplerate -I../libmythsoundtouch -I../libmythfreesurround -I../libavcodec -I../libavutil -I../libmythdb -I../.. -I.. -I. -I../libmythupnp -I../libmythui -I. -I. -o audiooutputalsa.o audiooutputalsa.cpp
audiooutputalsa.cpp: In member function âint AudioOutputALSA::SetParameters(snd_pcm_t*, snd_pcm_format_t, unsigned int, unsigned int, unsigned int, unsigned int)â:
audiooutputalsa.cpp:459: warning: âint snd_pcm_sw_params_set_xfer_align(snd_pcm_t*, snd_pcm_sw_params_t*, snd_pcm_uframes_t)â is deprecated (declared at /usr/include/alsa/pcm.h:1115)
audiooutputalsa.cpp:459: warning: âint snd_pcm_sw_params_set_xfer_align(snd_pcm_t*, snd_pcm_sw_params_t*, snd_pcm_uframes_t)â is deprecated (declared at /usr/include/alsa/pcm.h:1115)
make[2]: *** [mythcdrom-linux.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/src/mythtv/mythtv/libs/libmyth'
make[1]: *** [sub-libmyth-make_default] Error 2
make[1]: Leaving directory `/src/mythtv/mythtv/libs'
make: *** [sub-libs-make_default-ordered] Error 2

Later, Jonathan

Change History (3)

comment:1 Changed 11 years ago by Dibblah

Description: modified (diff)
Status: newinfoneeded_new

This does not actually show an error. It appears that you are compiling with -j > 1. The actual error is above the part you posted.

Can you recompile without parallel compilation and post the actual build error?

comment:2 Changed 11 years ago by anonymous

thcdrom-linux.cpp In file included from /usr/src/linux-2.6.29.2/include/linux/byteorder/little_endian.h:12,

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

/usr/src/linux-2.6.29.2/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' make[1]: * [sub-libmyth-make_default] Error 2 make[1]: Leaving directory `/src/mythtv/mythtv/libs' make: * [sub-libs-make_default-ordered] Error 2

comment:3 Changed 11 years ago by Dibblah

Resolution: invalid
Status: infoneeded_newclosed
Note: See TracTickets for help on using tickets.