Re: [gnome-db] libgda-0.11.0 won't compile for sybase
- From: Hugh Bragg <Hugh Bragg bibit com>
- To: Rodrigo Moya <rodrigo gnome-db org>
- Cc: GDA <gnome-db-list gnome org>
- Subject: Re: [gnome-db] libgda-0.11.0 won't compile for sybase
- Date: Wed, 26 Mar 2003 14:03:02 +0100
Thanks Rodrigo
,
Ok, I did that and now I get the following (I include all warnings and errors
for completeness, but the show stopper is at the end):
> rpm -tb libgda-0.11.0.tar.gz
...
i386-redhat-linux-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
-DPACKAGE=\"libgda\" -DVERSION=\"0.11.0\"
-DBONOBO_EXPLICIT_TRANSLATION_DOMAIN=\"libgda-2\" -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 -DHAVE_DLFCN_H=1 -DYYTEXT_POINTER=1
-DGETTEXT_PACKAGE=\"libgda-2\" -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1
-DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1
-DENABLE_NLS=1 -DHAVE_SYBASE=1 -DHAVE_LDAP=1 -DHAVE_POPT_H=1
-DHAVE_READLINE_READLINE_H=1 -DHAVE_READLINE_HISTORY_H=1 -I. -I. -I.. -I..
-D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/libxml2 -O2 -march=i386 -mcpu=i686 -Wall -Wunused
-Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes
-Wnested-externs -Wpointer-arith -Wno-sign-compare -c lexer.c -fPIC -DPIC -o
.libs/lexer.lo
lexer.l:12:2: warning: #warning "strings are limited to 2000 characters"
lexer.c:662: warning: no previous prototype for `sqllex'
lexer.c: In function `sqllex':
lexer.c:730: warning: label `find_rule' defined but not used
lexer.l: At top level:
lexer.c:1850: warning: `yy_flex_realloc' defined but not used
lexer.c:1329: warning: `yyunput' defined but not used
...
i386-redhat-linux-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
-DPACKAGE=\"libgda\" -DVERSION=\"0.11.0\"
-DBONOBO_EXPLICIT_TRANSLATION_DOMAIN=\"libgda-2\" -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 -DHAVE_DLFCN_H=1 -DYYTEXT_POINTER=1
-DGETTEXT_PACKAGE=\"libgda-2\" -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1
-DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1
-DENABLE_NLS=1 -DHAVE_SYBASE=1 -DHAVE_LDAP=1 -DHAVE_POPT_H=1
-DHAVE_READLINE_READLINE_H=1 -DHAVE_READLINE_HISTORY_H=1 -I. -I. -I..
-I.. -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/libxml2 -O2 -march=i386 -mcpu=i686 -Wall -Wunused
-Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes
-Wnested-externs -Wpointer-arith -Wno-sign-compare -c sql_parse_test.c
sql_parse_test.c: In function `main':
sql_parse_test.c:36: warning: implicit declaration of function `strlen'
sql_parse_test.c:74: warning: zero-length format string
...
i386-redhat-linux-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
-DPACKAGE=\"libgda\" -DVERSION=\"0.11.0\"
-DBONOBO_EXPLICIT_TRANSLATION_DOMAIN=\"libgda-2\" -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 -DHAVE_DLFCN_H=1 -DYYTEXT_POINTER=1
-DGETTEXT_PACKAGE=\"libgda-2\" -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1
-DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1
-DENABLE_NLS=1 -DHAVE_SYBASE=1 -DHAVE_LDAP=1 -DHAVE_POPT_H=1
-DHAVE_READLINE_READLINE_H=1 -DHAVE_READLINE_HISTORY_H=1 -I. -I. -I.. -I..
-D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/libxml2 -DLIBGDA_PLUGINDIR=\"/usr/lib/libgda/providers\"
-DLIBGDA_LOCALEDIR=\"/usr/share/locale\"
-DLIBGDA_GLOBAL_CONFIG_FILE=\"/etc/libgda/config\" -O2 -march=i386 -mcpu=i686
-Wall -Wunused -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes
-Wnested-externs -Wpointer-arith -Wno-sign-compare -c gda-client.c -fPIC
-DPIC -o .libs/gda-client.lo
gda-client.c: In function `gda_client_notify_error_event':
gda-client.c:592: warning: passing arg 2 of `gda_parameter_new_gobject' from
incompatible pointer type
gda-client.c: At top level:
gda-client.c:623: warning: no previous prototype for
`gda_client_notify_connection_closed_event'
gda-client.c: In function `gda_client_notify_transaction_started_event':
gda-client.c:648: warning: passing arg 2 of `gda_parameter_new_gobject' from
incompatible pointer type
gda-client.c: In function `gda_client_notify_transaction_committed_event':
gda-client.c:672: warning: passing arg 2 of `gda_parameter_new_gobject' from
incompatible pointer type
gda-client.c: In function `gda_client_notify_transaction_cancelled_event':
gda-client.c:696: warning: passing arg 2 of `gda_parameter_new_gobject' from
incompatible pointer type
...
i386-redhat-linux-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
-DPACKAGE=\"libgda\" -DVERSION=\"0.11.0\"
-DBONOBO_EXPLICIT_TRANSLATION_DOMAIN=\"libgda-2\" -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 -DHAVE_DLFCN_H=1 -DYYTEXT_POINTER=1
-DGETTEXT_PACKAGE=\"libgda-2\" -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1
-DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1
-DENABLE_NLS=1 -DHAVE_SYBASE=1 -DHAVE_LDAP=1 -DHAVE_POPT_H=1
-DHAVE_READLINE_READLINE_H=1 -DHAVE_READLINE_HISTORY_H=1 -I. -I. -I.. -I..
-D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/libxml2 -DLIBGDA_PLUGINDIR=\"/usr/lib/libgda/providers\"
-DLIBGDA_LOCALEDIR=\"/usr/share/locale\"
-DLIBGDA_GLOBAL_CONFIG_FILE=\"/etc/libgda/config\" -O2 -march=i386 -mcpu=i686
-Wall -Wunused -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes
-Wnested-externs -Wpointer-arith -Wno-sign-compare -c gda-connection.c -fPIC
-DPIC -o .libs/gda-connection.lo
gda-connection.c: In function `gda_connection_finalize':
gda-connection.c:132: warning: implicit declaration of function
`gda_client_notify_connection_closed_event'
gda-connection.c: In function `gda_connection_new':
gda-connection.c:270: warning: assignment discards qualifiers from pointer
target type
...
i386-redhat-linux-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
-DPACKAGE=\"libgda\" -DVERSION=\"0.11.0\"
-DBONOBO_EXPLICIT_TRANSLATION_DOMAIN=\"libgda-2\" -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 -DHAVE_DLFCN_H=1 -DYYTEXT_POINTER=1
-DGETTEXT_PACKAGE=\"libgda-2\" -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1
-DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1
-DENABLE_NLS=1 -DHAVE_SYBASE=1 -DHAVE_LDAP=1 -DHAVE_POPT_H=1
-DHAVE_READLINE_READLINE_H=1 -DHAVE_READLINE_HISTORY_H=1 -I. -I. -I.. -I..
-D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/libxml2 -DLIBGDA_PLUGINDIR=\"/usr/lib/libgda/providers\"
-DLIBGDA_LOCALEDIR=\"/usr/share/locale\"
-DLIBGDA_GLOBAL_CONFIG_FILE=\"/etc/libgda/config\" -O2 -march=i386 -mcpu=i686
-Wall -Wunused -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes
-Wnested-externs -Wpointer-arith -Wno-sign-compare -c gda-data-model.c -fPIC
-DPIC -o .libs/gda-data-model.lo
gda-data-model.c: In function `gda_data_model_describe_column':
gda-data-model.c:374: warning: passing arg 1 of `gda_value_get_type' discards
qualifiers from pointer target type
gda-data-model.c: In function `gda_data_model_to_xml_node':
gda-data-model.c:859: warning: assignment from incompatible pointer type
gda-data-model.c:861: warning: passing arg 1 of `xmlSetProp' from incompatible
pointer type
gda-data-model.c:872: warning: passing arg 1 of `xmlFreeNode' from
incompatible pointer type
gda-data-model.c:876: warning: passing arg 1 of `xmlNewChild' from
incompatible pointer type
gda-data-model.c:879: warning: implicit declaration of function
`gda_type_to_string'
gda-data-model.c:879: warning: passing arg 3 of `xmlSetProp' makes pointer
from integer without a cast
gda-data-model.c:895: warning: passing arg 1 of `xmlNewChild' from
incompatible pointer type
gda-data-model.c:904: warning: passing arg 1 of `gda_value_stringify' discards
qualifiers from pointer target type
gda-data-model.c:913: warning: return from incompatible pointer type
...
i386-redhat-linux-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
-DPACKAGE=\"libgda\" -DVERSION=\"0.11.0\"
-DBONOBO_EXPLICIT_TRANSLATION_DOMAIN=\"libgda-2\" -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 -DHAVE_DLFCN_H=1 -DYYTEXT_POINTER=1
-DGETTEXT_PACKAGE=\"libgda-2\" -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1
-DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1
-DENABLE_NLS=1 -DHAVE_SYBASE=1 -DHAVE_LDAP=1 -DHAVE_POPT_H=1
-DHAVE_READLINE_READLINE_H=1 -DHAVE_READLINE_HISTORY_H=1 -I. -I. -I.. -I..
-D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/libxml2 -DLIBGDA_PLUGINDIR=\"/usr/lib/libgda/providers\"
-DLIBGDA_LOCALEDIR=\"/usr/share/locale\"
-DLIBGDA_GLOBAL_CONFIG_FILE=\"/etc/libgda/config\" -O2 -march=i386 -mcpu=i686
-Wall -Wunused -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes
-Wnested-externs -Wpointer-arith -Wno-sign-compare -c gda-data-model-array.c
-fPIC -DPIC -o .libs/gda-data-model-array.lo
gda-data-model-array.c: In function `gda_data_model_array_remove_row':
gda-data-model-array.c:138: warning: passing arg 1 of `gda_row_get_number'
discards qualifiers from pointer target type
...
i386-redhat-linux-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
-DPACKAGE=\"libgda\" -DVERSION=\"0.11.0\"
-DBONOBO_EXPLICIT_TRANSLATION_DOMAIN=\"libgda-2\" -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 -DHAVE_DLFCN_H=1 -DYYTEXT_POINTER=1
-DGETTEXT_PACKAGE=\"libgda-2\" -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1
-DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1
-DENABLE_NLS=1 -DHAVE_SYBASE=1 -DHAVE_LDAP=1 -DHAVE_POPT_H=1
-DHAVE_READLINE_READLINE_H=1 -DHAVE_READLINE_HISTORY_H=1 -I. -I. -I.. -I..
-D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/libxml2 -DLIBGDA_PLUGINDIR=\"/usr/lib/libgda/providers\"
-DLIBGDA_LOCALEDIR=\"/usr/share/locale\"
-DLIBGDA_GLOBAL_CONFIG_FILE=\"/etc/libgda/config\" -O2 -march=i386 -mcpu=i686
-Wall -Wunused -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes
-Wnested-externs -Wpointer-arith -Wno-sign-compare -c gda-log.c -fPIC -DPIC
-o .libs/gda-log.lo
gda-log.c: In function `gda_log_message':
gda-log.c:100: warning: implicit declaration of function `g_free'
...
i386-redhat-linux-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
-DPACKAGE=\"libgda\" -DVERSION=\"0.11.0\"
-DBONOBO_EXPLICIT_TRANSLATION_DOMAIN=\"libgda-2\" -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 -DHAVE_DLFCN_H=1 -DYYTEXT_POINTER=1
-DGETTEXT_PACKAGE=\"libgda-2\" -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1
-DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1
-DENABLE_NLS=1 -DHAVE_SYBASE=1 -DHAVE_LDAP=1 -DHAVE_POPT_H=1
-DHAVE_READLINE_READLINE_H=1 -DHAVE_READLINE_HISTORY_H=1 -I. -I. -I.. -I..
-D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/libxml2 -DLIBGDA_PLUGINDIR=\"/usr/lib/libgda/providers\"
-DLIBGDA_LOCALEDIR=\"/usr/share/locale\"
-DLIBGDA_GLOBAL_CONFIG_FILE=\"/etc/libgda/config\" -O2 -march=i386 -mcpu=i686
-Wall -Wunused -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes
-Wnested-externs -Wpointer-arith -Wno-sign-compare -c gda-select.c -fPIC
-DPIC -o .libs/gda-select.lo
gda-select.c: In function `gda_select_append_row':
gda-select.c:106: warning: unused variable `row'
gda-select.c: In function `gda_select_init':
gda-select.c:134: warning: unused variable `i'
gda-select.c: In function `gda_select_finalize':
gda-select.c:159: warning: unused variable `l'
gda-select.c: In function `gda_select_add_source':
gda-select.c:258: warning: passing arg 3 of `g_hash_table_insert' discards
qualifiers from pointer target type
...
i386-redhat-linux-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
-DPACKAGE=\"libgda\" -DVERSION=\"0.11.0\"
-DBONOBO_EXPLICIT_TRANSLATION_DOMAIN=\"libgda-2\" -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 -DHAVE_DLFCN_H=1 -DYYTEXT_POINTER=1
-DGETTEXT_PACKAGE=\"libgda-2\" -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1
-DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1
-DENABLE_NLS=1 -DHAVE_SYBASE=1 -DHAVE_LDAP=1 -DHAVE_POPT_H=1
-DHAVE_READLINE_READLINE_H=1 -DHAVE_READLINE_HISTORY_H=1 -I. -I. -I.. -I..
-D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/libxml2 -DLIBGDA_PLUGINDIR=\"/usr/lib/libgda/providers\"
-DLIBGDA_LOCALEDIR=\"/usr/share/locale\"
-DLIBGDA_GLOBAL_CONFIG_FILE=\"/etc/libgda/config\" -O2 -march=i386 -mcpu=i686
-Wall -Wunused -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes
-Wnested-externs -Wpointer-arith -Wno-sign-compare -c gda-util.c -fPIC -DPIC
-o .libs/gda-util.lo
gda-util.c: In function `gda_sql_replace_placeholders':
gda-util.c:142: warning: passing arg 1 of `sql_parse' discards qualifiers from
pointer target type
gda-util.c:136: warning: unused variable `str'
...
i386-redhat-linux-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
-DPACKAGE=\"libgda\" -DVERSION=\"0.11.0\"
-DBONOBO_EXPLICIT_TRANSLATION_DOMAIN=\"libgda-2\" -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 -DHAVE_DLFCN_H=1 -DYYTEXT_POINTER=1
-DGETTEXT_PACKAGE=\"libgda-2\" -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1
-DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1
-DENABLE_NLS=1 -DHAVE_SYBASE=1 -DHAVE_LDAP=1 -DHAVE_POPT_H=1
-DHAVE_READLINE_READLINE_H=1 -DHAVE_READLINE_HISTORY_H=1 -I. -I. -I.. -I..
-D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/libxml2 -DLIBGDA_PLUGINDIR=\"/usr/lib/libgda/providers\"
-DLIBGDA_LOCALEDIR=\"/usr/share/locale\"
-DLIBGDA_GLOBAL_CONFIG_FILE=\"/etc/libgda/config\" -O2 -march=i386 -mcpu=i686
-Wall -Wunused -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes
-Wnested-externs -Wpointer-arith -Wno-sign-compare -c gda-value.c -fPIC
-DPIC -o .libs/gda-value.lo
gda-value.c: In function `to_string':
gda-value.c:1888: warning: unused variable `str'
gda-value.c:1887: warning: unused variable `l'
gda-value.c:1886: warning: unused variable `numeric'
gda-value.c:1885: warning: unused variable `list'
gda-value.c:1884: warning: unused variable `point'
gda-value.c:1883: warning: unused variable `timestamp'
gda-value.c:1882: warning: unused variable `gdadate'
gda-value.c:1881: warning: unused variable `gdatime'
...
386-redhat-linux-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
-DPACKAGE=\"libgda\" -DVERSION=\"0.11.0\"
-DBONOBO_EXPLICIT_TRANSLATION_DOMAIN=\"libgda-2\" -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 -DHAVE_DLFCN_H=1 -DYYTEXT_POINTER=1
-DGETTEXT_PACKAGE=\"libgda-2\" -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1
-DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1
-DENABLE_NLS=1 -DHAVE_SYBASE=1 -DHAVE_LDAP=1 -DHAVE_POPT_H=1
-DHAVE_READLINE_READLINE_H=1 -DHAVE_READLINE_HISTORY_H=1 -I. -I. -I.. -I..
-D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/libxml2 -DLIBGDA_PLUGINDIR=\"/usr/lib/libgda/providers\"
-DLIBGDA_LOCALEDIR=\"/usr/share/locale\"
-DLIBGDA_GLOBAL_CONFIG_FILE=\"/etc/libgda/config\" -O2 -march=i386 -mcpu=i686
-Wall -Wunused -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes
-Wnested-externs -Wpointer-arith -Wno-sign-compare -c gda-xml-document.c
-fPIC -DPIC -o .libs/gda-xml-document.lo
gda-xml-document.c: In function `gda_xml_document_init':
gda-xml-document.c:85: warning: nested extern declaration of
`xmlDoValidityCheckingDefaultValue'
...
i386-redhat-linux-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
-DPACKAGE=\"libgda\" -DVERSION=\"0.11.0\"
-DBONOBO_EXPLICIT_TRANSLATION_DOMAIN=\"libgda-2\" -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 -DHAVE_DLFCN_H=1 -DYYTEXT_POINTER=1
-DGETTEXT_PACKAGE=\"libgda-2\" -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1
-DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1
-DENABLE_NLS=1 -DHAVE_SYBASE=1 -DHAVE_LDAP=1 -DHAVE_POPT_H=1
-DHAVE_READLINE_READLINE_H=1 -DHAVE_READLINE_HISTORY_H=1 -I. -I.
-I/opt/sybase-12.5/OCS/include -I../.. -I../.. -D_REENTRANT
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2
-O2 -march=i386 -mcpu=i686 -Wall -Wunused -Wchar-subscripts
-Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith
-Wno-sign-compare -c gda-sybase-provider.c -fPIC -DPIC -o
.libs/gda-sybase-provider.lo
gda-sybase-provider.c: In function `gda_sybase_provider_get_schema':
gda-sybase-provider.c:1003: warning: enumeration value
`GDA_CONNECTION_SCHEMA_LANGUAGES' not handled in switch
gda-sybase-provider.c:1003: warning: enumeration value
`GDA_CONNECTION_SCHEMA_NAMESPACES' not handled in switch
gda-sybase-provider.c:945: warning: unused variable `query'
gda-sybase-provider.c: In function `gda_sybase_provider_supports':
gda-sybase-provider.c:1108: warning: enumeration value
`GDA_CONNECTION_FEATURE_NAMESPACES' not handled in switch
i386-redhat-linux-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
-DPACKAGE=\"libgda\" -DVERSION=\"0.11.0\"
-DBONOBO_EXPLICIT_TRANSLATION_DOMAIN=\"libgda-2\" -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 -DHAVE_DLFCN_H=1 -DYYTEXT_POINTER=1
-DGETTEXT_PACKAGE=\"libgda-2\" -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1
-DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1
-DENABLE_NLS=1 -DHAVE_SYBASE=1 -DHAVE_LDAP=1 -DHAVE_POPT_H=1
-DHAVE_READLINE_READLINE_H=1 -DHAVE_READLINE_HISTORY_H=1 -I. -I.
-I/opt/sybase-12.5/OCS/include -I../.. -I../.. -D_REENTRANT
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2
-O2 -march=i386 -mcpu=i686 -Wall -Wunused -Wchar-subscripts
-Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith
-Wno-sign-compare -c gda-sybase-provider.c -o gda-sybase-provider.o
>/dev/null 2>&1
mv -f .libs/gda-sybase-provider.lo gda-sybase-provider.lo
/bin/sh ../../libtool --mode=compile i386-redhat-linux-gcc -DPACKAGE_NAME=\"\"
-DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\"
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libgda\" -DVERSION=\"0.11.0\"
-DBONOBO_EXPLICIT_TRANSLATION_DOMAIN=\"libgda-2\" -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 -DHAVE_DLFCN_H=1 -DYYTEXT_POINTER=1
-DGETTEXT_PACKAGE=\"libgda-2\" -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1
-DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1
-DENABLE_NLS=1 -DHAVE_SYBASE=1 -DHAVE_LDAP=1 -DHAVE_POPT_H=1
-DHAVE_READLINE_READLINE_H=1 -DHAVE_READLINE_HISTORY_H=1 -I. -I.
-I/opt/sybase-12.5/OCS/include -I../.. -I../..
-D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/libxml2 -O2 -march=i386 -mcpu=i686 -Wall -Wunused
-Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes
-Wnested-externs -Wpointer-arith -Wno-sign-compare -c gda-sybase-recordset.c
rm -f .libs/gda-sybase-recordset.lo
i386-redhat-linux-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
-DPACKAGE=\"libgda\" -DVERSION=\"0.11.0\"
-DBONOBO_EXPLICIT_TRANSLATION_DOMAIN=\"libgda-2\" -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 -DHAVE_DLFCN_H=1 -DYYTEXT_POINTER=1
-DGETTEXT_PACKAGE=\"libgda-2\" -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1
-DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1
-DENABLE_NLS=1 -DHAVE_SYBASE=1 -DHAVE_LDAP=1 -DHAVE_POPT_H=1
-DHAVE_READLINE_READLINE_H=1 -DHAVE_READLINE_HISTORY_H=1 -I. -I.
-I/opt/sybase-12.5/OCS/include -I../.. -I../.. -D_REENTRANT
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2
-O2 -march=i386 -mcpu=i686 -Wall -Wunused -Wchar-subscripts
-Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith
-Wno-sign-compare -c gda-sybase-recordset.c -fPIC -DPIC -o
.libs/gda-sybase-recordset.lo
gda-sybase-recordset.c: In function `gda_sybase_create_current_row':
gda-sybase-recordset.c:244: warning: passing arg 1 of `gda_row_new' makes
pointer from integer without a cast
gda-sybase-recordset.c:244: too few arguments to function `gda_row_new'
gda-sybase-recordset.c: In function `gda_sybase_recordset_new':
gda-sybase-recordset.c:486: warning: unused variable `error'
make[2]: *** [gda-sybase-recordset.lo] Error 1
make[2]: Leaving directory
`/usr/src/redhat/BUILD/libgda-0.11.0/providers/sybase'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/libgda-0.11.0/providers'
make: *** [all-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.8478 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.8478 (%build)
Any ideas what the problem is?
Hugh.
On Wednesday 12 March 2003 18:27, Rodrigo Moya wrote:
> On Wed, 2003-03-12 at 13:51, Hugh Bragg wrote:
> > Hello,
> >
> > when I build the libgda with rpm -tb libgda-0.11.0.tar.gz after setting
> > %define SYBASE 1 in the spec file I get the following error:
> >
> > i386-redhat-linux-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
> > -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
> > -DPACKAGE=\"libgda\" -DVERSION=\"0.11.0\"
> > -DBONOBO_EXPLICIT_TRANSLATION_DOMAIN=\"libgda-2\" -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 -DHAVE_DLFCN_H=1
> > -DYYTEXT_POINTER=1
> > -DGETTEXT_PACKAGE=\"libgda-2\" -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1
> > -DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1
> > -DENABLE_NLS=1 -DHAVE_SYBASE=1 -DHAVE_LDAP=1 -DHAVE_POPT_H=1
> > -DHAVE_READLINE_READLINE_H=1 -DHAVE_READLINE_HISTORY_H=1 -I. -I.
> > -I/opt/sybase-12.5/OCS/include -I../.. -I../.. -D_REENTRANT
> > -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
> > -I/usr/include/libxml2 -O2 -march=i386 -mcpu=i686 -Wall -Wunused
> > -Wchar-subscripts
> > -Wmissing-declarations -Wmissing-prototypes -Wnested-externs
> > -Wpointer-arith -Wno-sign-compare -c gda-sybase-provider.c -fPIC -DPIC
> > -o
> > .libs/gda-sybase-provider.lo
> > In file included from gda-sybase-provider.c:31:
> > gda-sybase.h:45:32: gda-sybase-schemas.h: No such file or directory
> > make[2]: *** [gda-sybase-provider.lo] Error 1
> > make[2]: Leaving directory
> > `/usr/src/redhat/BUILD/libgda-0.11.0/providers/sybase'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory
> > `/usr/src/redhat/BUILD/libgda-0.11.0/providers' make: *** [all-recursive]
> > Error 1
> > error: Bad exit status from /var/tmp/rpm-tmp.54236 (%build)
>
> right, that file was missing in the Makefile.am, so wasn't included in
> the tarball. It's now fixed in CVS, from where you can download the
> missing file. If you don't have access to CVS, tell me, and I'll send
> that file to you.
>
> cheers
>
> _______________________________________________
> gnome-db-list mailing list
> gnome-db-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-db-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]