Re: [gnome-db] gda-parameter-list.c:300: uint + mmap



> Please use the G_OS_WIN32 macro instead of _WIN32.
>
> Yaakov
> Cygwin Ports

I will try with this macro instead, thanks.
Do you have any more tips to port to win32/mingw?

Currently I'm stuck during make with the output below.
It's complaining about win32/libgda_graph-3.0.la not being a valid
libtool archive.
It exists, but is has a zero size.
In win32/Makefile it's doing a sed on dummy.la, which has also zero
size:
sed -e s!%DLL%!$(SOPREFIX)gda_graph-3.0-3! -e s!%LIB%!libgda_graph-3.0!
-e s!%PFX%!$(prefix)! < $(srcdir)/dummy.la > $@

What exactly is the intention of the win32 directory?
Maybe I don't need what is done there because mingw is gcc compatible...

Regards
    Brecht



 gcc "-DPACKAGE_NAME=\"GNU Data Access\"" -DPACKAGE_TARNAME=\"libgda\"
-DPACKAGE_VERSION=\"2.99.3\" "-DPACKAGE_STRING=\"GNU Data Access
2.99.3\"" -DPACKAGE_BUGREPORT=\"gnome-db-list gnome org\"
-DBONOBO_EXPLICIT_TRANSLATION_DOMAIN=\"libgda-3.0\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DGETTEXT_PACKAGE=\"libgda-3.0\" -DHAVE_LOCALE_H=1 -DHAVE_POSTGRES=1 -I.
-I. -I.. -I.. -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -I/usr/local/include/libxml2
-I/usr/local/include
-DLIBGDA_PLUGINDIR=\"/usr/local/lib/libgda-3.0/providers\"
-DLIBGDA_LOCALEDIR=\"/usr/local/share/locale\"
-DLIBGDA_GLOBAL_CONFIG_FILE=\"/usr/local/etc/libgda-3.0/config\"
-DLIBGDA_GLOBAL_CONFIG_DIR=\"/usr/local/etc/libgda-3.0\"
-DDTDINSTALLDIR=\"/usr/local/share/libgda/dtd\"
-I/usr/local/include/glib-2.0 -DLIBGDA_WIN32 -Duint=guint -MT
gda-xml-storage.lo -MD -MP -MF .deps/gda-xml-storage.Tpo -c
gda-xml-storage.c  -DDLL_EXPORT -DPIC -o .libs/gda-xml-storage.o
 gcc "-DPACKAGE_NAME=\"GNU Data Access\"" -DPACKAGE_TARNAME=\"libgda\"
-DPACKAGE_VERSION=\"2.99.3\" "-DPACKAGE_STRING=\"GNU Data Access
2.99.3\"" -DPACKAGE_BUGREPORT=\"gnome-db-list gnome org\"
-DBONOBO_EXPLICIT_TRANSLATION_DOMAIN=\"libgda-3.0\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DGETTEXT_PACKAGE=\"libgda-3.0\" -DHAVE_LOCALE_H=1 -DHAVE_POSTGRES=1 -I.
-I. -I.. -I.. -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -I/usr/local/include/libxml2
-I/usr/local/include
-DLIBGDA_PLUGINDIR=\"/usr/local/lib/libgda-3.0/providers\"
-DLIBGDA_LOCALEDIR=\"/usr/local/share/locale\"
-DLIBGDA_GLOBAL_CONFIG_FILE=\"/usr/local/etc/libgda-3.0/config\"
-DLIBGDA_GLOBAL_CONFIG_DIR=\"/usr/local/etc/libgda-3.0\"
-DDTDINSTALLDIR=\"/usr/local/share/libgda/dtd\"
-I/usr/local/include/glib-2.0 -DLIBGDA_WIN32 -Duint=guint -MT
gda-xml-storage.lo -MD -MP -MF .deps/gda-xml-storage.Tpo -c
gda-xml-storage.c -o gda-xml-storage.o >/dev/null 2>&1
/bin/sh ../libtool --tag=CC --mode=link gcc
-I/usr/local/include/glib-2.0 -DLIBGDA_WIN32 -Duint=guint
-L/usr/local/lib/glib-2.0 -o libgda-3.0.la -rpath /usr/local/lib
-version-info 3:0:0 -no-undefined gda-enum-types.lo  gda-blob-op.lo
gda-client.lo gda-column.lo gda-column-index.lo gda-command.lo
gda-config.lo gda-connection.lo gda-connection-event.lo
gda-data-handler.lo gda-data-model-array.lo gda-data-model-row.lo
gda-data-model.lo gda-data-model-filter-sql.lo gda-data-model-hash.lo
gda-data-model-import.lo gda-data-model-index.lo gda-data-model-iter.lo
gda-data-model-query.lo gda-data-access-wrapper.lo gda-data-proxy.lo
gda-dict-aggregate.lo gda-dict.lo gda-dict-constraint.lo
gda-dict-database.lo gda-dict-field.lo gda-dict-function.lo
gda-dict-table.lo gda-dict-type.lo gda-dict-reg-queries.lo
gda-dict-reg-types.lo gda-dict-reg-aggregates.lo
gda-dict-reg-functions.lo gda-entity.lo gda-entity-field.lo
gda-graphviz.lo gda-init.lo gda-log.lo gda-marshal.lo gda-object.lo
gda-object-ref.lo gda-parameter.lo gda-parameter-list.lo
gda-quark-list.lo gda-query.lo gda-query-condition.lo
gda-query-field-agg.lo gda-query-field-all.lo gda-query-field.lo
gda-query-field-field.lo gda-query-field-func.lo
gda-query-field-value.lo gda-query-join.lo gda-query-object.lo
gda-query-parsing.lo gda-query-target.lo gda-referer.lo gda-renderer.lo
gda-row.lo gda-server-operation.lo gda-server-provider.lo
gda-server-provider-extra.lo gda-threader.lo gda-transaction-status.lo
gda-util.lo gda-value.lo gda-xml-storage.lo
sql-transaction/libgda_sql_transaction-3.0.la
sql-delimiter/libgda_sql_delimiter-3.0.la ../libsql/libgdasql-3.0.la
../win32/libgda_graph-3.0.la ../win32/libgda_handlers-3.0.la
-L/usr/local/lib -lgobject-2.0 -lgthread-2.0 -lgmodule-2.0 -lglib-2.0
-lintl -liconv -lxml2
libtool: link: `../win32/libgda_graph-3.0.la' is not a valid libtool
archive
make[2]: *** [libgda-3.0.la] Error 1
make[2]: Leaving directory `/c/temp/libgda-2.99.3/libgda'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/c/temp/libgda-2.99.3/libgda'
make: *** [all-recursive] Error 1





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]