Opened 11 years ago
Closed 11 years ago
#11835 closed Bug Report - General (fixed)
0.27 is failing to build on powerpc
Reported by: | Owned by: | Stuart Auchterlonie | |
---|---|---|---|
Priority: | minor | Milestone: | 0.27 |
Component: | MythTV - General | Version: | Master Head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
In trying to get 0.27 into Ubuntu, I noticed that the powerpc build is not passing.
ccache g++ -c -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -maltivec -DNDEBUG -fomit-frame-pointer -fPIC -mabi=altivec -pthread -g -Wall -Wpointer-arith -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -fvisibility-inlines-hidden -Wmissing-declarations -Wno-switch -Woverloaded-virtual -funit-at-a-time -fvisibility=hidden -D_REENTRANT -fPIC -Dusing_libcec -D_GNU_SOURCE -DMYTH_API -DUSING_OSS -DUSING_PULSE -DUSING_PULSEOUTPUT -Dlinux -DUSING_ALSA -DQT_SCRIPT_LIB -DQT_SQL_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I/usr/include/qt4/QtDBus -I/usr -I/usr/include/libxml2 -I../../external/qjson/include -I../../external/libsamplerate -I../libmythsoundtouch -I../libmythfreesurround -I../libmythbase -I../.. -I.. -I. -I../libmythupnp -I../libmythui -I../../external/FFmpeg -I. -o audioconvert.o audio/audioconvert.cpp audio/audiooutpututil.cpp: In static member function 'static char* AudioOutputUtil::GeneratePinkFrames(char*, int, int, int, int)': audio/audiooutpututil.cpp:219:52: error: 'bswap_16' was not declared in this scope *samp16++ = LE_SHORT(ires >> 16); ^ audio/audiooutpututil.cpp:221:46: error: 'bswap_32' was not declared in this scope *samp32++ = LE_INT(ires); ^ make[4]: *** [audiooutpututil.o] Error 1
It was passing on 0.26 previously, so something most likely with the move to bswap.h is causing a failure.
Attachments (1)
Change History (5)
Changed 11 years ago by
Attachment: | 0001-Re-order-the-includes-in-audiooutpututil.cpp-to-fix-.patch added |
---|
comment:1 Changed 11 years ago by
I set up a qemu environment to play with this failure and came to the conclusion that the toolchain isn't happy with the order of includes being wrong. Fixing the include order allows the compilation to proceed happily past this failure.
comment:2 Changed 11 years ago by
Milestone: | unknown → 0.27 |
---|---|
Owner: | set to Stuart Auchterlonie |
Status: | new → assigned |
Version: | Unspecified → Master Head |
comment:4 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Patch to fix problem