A question about the mysql.h header file:
On line 48-54 the macro my_socket is defined (to value SOCKET) if the
system is Windows. When I try to compile the libdbi-driver for mysql, this
leads to an error in mysql_com.h on line 116 (because SOCKET is not
defined...) Is there something missing in the libdbi files in connection
with this?
How is this handled in the cygwin build of libdbi?
(mysql.h includes winsock.h if __LCC__ is defined, which is set if the
lcc-win32 compiler by Jacob Navia is used...
On the other hand, winsock.h refer to the constants __INSIDE_CYGWIN__ and
__INSIDE_MSYS__.)
Best regards
/Tom
At 14:46 2005-10-07, Markus Hoenicka wrote:
[I've forwarded your mail to the appropriate mailing list. Please cc the
list in
future replies]
> [EMAIL PROTECTED] /c/libdbi-drivers-0.8.0
> $ make libmysql-dll -f Makefile.w32 LDFLAGS="-L/usr/local/lib/mysql"
> CPPFLAGS="
I'm not sure whether we can expect these Makefiles to work with MinGW.
They were
developed for Cygwin. The suffix .w32 may be misleading, but at the time of
their inception there was only one way to get things done on Windows.
I do not use MinGW myself, so someone else on the list should step in here.
regards,
Markus
--
Markus Hoenicka
[EMAIL PROTECTED]
(Spam-protected email: replace the quadrupeds with "mhoenicka")
http://www.mhoenicka.de
/Tom
08-790 68 33
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
libdbi-users mailing list
libdbi-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libdbi-users