[Gambas-user] another make error
Benoît Minisini
gambas at ...1...
Fri Jul 29 01:30:01 CEST 2011
> I updated from SUSE 11.2 to 11.4, and had to start from zero again
> (Gambas3, svn, qt4).
>
> 'configure' ends with the message:
> || THESE COMPONENTS ARE DISABLED:
> || - gb.db.postgresql
> || - gb.gtk
>
> which is ok for me.
>
> 'make' terminates with the following errors in gb.db.odbc:
> Making all in gb.db.odbc
> make[2]: Entering directory
> `/Platte2/Downloads/gambas3/3952/trunk/gb.db.odbc' make all-recursive
> make[3]: Entering directory
> `/Platte2/Downloads/gambas3/3952/trunk/gb.db.odbc' Making all in src
> make[4]: Entering directory
> `/Platte2/Downloads/gambas3/3952/trunk/gb.db.odbc/src' /bin/sh ../libtool
> --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -pipe -Wall
> -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -MT main.lo
> -MD -MP -MF .deps/main.Tpo -c -o main.lo main.c
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -pipe -Wall
> -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -MT main.lo -MD
> -MP -MF .deps/main.Tpo -c main.c -fPIC -DPIC -o .libs/main.o
> In file included from main.h:27:0,
> from main.c:52:
> ../gambas.h:55:0: warning: "EXPORT" redefined
> /usr/include/iodbcunix.h:97:0: note: this is the location of the previous
> definition main.c: In function ‘table_init’:
> main.c:1575:26: error: ‘SQLColumns_COLUMN_NAME’ undeclared (first use in
> this function)
> main.c:1575:26: note: each undeclared identifier is reported only once for
> each function it appears in
> main.c:1578:8: error: ‘SQLColumns_SQL_DATA_TYPE’ undeclared (first use in
> this function)
> main.c:1586:8: error: ‘SQLColumns_COLUMN_SIZE’ undeclared (first use in
> this function)
> main.c: In function ‘table_index’:
> main.c:1693:8: error: ‘SQLColumns_COLUMN_NAME’ undeclared (first use in
> this function)
> main.c: In function ‘table_exist’:
> main.c:1865:25: error: ‘SQLTables_TABLE_NAME’ undeclared (first use in this
> function)
> main.c:1867:25: error: ‘SQLTables_TABLE_TYPE’ undeclared (first use in this
> function)
> main.c:1869:25: error: ‘SQLTables_REMARKS’ undeclared (first use in this
> function) main.c: In function ‘table_list’:
> main.c:1950:25: error: ‘SQLTables_TABLE_NAME’ undeclared (first use in this
> function)
> main.c:1952:25: error: ‘SQLTables_TABLE_TYPE’ undeclared (first use in this
> function)
> main.c:1954:25: error: ‘SQLTables_REMARKS’ undeclared (first use in this
> function) main.c: In function ‘field_exist’:
> main.c:2346:26: error: ‘SQLColumns_COLUMN_NAME’ undeclared (first use in
> this function)
> main.c: In function ‘field_list’:
> main.c:2434:8: error: ‘SQLColumns_COLUMN_NAME’ undeclared (first use in
> this function)
> main.c: In function ‘field_info’:
> main.c:2549:26: error: ‘SQLColumns_COLUMN_NAME’ undeclared (first use in
> this function)
> main.c:2554:4: error: ‘SQLColumns_SQL_DATA_TYPE’ undeclared (first use in
> this function)
> main.c:2555:4: error: ‘SQLColumns_COLUMN_SIZE’ undeclared (first use in
> this function)
> make[4]: *** [main.lo] Fehler 1
> make[4]: Leaving directory
> `/Platte2/Downloads/gambas3/3952/trunk/gb.db.odbc/src' make[3]: ***
> [all-recursive] Fehler 1
> make[3]: Leaving directory
> `/Platte2/Downloads/gambas3/3952/trunk/gb.db.odbc' make[2]: *** [all]
> Fehler 2
> make[2]: Leaving directory
> `/Platte2/Downloads/gambas3/3952/trunk/gb.db.odbc' make[1]: ***
> [all-recursive] Fehler 1
> make[1]: Leaving directory `/Platte2/Downloads/gambas3/3952/trunk'
> make: *** [all] Fehler 2
>
> Any ideas what to do now?
>
> Btw: Installing the required packages for Gambas is really annoying. It
> took me two evenings and a lot of 'reconf-all' and 'configure' to find out
> what was missing and how to install it.
> Has someone of you found a way to automate the installation of the
> requirements?
>
> Regards
> Matti
>
Can you send me the contents of /usr/include/sqlext.h ?
--
Benoît Minisini
More information about the User
mailing list