[mythtv] [mythtv-commits] Ticket #4397: win32 dependancy resolver and build script

buzz davidbuzz at gmail.com
Thu Jan 3 23:57:51 UTC 2008


>
> got as far as tring to build the sqldriver in qt:
>
> cd sqldrivers && \
>        mingw32-make -f Makefile
> mingw32-make[3]: Entering directory
> `C:/msys/1.0/qt-3.3.x-p8/plugins/src/sqldrivers'
> cd mysql && \
>        mingw32-make -f Makefile
> mingw32-make[4]: Entering directory
> `C:/msys/1.0/qt-3.3.x-p8/plugins/src/sqldrivers/mysql'
> g++ -c -mthreads -w -O2 -fexceptions -frtti  -DUNICODE -DQT_DLL
> -DQT_PLUGIN -DQT_THREAD_SUPPORT -DQT_ACCESSIBILITY_SUPPORT
> -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -I"C:\MSys\1.0\qt-3.3.x-p8/include"
> -I"tmp/moc/release-shared-mt/"
> -I"C:/MSys/1.0/qt-3.3.x-p8/mkspecs/win32-g++" -o obj/main.o main.cpp
> In file included from
> C:/MinGW//bin/../lib/gcc/mingw32/3.4.5/../../../../include/mysql.h:68,
>                 from ../../../../src/sql/drivers/mysql/qsql_mysql.h:49,
>                 from main.cpp:38:
>
> C:/MinGW//bin/../lib/gcc/mingw32/3.4.5/../../../../include/mysql_com.h:183:
> error: `SOCKET' does not name a type
>
> C:/MinGW//bin/../lib/gcc/mingw32/3.4.5/../../../../include/mysql_com.h:358:
> error: `SOCKET' was not declared in this scope
>
> C:/MinGW//bin/../lib/gcc/mingw32/3.4.5/../../../../include/mysql_com.h:358:
> error: expected primary-expression before "const"
>
> C:/MinGW//bin/../lib/gcc/mingw32/3.4.5/../../../../include/mysql_com.h:358:
> error: expected primary-expression before "unsigned"
>
> C:/MinGW//bin/../lib/gcc/mingw32/3.4.5/../../../../include/mysql_com.h:359:
> error: expected primary-expression before "unsigned"
>
> C:/MinGW//bin/../lib/gcc/mingw32/3.4.5/../../../../include/mysql_com.h:359:
> error: initializer expression list treated as compound expression
> mingw32-make[4]: *** [obj/main.o] Error 1
> mingw32-make[4]: Leaving directory
> `C:/msys/1.0/qt-3.3.x-p8/plugins/src/sqldrivers/mysql'
> mingw32-make[3]: *** [sub-mysql] Error 2
> mingw32-make[3]: Leaving directory
> `C:/msys/1.0/qt-3.3.x-p8/plugins/src/sqldrivers'
> mingw32-make[2]: *** [sub-sqldrivers] Error 2
> mingw32-make[2]: Leaving directory `C:/msys/1.0/qt-3.3.x-p8/plugins/src'
> mingw32-make[1]: *** [sub-plugins] Error 2
> mingw32-make[1]: Leaving directory `C:/MSys/1.0/qt-3.3.x-p8'
> mingw32-make: *** [init] Error 2
>
>

Simon,

That's either:
* a bug in the path handling of v7 of the Win32-packager.pl script.
or
* a problem with your mysql.h file.

Can you email me your c:/MinGW/include/mysql.h file offline (
davidbuzz at gmail.com) and I'll look into it and get back to you?

Buzz.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-dev/attachments/20080104/b5c39b9b/attachment-0001.htm 


More information about the mythtv-dev mailing list