Estoy intentando compilar gambas3 en Open Suse 12.1 hago como usuario normal:
./reconf-all
./configure
./make 'Aqui me da el error
Mensajes de errores:
Spoiler: [ Mostrar ]
Spoiler: [ Ocultar ]
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/wine/windows/ -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.. -I/usr/include/wine/windows/ -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 /usr/include/wine/windows/sql.h:28:0,
from main.c:40:
/usr/include/wine/windows/sqltypes.h:234:5: error: unknown type name 'DWORD'
/usr/include/wine/windows/sqltypes.h:235:5: error: unknown type name 'WORD'
/usr/include/wine/windows/sqltypes.h:236:5: error: unknown type name 'WORD'
/usr/include/wine/windows/sqltypes.h:237:5: error: unknown type name 'BYTE'
In file included from main.c:40:0:
/usr/include/wine/windows/sql.h:494:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLAllocConnect'
/usr/include/wine/windows/sql.h:497:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLAllocEnv'
/usr/include/wine/windows/sql.h:500:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLAllocHandle'
/usr/include/wine/windows/sql.h:504:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLAllocStmt'
/usr/include/wine/windows/sql.h:507:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLBindCol'
/usr/include/wine/windows/sql.h:513:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLBindParam'
/usr/include/wine/windows/sql.h:520:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLCancel'
/usr/include/wine/windows/sql.h:523:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLCloseCursor'
/usr/include/wine/windows/sql.h:525:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLColAttribute'
/usr/include/wine/windows/sql.h:532:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLColumns'
/usr/include/wine/windows/sql.h:539:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLConnect'
/usr/include/wine/windows/sql.h:545:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLCopyDesc'
/usr/include/wine/windows/sql.h:549:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLDataSources'
/usr/include/wine/windows/sql.h:555:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLDescribeCol'
/usr/include/wine/windows/sql.h:561:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLDisconnect'
/usr/include/wine/windows/sql.h:564:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLEndTran'
/usr/include/wine/windows/sql.h:568:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLError'
/usr/include/wine/windows/sql.h:574:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLExecDirect'
/usr/include/wine/windows/sql.h:577:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLExecute'
/usr/include/wine/windows/sql.h:579:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLFetch'
/usr/include/wine/windows/sql.h:582:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLFetchScroll'
/usr/include/wine/windows/sql.h:586:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLFreeConnect'
/usr/include/wine/windows/sql.h:588:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLFreeEnv'
/usr/include/wine/windows/sql.h:591:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLFreeHandle'
/usr/include/wine/windows/sql.h:594:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLFreeStmt'
/usr/include/wine/windows/sql.h:598:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLGetConnectAttr'
/usr/include/wine/windows/sql.h:603:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLGetConnectOption'
/usr/include/wine/windows/sql.h:606:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLGetCursorName'
/usr/include/wine/windows/sql.h:610:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLGetData'
/usr/include/wine/windows/sql.h:616:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLGetDescField'
/usr/include/wine/windows/sql.h:621:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLGetDescRec'
/usr/include/wine/windows/sql.h:628:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLGetDiagField'
/usr/include/wine/windows/sql.h:633:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLGetDiagRec'
/usr/include/wine/windows/sql.h:638:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLGetEnvAttr'
/usr/include/wine/windows/sql.h:643:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLGetFunctions'
/usr/include/wine/windows/sql.h:646:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLGetInfo'
/usr/include/wine/windows/sql.h:651:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLGetStmtAttr'
/usr/include/wine/windows/sql.h:656:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLGetStmtOption'
/usr/include/wine/windows/sql.h:659:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLGetTypeInfo'
/usr/include/wine/windows/sql.h:662:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLNumResultCols'
/usr/include/wine/windows/sql.h:665:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLParamData'
/usr/include/wine/windows/sql.h:668:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLPrepare'
/usr/include/wine/windows/sql.h:671:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLPutData'
/usr/include/wine/windows/sql.h:674:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLRowCount'
/usr/include/wine/windows/sql.h:678:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLSetConnectAttr'
/usr/include/wine/windows/sql.h:683:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLSetConnectOption'
/usr/include/wine/windows/sql.h:686:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLSetCursorName'
/usr/include/wine/windows/sql.h:690:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLSetDescField'
/usr/include/wine/windows/sql.h:694:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLSetDescRec'
/usr/include/wine/windows/sql.h:701:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLSetEnvAttr'
/usr/include/wine/windows/sql.h:706:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLSetParam'
/usr/include/wine/windows/sql.h:713:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLSetStmtAttr'
/usr/include/wine/windows/sql.h:718:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLSetStmtOption'
/usr/include/wine/windows/sql.h:721:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLSpecialColumns'
/usr/include/wine/windows/sql.h:728:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLStatistics'
/usr/include/wine/windows/sql.h:734:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLTables'
/usr/include/wine/windows/sql.h:740:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLTransact'
In file included from main.c:41:0:
/usr/include/wine/windows/sqlext.h:1373:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLDriverConnect'
/usr/include/wine/windows/sqlext.h:1437:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLBrowseConnect'
/usr/include/wine/windows/sqlext.h:1446:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLBulkOperations'
/usr/include/wine/windows/sqlext.h:1451:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLColAttributes'
/usr/include/wine/windows/sqlext.h:1460:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLColumnPrivileges'
/usr/include/wine/windows/sqlext.h:1471:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLDescribeParam'
/usr/include/wine/windows/sqlext.h:1479:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLExtendedFetch'
/usr/include/wine/windows/sqlext.h:1486:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLForeignKeys'
/usr/include/wine/windows/sqlext.h:1501:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLMoreResults'
/usr/include/wine/windows/sqlext.h:1504:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLNativeSql'
/usr/include/wine/windows/sqlext.h:1512:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLNumParams'
/usr/include/wine/windows/sqlext.h:1516:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLParamOptions'
/usr/include/wine/windows/sqlext.h:1521:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLPrimaryKeys'
/usr/include/wine/windows/sqlext.h:1530:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLProcedureColumns'
/usr/include/wine/windows/sqlext.h:1541:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLProcedures'
/usr/include/wine/windows/sqlext.h:1550:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLSetPos'
/usr/include/wine/windows/sqlext.h:1556:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLTablePrivileges'
/usr/include/wine/windows/sqlext.h:1565:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLDrivers'
/usr/include/wine/windows/sqlext.h:1575:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLBindParameter'
/usr/include/wine/windows/sqlext.h:1607:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLAllocHandleStd'
/usr/include/wine/windows/sqlext.h:1629:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SQLSetScrollOptions'
/usr/include/wine/windows/sqlext.h:1637:1: warning: parameter names (without types) in function declaration [enabled by default]
/usr/include/wine/windows/sqlext.h:1639:1: error: unknown type name 'VOID'
/usr/include/wine/windows/sqlext.h:1640:1: error: unknown type name 'DWORD'
/usr/include/wine/windows/sqlext.h:1645:1: warning: parameter names (without types) in function declaration [enabled by default]
/usr/include/wine/windows/sqlext.h:1653:2: error: unknown type name 'GUID'
/usr/include/wine/windows/sqlext.h:1654:2: error: unknown type name 'DWORD'
/usr/include/wine/windows/sqlext.h:1656:3: error: unknown type name 'WCHAR'
/usr/include/wine/windows/sqlext.h:1657:3: error: unknown type name 'CHAR'
/usr/include/wine/windows/sqlext.h:1660:3: error: unknown type name 'WCHAR'
/usr/include/wine/windows/sqlext.h:1661:3: error: unknown type name 'CHAR'
/usr/include/wine/windows/sqlext.h:1666:1: error: unknown type name 'VOID'
main.c: In function 'open_database':
main.c:492:19: warning: assignment makes integer from pointer without a cast [enabled by default]
main.c:493:21: warning: assignment makes integer from pointer without a cast [enabled by default]
main.c:495:2: warning: implicit declaration of function 'SQLAllocHandle' [-Wimplicit-function-declaration]
main.c:495:2: warning: implicit declaration of function '__MSABI_LONG' [-Wimplicit-function-declaration]
main.c:505:2: warning: implicit declaration of function 'SQLSetEnvAttr' [-Wimplicit-function-declaration]
main.c:505:68: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
main.c:509:3: warning: implicit declaration of function 'SQLFreeHandle' [-Wimplicit-function-declaration]
main.c:527:2: warning: implicit declaration of function 'SQLSetConnectAttr' [-Wimplicit-function-declaration]
main.c:529:2: warning: implicit declaration of function 'SQLConnect' [-Wimplicit-function-declaration]
main.c:539:67: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
main.c:548:2: warning: implicit declaration of function 'SQLGetFunctions' [-Wimplicit-function-declaration]
main.c: In function 'close_database':
main.c:589:3: warning: implicit declaration of function 'SQLDisconnect' [-Wimplicit-function-declaration]
main.c:596:20: warning: assignment makes integer from pointer without a cast [enabled by default]
main.c:604:23: warning: assignment makes integer from pointer without a cast [enabled by default]
main.c: In function 'SQL_Result':
main.c:734:21: warning: assignment makes integer from pointer without a cast [enabled by default]
main.c: In function 'do_query':
main.c:769:26: warning: assignment makes integer from pointer without a cast [enabled by default]
main.c:784:2: warning: implicit declaration of function 'SQLSetStmtAttr' [-Wimplicit-function-declaration]
main.c:798:2: warning: implicit declaration of function 'SQLExecDirect' [-Wimplicit-function-declaration]
main.c: In function 'get_num_columns':
main.c:896:2: warning: implicit declaration of function 'SQLNumResultCols' [-Wimplicit-function-declaration]
main.c: In function 'query_make_result':
main.c:945:3: warning: implicit declaration of function 'SQLDescribeCol' [-Wimplicit-function-declaration]
main.c:949:3: warning: implicit declaration of function 'SQLColAttribute' [-Wimplicit-function-declaration]
main.c: In function 'query_init':
main.c:1026:2: warning: implicit declaration of function 'SQLRowCount' [-Wimplicit-function-declaration]
main.c: In function 'query_fill':
main.c:1117:4: warning: implicit declaration of function 'SQLFetchScroll' [-Wimplicit-function-declaration]
main.c:1128:3: warning: implicit declaration of function 'SQLFetch' [-Wimplicit-function-declaration]
main.c:1175:3: warning: implicit declaration of function 'SQLGetData' [-Wimplicit-function-declaration]
main.c: In function 'table_init':
main.c:1584:2: warning: implicit declaration of function 'SQLColumns' [-Wimplicit-function-declaration]
main.c:1596:26: error: 'SQLColumns_COLUMN_NAME' undeclared (first use in this function)
main.c:1596:26: note: each undeclared identifier is reported only once for each function it appears in
main.c:1599:8: error: 'SQLColumns_SQL_DATA_TYPE' undeclared (first use in this function)
main.c:1607:8: error: 'SQLColumns_COLUMN_SIZE' undeclared (first use in this function)
main.c: In function 'table_index':
main.c:1714:8: error: 'SQLColumns_COLUMN_NAME' undeclared (first use in this function)
main.c:1742:2: warning: implicit declaration of function 'SQLPrimaryKeys' [-Wimplicit-function-declaration]
main.c: In function 'table_exist':
main.c:1881:2: warning: implicit declaration of function 'SQLTables' [-Wimplicit-function-declaration]
main.c:1886:2: warning: implicit declaration of function 'SQLBindCol' [-Wimplicit-function-declaration]
main.c:1886:25: error: 'SQLTables_TABLE_NAME' undeclared (first use in this function)
main.c:1888:25: error: 'SQLTables_TABLE_TYPE' undeclared (first use in this function)
main.c:1890:25: error: 'SQLTables_REMARKS' undeclared (first use in this function)
main.c: In function 'table_list':
main.c:1971:25: error: 'SQLTables_TABLE_NAME' undeclared (first use in this function)
main.c:1973:25: error: 'SQLTables_TABLE_TYPE' undeclared (first use in this function)
main.c:1975:25: error: 'SQLTables_REMARKS' undeclared (first use in this function)
main.c: In function 'field_exist':
main.c:2367:26: error: 'SQLColumns_COLUMN_NAME' undeclared (first use in this function)
main.c: In function 'field_list':
main.c:2455:8: error: 'SQLColumns_COLUMN_NAME' undeclared (first use in this function)
main.c: In function 'field_info':
main.c:2570:26: error: 'SQLColumns_COLUMN_NAME' undeclared (first use in this function)
main.c:2575:4: error: 'SQLColumns_SQL_DATA_TYPE' undeclared (first use in this function)
main.c:2576:4: error: 'SQLColumns_COLUMN_SIZE' undeclared (first use in this function)
make[4]: *** [main.lo] Erro 1
make[4]: Saíndo do directorio `/home/marcopc/Descargas/gambas3-3.0.0/gb.db.odbc/src'
make[3]: *** [all-recursive] Erro 1
make[3]: Saíndo do directorio `/home/marcopc/Descargas/gambas3-3.0.0/gb.db.odbc'
make[2]: *** [all] Erro 2
make[2]: Saíndo do directorio `/home/marcopc/Descargas/gambas3-3.0.0/gb.db.odbc'
make[1]: *** [all-recursive] Erro 1
make[1]: Saíndo do directorio `/home/marcopc/Descargas/gambas3-3.0.0'
make: *** [all] Erro 2