[mythtv] Compile error in svn 19540 for OS/X - lirc.cpp

Stephen Hocking stephen.hocking at gmail.com
Sat Jan 3 00:07:13 UTC 2009


Looks like a missing sys/types.h.

g++ -c -pipe -march=nocona -fomit-frame-pointer -O3 -Wall -Wno-switch
-Wpointer-arith -Wredundant-decls -Wno-non-virtual-dtor
-funit-at-a-time -D__STDC_CONSTANT_MACROS -Wno-long-double
-F/System/Library/Frameworks/ApplicationServices.framework/Frameworks
-F/System/Library/Frameworks/Carbon.framework/Frameworks -DPIC -fPIC
-DMMX -Di386 -DUSING_APPLEREMOTE -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
-DUSE_LIRC -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_XML_LIB -DQT_OPENGL_LIB
-DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED
-I/src/MythTV/trunk/packaging/OSX/build/.osx-packager/build/mkspecs/macx-g++
-I. -I/src/MythTV/trunk/packaging/OSX/build/.osx-packager/build/include/QtCore
-I/src/MythTV/trunk/packaging/OSX/build/.osx-packager/build/include/QtCore
-I/src/MythTV/trunk/packaging/OSX/build/.osx-packager/build/include/QtNetwork
-I/src/MythTV/trunk/packaging/OSX/build/.osx-packager/build/include/QtNetwork
-I/src/MythTV/trunk/packaging/OSX/build/.osx-packager/build/include/QtGui
-I/src/MythTV/trunk/packaging/OSX/build/.osx-packager/build/include/QtGui
-I/src/MythTV/trunk/packaging/OSX/build/.osx-packager/build/include/QtOpenGL
-I/src/MythTV/trunk/packaging/OSX/build/.osx-packager/build/include/QtOpenGL
-I/src/MythTV/trunk/packaging/OSX/build/.osx-packager/build/include/QtXml
-I/src/MythTV/trunk/packaging/OSX/build/.osx-packager/build/include/QtXml
-I/src/MythTV/trunk/packaging/OSX/build/.osx-packager/build/include/QtSql
-I/src/MythTV/trunk/packaging/OSX/build/.osx-packager/build/include/QtSql
-I/src/MythTV/trunk/packaging/OSX/build/.osx-packager/build/include
-I/src/MythTV/trunk/packaging/OSX/build/.osx-packager/build/include
-I/src/MythTV/trunk/packaging/OSX/build/.osx-packager/build/include
-I../libmythdb -I../.. -I..
-I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers
-I/System/Library/Frameworks/AGL.framework/Headers -I. -I. -o lirc.o
lirc.cpp
lirc.cpp: In member function 'bool LIRC::Init()':
lirc.cpp:232: error: 'uint' was not declared in this scope
lirc.cpp:232: error: expected `;' before 'port'
lirc.cpp:237: error: 'port' was not declared in this scope
lirc.cpp:243: error: 'port' was not declared in this scope
lirc.cpp: In member function 'virtual void LIRC::run()':
lirc.cpp:458: error: 'uint' was not declared in this scope
lirc.cpp:458: error: expected `;' before 'i'
lirc.cpp:458: error: 'i' was not declared in this scope
lirc.cpp:458: error: expected `;' before 'codes'
lirc.cpp:458: error: expected `)' before ';' token
lirc.cpp:458: error: 'i' was not declared in this scope
lirc.cpp:458: error: expected `;' before ')' token
lirc.cpp: In member function 'QList<QByteArray> LIRC::GetCodes()':
lirc.cpp:510: error: 'uint' was not declared in this scope
lirc.cpp:510: error: expected `)' before 'buf'
lirc.cpp:512: error: 'uint' was not declared in this scope
lirc.cpp:512: error: expected `;' before 'tmpc'
lirc.cpp:516: error: 'tmpc' was not declared in this scope
lirc.cpp:526: error: no matching function for call to
'QByteArray::resize(<type error>)'
/src/MythTV/trunk/packaging/OSX/build/.osx-packager/build/include/QtCore/qbytearray.h:134:
note: candidates are: void QByteArray::resize(int)
make[2]: *** [lirc.o] Error 1
make[1]: *** [sub-libmythui-make_default-ordered] Error 2
make: *** [sub-libs-make_default-ordered] Error 2
[osx-pkg] Failed system call: " /usr/bin/make  " with error code 2
Died at ./osx-packager.pl line 889.
bloop:build shocking$ find .osx-packager -name lirc.cpp
.osx-packager/src/myth-svn/mythtv/libs/libmythui/lirc.cpp


More information about the mythtv-dev mailing list