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

Michel Meyers steltek at tcnnet.com
Fri Dec 5 16:44:06 UTC 2008


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

Jonathan Martens wrote:
> On 5-12-2008 8:35, Michel Meyers wrote:
>> That doesn't work for me.
> 
> You are aware that this is a patch for mythtv/libs/libmythdb/compat.h?

Yes, but as I said before, uncommenting those bits doesn't help. I keep
getting a syntax error in unistd.h line 36:

make[2]: Entering directory `/C/mythtv/mythtv/libs/libavformat'
gcc -c -march=k8 -fomit-frame-pointer -O3 -Wall -Wno-switch
- -Wdisabled-optimizat
ion -Wpointer-arith -Wredundant-decls -funit-at-a-time -w
- -DQT_LARGEFILE_SUPPORT
 -DUSING_MINGW -DUSING_WINAUDIO -DUSING_D3D -DMMX -Di386 -DUSING_DIRECTX
- -D_GNU_
SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_AV_CONFIG_H -D_LARGEFILE_SOURCE
- -I'/C/mytht
v/build//include' -I'..' -I'../..' -I'../libavcodec' -I'../libavutil'
- -I'../libm
ythtv' -I'.'
- -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 `/C/mythtv/mythtv/libs/libavformat'
make[1]: *** [sub-libavformat-make_default-ordered] Error 2
make[1]: Leaving directory `/C/mythtv/mythtv/libs'
make: *** [sub-libs-make_default-ordered] Error 2


I guess something's off with my build directory. I'll have start over again.

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

iEYEARECAAYFAkk5WlYACgkQ2Vs+MkscAyVtYQCgiH5c2gLPmOq94StuToAgGC5d
yasAnjzYEzuiScSbAYIwv1iCl0SBcfir
=Jh7u
-----END PGP SIGNATURE-----



More information about the mythtv-dev mailing list