[mythtv] win32 fails to compile r21232: error in mythsocket

Jonathan Martens jonathan at snetram.nl
Wed Aug 12 18:45:27 UTC 2009


Any of the linux builders have issues with latest trunk builds? Today I 
experienced the following errors (see below). Any of you experiencing 
them on Linux compilation or is this only affecting the windows builds?

Even stranger is that the referenced line numbers not even contain a 
reference to 'socket'.
I already have cleaned out the source and retried as well as removing 
and re syncing mythsocket.* from the repository all with the same result. :(

Could this be due to any of the recent changes to mythsocket? I have 
been able to succesfully compile at least to r21167 IIRC, the only 
change in between that that touched mythsocket was r21231.

Will try and see if I can compile r21230.

Kind regards,

Jonathan

//-----------------------

cd libmythdb/ && make -f Makefile
make[2]: Entering directory `/u/mythtv/mythtv/libs/libmythdb'

[... all goes well here ...]

g++ -c -march=pentium4 -fomit-frame-pointer -O3 -DNDEBUG -g -Wall 
-Wno-switch -W
pointer-arith -Wredundant-decls -Wno-non-virtual-dtor -funit-at-a-time 
-D__STDC_
CONSTANT_MACROS -frtti -fexceptions -mthreads -DQT_LARGEFILE_SUPPORT 
-DWIN32 -DU
SING_MINGW -DUSING_WINAUDIO -DUSING_D3D -DMMX -Di386 -DUSING_DIRECTX 
-D_GNU_SOUR
CE -D_FILE_OFFSET_BITS=64 -DRUNPREFIX=\"..\" -DLIBDIRNAME=\"lib\" 
-DQT_THREAD_SU
PPORT -DQT_DLL -DQT_SQL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB 
-I'../..
/../../Qt/4.5.2/include/QtCore' 
-I'../../../../Qt/4.5.2/include/QtNetwork' -I'..
/../../../Qt/4.5.2/include/QtGui' -I'../../../../Qt/4.5.2/include/QtSql' 
-I'../.
./../../Qt/4.5.2/include' -I'/usr/include' -I'../../../build' 
-I'../../../../Qt/
4.5.2/include/ActiveQt' -I'.' -I'../../../../qt/4.5.2/mkspecs/win32-g++' 
-o myth
socket.o mythsocket.cpp

[... some qcc-4.2 and Qt-4.5.2 related junk: lots of warning: 
dereferencing type-punned pointer will break strict-aliasing rules ...]

mythsocket.cpp: In member function 'bool 
MythSocket::readStringList(QStringList&, bool)':
mythsocket.cpp:512: warning: comparison between signed and unsigned 
integer expressions
mythsocket.cpp: In member function 'virtual void MythSocketThread::run()':
mythsocket.cpp:897: warning: comparison between signed and unsigned 
integer expressions
mythsocket.cpp:906: error: 'class MythSocketThread' has no member named 
'socket'
mythsocket.cpp:919: error: 'class MythSocketThread' has no member named 
'socket'
mythsocket.cpp:937: warning: comparison between signed and unsigned 
integer expressions
mythsocket.cpp:939: error: 'class MythSocketThread' has no member named 
'socket'
mythsocket.cpp:968: error: 'class MythSocketThread' has no member named 
'socket'
mythsocket.cpp:972: error: 'class MythSocketThread' has no member named 
'socket'
mythsocket.cpp:860: warning: unused variable 'rfds'
mythsocket.cpp:862: warning: unused variable 'maxfd'
make[2]: *** [mythsocket.o] Error 1
make[2]: *** Waiting for unfinished jobs....

[... some qcc-4.2 and Qt-4.5.2 related junk: lots of warning: 
dereferencing type-punned pointer will break strict-aliasing rules ...]

make[2]: Leaving directory `/u/mythtv/mythtv/libs/libmythdb'
make[1]: *** [sub-libmythdb-make_default] Error 2
make[1]: *** Waiting for unfinished jobs....
make[2]: Entering directory `/u/mythtv/mythtv/libs/libavcodec'
make[2]: Nothing to be done for `first'.
make[2]: Leaving directory `/u/mythtv/mythtv/libs/libavcodec'
make[1]: Leaving directory `/u/mythtv/mythtv/libs'
make: *** [sub-libs-make_default-ordered] Error 2


More information about the mythtv-dev mailing list