[mythtv-commits] Ticket #6516: Mythfilldatabase times out when rescheduling
MythTV
mythtv at cvs.mythtv.org
Sun Aug 30 09:27:56 UTC 2009
#6516: Mythfilldatabase times out when rescheduling
------------------------------------------+---------------------------------
Reporter: Joel <mythtv at ebel.mybox.org> | Owner: danielk
Type: defect | Status: assigned
Priority: blocker | Milestone: 0.22
Component: MythTV - General | Version: head
Severity: medium | Resolution:
Mlocked: 0 |
------------------------------------------+---------------------------------
Comment(by Jonathan Martens <jonathan at snetram.nl>):
Replying to [comment:10 danielk]:
> (In [21591]) Refs #6516. This simply moves MythSocketThread into it's
own set of files and reorders a couple variables in MythSocket.
>
> This commit is simply to keep formatting changes seperate from the
functional changes in a later changeset which speeds up some myth socket
processing. This does change the plugin ABI so the plugins need
recompiling.
This commit seems to make compilation on windows fail:
{{{
bash.exe"-3.1$ cd libs/libmythdb/
bash.exe"-3.1$ make
makefile:185: warning: overriding commands for target `version.cpp'
makefile:182: warning: ignoring old commands for target `version.cpp'
u:/qt/4.5.2/bin/qmake.exe -win32 -o Makefile libmythdb.pro
makefile:185: warning: overriding commands for target `version.cpp'
makefile:182: warning: ignoring old commands for target `version.cpp'
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'/u/mythtv/build'
-I'../../../../Qt
/4.5.2/include/ActiveQt' -I'.' -I'../../../../qt/4.5.2/mkspecs/win32-g++'
-o myt
hsocket.o mythsocket.cpp
mythsocket.cpp: In member function 'bool
MythSocket::readStringList(QStringList&
, uint)':
mythsocket.cpp:497: warning: comparison between signed and unsigned
integer expr
essions
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'/u/mythtv/build'
-I'../../../../Qt
/4.5.2/include/ActiveQt' -I'.' -I'../../../../qt/4.5.2/mkspecs/win32-g++'
-o myt
hsocketthread.o mythsocketthread.cpp
mythsocketthread.cpp:6:38: error: sys/select.h: No such file or directory
mythsocketthread.cpp: In member function 'virtual void
MythSocketThread::run()':
mythsocketthread.cpp:237: warning: comparison between signed and unsigned
intege
r expressions
mythsocketthread.cpp:160: warning: unused variable 'rfds'
mythsocketthread.cpp:162: warning: unused variable 'maxfd'
make: *** [mythsocketthread.o] Error 1
bash.exe"-3.1$
}}}
According to the changeset this has been fixed in the past like this as
sys/select.h is not in MINGW's includes:
#ifdef USING_MINGW
#include <winsock2.h>
#else
#include <sys/select.h>
#endif
I will attach a patch that fixes compilation on Windows again.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6516#comment:11>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list