[mythtv] Win32-Packager fails to compile QT4 (Was: Win32 port fails to compile Freetype)

Michel Meyers steltek at tcnnet.com
Fri Dec 5 23:25:05 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jonathan Martens wrote:
> On 5-12-2008 21:45, Frederick Aalbue wrote:
>>> -I'../../../../MSys/1.0/qt-win-opensource-src-4.4.0/mkspecs/win32-g
>>> ++' -o os_support.o os_support.c
>>> In file included from os_support.c:24:
>>> c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/unistd.h:36:
>>> error: sy
>>> ntax error before '(' token
>>> make[2]: *** [os_support.o] Error 1
>>> make[2]: Leaving directory
>>
>> Hello Michel...
>>
>> Had the same problem...
>>
>> in unistd.h
>>      - commented out #include<sys/types.h>
>>      - changed useconds_t  to 'unsigned int'
>>
>> got by this error....not sure why, but completed the entire compile.
>>
>> Fred

Thanks, I'll give it a try.

> What version are you using? Against which revision did you compile?
> 
> I did not have to do this with MinGW-5.1.4 and r18962, only needed to 
> add one more patch for the fact that dvd_reader.c contains a

I'm using 18791 (the default in w32packager.)

Greetings,
       Michel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)

iEYEARECAAYFAkk5uFEACgkQ2Vs+MkscAyVrZQCgpQYOXT8cE/gObRJeREocaFJ6
TqcAoJ6PHOoQrZjwBvMR5eG7KteePTRM
=5MQB
-----END PGP SIGNATURE-----



More information about the mythtv-dev mailing list