[mythtv] Win Build 23088 Fails
jll544 at yahoo.com
Sat Jan 9 00:51:23 UTC 2010
>From: Jonathan <jonathanjstevens at gmail.com>
>Win Build on 23088 appears to fail due to a missing gettimeofday
>This I assume is due to the lack of this function in MinGW time.h
If you are missing gettimeofday, your MinGW environment is badly out of date. The function went into the runtime at version 3.10 (mid-2006).
>So, after adding the advised code from that link to MinGW include/sys/time.h
>Then...when we get to httprequest.cpp
>../../../../Qt/4.5.3/include/QtCore/../../src/corelib/thread/qthread.h:129: error: template with C linkage
>httprequest.cpp:1466: error: expected `}' at end of input
You've broken something in time.h. Probably related to "#ifdef __cplusplus"
> is there a better way to deal with the lack of this function in MinGW?
Fix your time.h edits, or better yet, update your MinGW components to current versions.
More information about the mythtv-dev