From: Alain A. <ala...@wa...> - 2016-06-08 20:52:54
|
Le 08/06/2016 12:11, Alex a écrit : >> I can't build, I don't found sqlite3.ch > You mean hbsqlit3.ch ? It is in harbour/contrib/hbsqlit3, it is a part of > hbsqlit3 harbour contribution. ok, I have modified my script. As contribs include files are under each contrib folder, I have created links to all the ch files in /usr/share/harbour/contrib, and added a variable to localize this folder with this option on harbour commandline export CONTRIB_INC=/usr/share/harbour/contrib harbour $1 -n -ql -i$HRB_INC -i$HWGUI_INC -i$CONTRIB_INC -w2 -d__LINUX__ $2 No more error during harbour command, but now with gcc: alain@Gramps-JujuLand:/opt/TuxPrograms/trunks/dbc_sqlite/source$ hwbuild dbc_sqlite Harbour 3.2.0dev (r1605041350) Copyright (c) 1999-2016, http://harbour-project.org/ Compiling 'dbc_sqlite.prg'... dbc_sqlite.prg(142) Warning W0004 Codeblock parameter 'X' declared but not used in function 'MAIN' dbc_sqlite.prg(148) Warning W0004 Codeblock parameter 'VALUE' declared but not used in function 'MAIN' dbc_sqlite.prg(152) Warning W0004 Codeblock parameter 'Y' declared but not used in function 'MAIN' dbc_sqlite.prg(168) Warning W0004 Codeblock parameter 'X' declared but not used in function 'MAIN' dbc_sqlite.prg(168) Warning W0004 Codeblock parameter 'Y' declared but not used in function 'MAIN' dbc_sqlite.prg(171) Warning W0004 Codeblock parameter 'Y' declared but not used in function 'MAIN' dbc_sqlite.prg(175) Warning W0004 Codeblock parameter 'X' declared but not used in function 'MAIN' dbc_sqlite.prg(264) Warning W0003 Variable 'N' declared but not used in function 'READHISTORY(248)' dbc_sqlite.prg(436) Warning W0004 Codeblock parameter 'V' declared but not used in function 'SHOWTABLE' dbc_sqlite.prg(438) Warning W0004 Codeblock parameter 'V' declared but not used in function 'SHOWTABLE' dbc_sqlite.prg(506) Warning W0004 Codeblock parameter 'V' declared but not used in function 'QUEEXECUTE' dbc_sqlite.prg(543) Warning W0004 Codeblock parameter 'S' declared but not used in function 'QUEHISTORY' dbc_sqlite.prg(549) Warning W0004 Codeblock parameter 'O' declared but not used in function 'QUEHISTORY' dbc_sqlite.prg(549) Warning W0004 Codeblock parameter 'L' declared but not used in function 'QUEHISTORY' dbc_sqlite.prg(586) Warning W0004 Codeblock parameter 'O' declared but not used in function 'QUEHISTORY' dbc_sqlite.prg(586) Warning W0004 Codeblock parameter 'X' declared but not used in function 'QUEHISTORY' dbc_sqlite.prg(586) Warning W0004 Codeblock parameter 'Y' declared but not used in function 'QUEHISTORY' dbc_sqlite.prg(657) Warning W0003 Variable 'OEDIT' declared but not used in function 'QUEHISTORY(527)' dbc_sqlite.prg(657) Warning W0003 Variable 'CQ' declared but not used in function 'QUEHISTORY(530)' dbc_sqlite.prg(738) Warning W0004 Codeblock parameter 'Y' declared but not used in function 'TBLINFO' dbc_sqlite.prg(745) Warning W0004 Codeblock parameter 'Y' declared but not used in function 'TBLINFO' dbc_sqlite.prg(754) Warning W0004 Codeblock parameter 'VALUE' declared but not used in function 'TBLINFO' dbc_sqlite.prg(756) Warning W0004 Codeblock parameter 'Y' declared but not used in function 'TBLINFO' dbc_sqlite.prg(807) Warning W0004 Codeblock parameter 'Y' declared but not used in function 'INDEXNEW' dbc_sqlite.prg(889) Warning W0004 Codeblock parameter 'VALUE' declared but not used in function 'DBPRAGMAS' dbc_sqlite.prg(890) Warning W0004 Codeblock parameter 'VALUE' declared but not used in function 'DBPRAGMAS' dbc_sqlite.prg(916) Warning W0004 Codeblock parameter 'VALUE' declared but not used in function 'DBPRAGMAS' dbc_sqlite.prg(917) Warning W0004 Codeblock parameter 'VALUE' declared but not used in function 'DBPRAGMAS' dbc_sqlite.prg(918) Warning W0004 Codeblock parameter 'VALUE' declared but not used in function 'DBPRAGMAS' dbc_sqlite.prg(975) Warning W0004 Codeblock parameter 'V' declared but not used in function 'DBSCHEMA' dbc_sqlite.prg(976) Warning W0004 Codeblock parameter 'V' declared but not used in function 'DBSCHEMA' dbc_sqlite.prg(977) Warning W0004 Codeblock parameter 'V' declared but not used in function 'DBSCHEMA' dbc_sqlite.prg(978) Warning W0004 Codeblock parameter 'V' declared but not used in function 'DBSCHEMA' dbc_sqlite.prg(1086) Warning W0004 Codeblock parameter 'O' declared but not used in function 'EDITROW' dbc_sqlite.prg(1100) Warning W0004 Codeblock parameter 'O' declared but not used in function 'EDITROW' dbc_sqlite.prg(1146) Warning W0004 Codeblock parameter 'O' declared but not used in function 'EDITROW' dbc_sqlite.prg(1146) Warning W0004 Codeblock parameter 'X' declared but not used in function 'EDITROW' dbc_sqlite.prg(1146) Warning W0004 Codeblock parameter 'Y' declared but not used in function 'EDITROW' dbc_sqlite.prg(1417) Warning W0003 Variable 'J' declared but not used in function 'HSQLT_GETTABLES(1404)' Lines 5984, Functions/Procedures 41 Generating C source output to 'dbc_sqlite.c'... Done. /tmp/ccKZYTRO.o:(.data+0x430): undefined reference to `HB_FUN_DBDUMP' /tmp/ccKZYTRO.o:(.data+0x550): undefined reference to `HB_FUN_TBLIMPORT' /tmp/ccKZYTRO.o:(.data+0x570): undefined reference to `HB_FUN_TBLEXPORT' /tmp/ccKZYTRO.o:(.data+0x8d0): undefined reference to `HB_FUN_ONEDITKEY' /tmp/ccKZYTRO.o:(.data+0x910): undefined reference to `HB_FUN_ONEDITLOSTF' /tmp/ccKZYTRO.o:(.data+0xff0): undefined reference to `HB_FUN_SQLITE3_EXEC' /tmp/ccKZYTRO.o:(.data+0x1030): undefined reference to `HB_FUN_SQLITE3_ERRCODE' /tmp/ccKZYTRO.o:(.data+0x1090): undefined reference to `HB_FUN_SQLITE3_ERRMSG' /tmp/ccKZYTRO.o:(.data+0x1190): undefined reference to `HB_FUN_HBRWTABLE' /tmp/ccKZYTRO.o:(.data+0x1310): undefined reference to `HB_FUN_SQLITE3_PREPARE' /tmp/ccKZYTRO.o:(.data+0x1330): undefined reference to `HB_FUN_SQLITE3_STEP' /tmp/ccKZYTRO.o:(.data+0x1350): undefined reference to `HB_FUN_SQLITE3_COLUMN_COUNT' /tmp/ccKZYTRO.o:(.data+0x1390): undefined reference to `HB_FUN_SQLITE3_COLUMN_NAME' /tmp/ccKZYTRO.o:(.data+0x13f0): undefined reference to `HB_FUN_SQLITE3_FINALIZE' /tmp/ccKZYTRO.o:(.data+0x1490): undefined reference to `HB_FUN_SQLITE3_CHANGES' /tmp/ccKZYTRO.o:(.data+0x1630): undefined reference to `HB_FUN_STRUMAN' /tmp/ccKZYTRO.o:(.data+0x1730): undefined reference to `HB_FUN_GETTBLSTRU' /tmp/ccKZYTRO.o:(.data+0x1790): undefined reference to `HB_FUN_SQLITE3_GET_TABLE' /tmp/ccKZYTRO.o:(.data+0x18b0): undefined reference to `HB_FUN_BLOB2HEX' /tmp/ccKZYTRO.o:(.data+0x1910): undefined reference to `HB_FUN_SQLITE3_COLUMN_TYPE' /tmp/ccKZYTRO.o:(.data+0x1930): undefined reference to `HB_FUN_SQLITE3_COLUMN_TEXT' /tmp/ccKZYTRO.o:(.data+0x1950): undefined reference to `HB_FUN_SQLITE3_COLUMN_INT' /tmp/ccKZYTRO.o:(.data+0x1970): undefined reference to `HB_FUN_SQLITE3_COLUMN_DOUBLE' /tmp/ccKZYTRO.o:(.data+0x19b0): undefined reference to `HB_FUN_SQLITE3_LIBVERSION' /tmp/ccKZYTRO.o:(.data+0x1bb0): undefined reference to `HB_FUN_SQLITE3_OPEN_V2' /tmp/ccKZYTRO.o:(.data+0x1c10): undefined reference to `HB_FUN_SQLITE3_OPEN' /tmp/ccKZYTRO.o:(.data+0x1e30): undefined reference to `HB_FUN_HILIGHTAC' collect2: ld a retourné 1 code d'état d'exécution Where do I fail ? Thanks A+ -- ------------------------------------------------------------------------ Alain Aupeix http://jujuland.pagesperso-orange.fr/ http://pissobi-lacassagne.pagesperso-orange.fr/ ------------------------------------------------------------------------ U.buntu 12.04 | G.ramps 3.4.9-1 | H.arbour 3.2.0dev (2016-04-20 16:03) | Hw.Gui 2.19-6 (2533) ------------------------------------------------------------------------ |