Moderador: Moderadores
Itamar M. Lins Jr. escreveu:Ola!
Será mais fácil postar onde parou. Para sabermos como ajudar.
Seja mais especÃfico.
Saudações,
Itamar M. Lins Jr.
\Documents\GitHub\letodbf\LetoDBf [master = +3 ~0 -0 !]> dir *.hbp
Diretório: C:\Users\Itamar\Documents\GitHub\letodbf\LetoDBf
ode LastWriteTime Length Name
--- ------------- ------ ----
a--- 05/01/17 16:57 1763 letodb.hbp
a--- 04/01/17 10:48 1843 letodbaddon.hbp
a--- 05/01/17 16:57 1755 letodbsvc.hbp
a--- 04/01/17 10:48 1439 letodebug.hbp
a--- 19/12/16 09:55 836 rddleto.hbp
a--- 19/12/16 09:55 1474 rddletoaddon.hbp
a--- 09/06/17 18:28 1023 rddletodebug.hbp
\Documents\GitHub\letodbf\LetoDBf [master = +3 ~0 -0 !]>
~\Documents\GitHub\letodbf\LetoDBf [master = +3 ~0 -0 !]> hbmk2 .\letodbsvc.hbp
~\Documents\GitHub\letodbf\LetoDBf [master = +3 ~0 -0 !]> hbmk2 .\rddleto.hbp
hbmk2: Harbour: Compilando módulos...
hbmk2: Compilando...
../../../../source/client/leto1.c: In function 'letoPutValue':
../../../../source/client/leto1.c:1594:7: warning: this statement may fall throu
gh [-Wimplicit-fallthrough=]
{
^
../../../../source/client/leto1.c:1624:7: note: here
case HB_FT_TIMESTAMP:
^~~~
../../../../source/client/leto1.c: In function 'letoGetValue':
../../../../source/client/leto1.c:1179:12: warning: this statement may fall thro
ugh [-Wimplicit-fallthrough=]
if( pField->uiLen == 4 )
^
../../../../source/client/leto1.c:1189:7: note: here
case HB_FT_MODTIME:
^~~~
hbmk2: Criando biblioteca estática... lib\librddleto.a
~\Documents\GitHub\letodbf\LetoDBf [master = +3 ~0 -0 !]> dir lib
Diretório: C:\Users\Itamar\Documents\GitHub\letodbf\LetoDBf\lib
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a--- 27/06/17 15:43 328304 librddleto.a
~\Documents\GitHub\letodbf\LetoDBf [master = +3 ~0 -0 !]> dir bin
Diretório: C:\Users\Itamar\Documents\GitHub\letodbf\LetoDBf\bin
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a--- 20/02/17 15:19 2198528 console.exe
-a--- 09/01/17 12:42 230 leto.sh
-a--- 27/06/17 15:42 1840640 letodb.exe
-a--- 27/06/17 15:02 837 letodb.ini
~\Documents\GitHub\letodbf\LetoDBf [master = +3 ~0 -0 !]>
Eu utilizo o HMG 3.4.3, já tentei compilar o projeto letodb.hbp mas da erro, pois não tenho a lib necessária também.
Itamar M. Lins Jr. escreveu:Quando vc diz que usa o HMG, não sei qual harbour está usando, nem a versão do MINGW. Se está usando o BCC 5x não vai compilar o LetoDBf. Atualize suas ferramentas se for o caso.
Cisino Junior escreveu:Estou utilizando as ferramentas disponibilizadas aqui -> http://www.hmgforum.com/app.php/page/do ... bf69e13b76
Harbour 3.2.0dev (r1601151502)
Copyright (c) 1999-2015, http://harbour-project.org/
C:/Users/legna/Documents/GitHub/LetoDBf/lib/rddleto.lib: file not recognized: File format not recognized
collect2.exe: error: ld returned 1 exit status
hbmk2[letodb]: Erro: Executando linkeditor. 1
gcc.exe C:/Users/legna/AppData/Local/Temp/hbmk_nrnud9.dir/server.o C:/Users/legna/AppData/Local/Temp/hbmk_nrnud9.dir/common.o C:/Users/legna/AppData/Local/Temp/hbmk_nrnud9.dir/errorsys.o C:/Users/legna/AppData/Local/Temp/hbmk_nrnud9.dir/hbmk_4bxq2p.o C:/Users/legna/Documents/GitHub/LetoDBf/_temp.o -mwindows -Wl,--start-group -lhmg -lcrypt -ledit -leditex -lgraph -lini -lreport -lhfcl -lmsvfw32 -lvfw32 -lhbct -lhbwin -lhbmzip -lminizip -lhbmemio -lhbmisc -lhbmysql -lmysql -lhbtip -lsqlite3 -lhbsqlit3 -lsddodbc -lrddsql -lsddmy -lhbodbc -lodbc32 -lhbhpdf -lhbfimage -lhbpgsql -lhbnetio -lxhb -lpng -llibhpdf -lhbvpdf -lhbzebra -lrddleto -lhbextern -lhbdebug -lhbvmmt -lhbrtl -lhblang -lhbcpage -lgtcgi -lgtpca -lgtstd -lgtwin -lgtwvt -lgtgui -lhbrdd -lhbuddall -lhbusrrdd -lrddntx -lrddcdx -lrddnsx -lrddfpt -lhbrdd -lhbhsx -lhbsix -lhbmacro -lhbcplr -lhbpp -lhbcommon -lhbmainwin -lkernel32 -luser32 -lgdi32 -ladvapi32 -lws2_32 -liphlpapi -lwinspool -lcomctl32 -lcomdlg32 -lshell32 -luuid -lole32 -loleaut32 -lmpr -lwinmm -lmapi32 -limm32 -lmsimg32 -lwininet -lhbpcre -lhbzlib -Wl,--end-group -oletodb.exe -LC:/HMG.3.4.3/harbour/lib/win/mingw -LC:/HMG.3.4.3/lib -LC:/Users/legna/Documents/GitHub/LetoDBf/lib
rddleto.lib: file not recognized: File format not recognized
rem SET PATH=C:\BORLAND\BCC55\Bin;C:\HMG.3.4.3\HARBOUR\bin
rem SET HB_PATH=C:\HMG.3.4.3
SET PATH=C:\BORLAND\BCC55\Bin
SET HB_PATH=C:\HMG.3.4.3\HARBOUR
@echo off
if "%1" == "clean" goto CLEAN
if "%1" == "CLEAN" goto CLEAN
if not exist lib md lib
if not exist obj md obj
if not exist obj\b32 md obj\b32
:BUILD
make -l EXE_OBJ_DIR=obj\b32\bin OBJ_DIR=obj\b32 -f makefile.bc %1 %2 %3 > make_b32.log
if errorlevel 1 goto BUILD_ERR
copy lib\rddleto.lib %HB_PATH%\lib\rddleto.lib
:BUILD_OK
goto EXIT
:BUILD_ERR
notepad make_b32.log
goto EXIT
:CLEAN
del bin\*.exe
del bin\*.tds
del lib\*.lib
del lib\*.bak
del obj\b32\*.obj
del obj\b32\*.c
del make_b32.log
goto EXIT
:EXIT
hbmk2 letodbsvc.hbpAqui cria o .EXE
hbmk2 rddleto.hbpAqui vai criar a lib.
Harbour 3.2.0dev (r1601151502)
Copyright (c) 1999-2015, http://harbour-project.org/
C:/HMG.3.4.3/mingw/bin/../lib/gcc/i686-w64-mingw32/5.3.0/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lrddleto
collect2.exe: error: ld returned 1 exit status
hbmk2[letodb]: Erro: Executando linkeditor. 1
gcc.exe C:/Users/legna/AppData/Local/Temp/hbmk_7fynjx.dir/server.o C:/Users/legna/AppData/Local/Temp/hbmk_7fynjx.dir/common.o C:/Users/legna/AppData/Local/Temp/hbmk_7fynjx.dir/errorsys.o C:/Users/legna/AppData/Local/Temp/hbmk_7fynjx.dir/hbmk_knl4aw.o C:/Users/legna/Documents/GitHub/LetoDBf/_temp.o -mwindows -Wl,--start-group -lhmg -lcrypt -ledit -leditex -lgraph -lini -lreport -lhfcl -lmsvfw32 -lvfw32 -lhbct -lhbwin -lhbmzip -lminizip -lhbmemio -lhbmisc -lhbmysql -lmysql -lhbtip -lsqlite3 -lhbsqlit3 -lsddodbc -lrddsql -lsddmy -lhbodbc -lodbc32 -lhbhpdf -lhbfimage -lhbpgsql -lhbnetio -lxhb -lpng -llibhpdf -lhbvpdf -lhbzebra -lrddleto -lhbextern -lhbdebug -lhbvmmt -lhbrtl -lhblang -lhbcpage -lgtcgi -lgtpca -lgtstd -lgtwin -lgtwvt -lgtgui -lhbrdd -lhbuddall -lhbusrrdd -lrddntx -lrddcdx -lrddnsx -lrddfpt -lhbrdd -lhbhsx -lhbsix -lhbmacro -lhbcplr -lhbpp -lhbcommon -lhbmainwin -lkernel32 -luser32 -lgdi32 -ladvapi32 -lws2_32 -liphlpapi -lwinspool -lcomctl32 -lcomdlg32 -lshell32 -luuid -lole32 -loleaut32 -lmpr -lwinmm -lmapi32 -limm32 -lmsimg32 -lwininet -lhbpcre -lhbzlib -Wl,--end-group -oletodb.exe -LC:/HMG.3.4.3/harbour/lib/win/mingw -LC:/HMG.3.4.3/lib -LC:/Users/legna/Documents/GitHub/LetoDBf/lib
Harbour 3.2.0dev (r1601151502)
Copyright (c) 1999-2015, http://harbour-project.org/
C:/Users/legna/AppData/Local/Temp/hbmk_wyn3fy.dir/rddsys.o:rddsys.c:(.data+0x88): undefined reference to `HB_FUN_LETO_LOOKERROR'
C:/Users/legna/AppData/Local/Temp/hbmk_wyn3fy.dir/rddsys.o:rddsys.c:(.data+0x98): undefined reference to `HB_FUN_LETORDD'
C:/Users/legna/AppData/Local/Temp/hbmk_wyn3fy.dir/rddsys.o:rddsys.c:(.data+0xa8): undefined reference to `HB_FUN_LETO_UDF'
collect2.exe: error: ld returned 1 exit status
hbmk2[rddleto]: Erro: Executando linkeditor. 1
gcc.exe C:/Users/legna/AppData/Local/Temp/hbmk_wyn3fy.dir/rddsys.o C:/Users/legna/AppData/Local/Temp/hbmk_wyn3fy.dir/hbmk_ti2hey.o C:/Users/legna/Documents/GitHub/LetoDBf/_temp.o -mwindows -Wl,--start-group -lhmg -lcrypt -ledit -leditex -lgraph -lini -lreport -lhfcl -lmsvfw32 -lvfw32 -lhbct -lhbwin -lhbmzip -lminizip -lhbmemio -lhbmisc -lhbmysql -lmysql -lhbtip -lsqlite3 -lhbsqlit3 -lsddodbc -lrddsql -lsddmy -lhbodbc -lodbc32 -lhbhpdf -lhbfimage -lhbpgsql -lhbnetio -lxhb -lpng -llibhpdf -lhbvpdf -lhbzebra -lhbextern -lhbdebug -lhbvmmt -lhbrtl -lhblang -lhbcpage -lgtcgi -lgtpca -lgtstd -lgtwin -lgtwvt -lgtgui -lhbrdd -lhbuddall -lhbusrrdd -lrddntx -lrddcdx -lrddnsx -lrddfpt -lhbrdd -lhbhsx -lhbsix -lhbmacro -lhbcplr -lhbpp -lhbcommon -lhbmainwin -lkernel32 -luser32 -lgdi32 -ladvapi32 -lws2_32 -liphlpapi -lwinspool -lcomctl32 -lcomdlg32 -lshell32 -luuid -lole32 -loleaut32 -lmpr -lwinmm -lmapi32 -limm32 -lmsimg32 -lwininet -lhbpcre -lhbzlib -Wl,--end-group -orddleto.exe -LC:/HMG.3.4.3/harbour/lib/win/mingw -LC:/HMG.3.4.3/lib
hbmk2: Erro: Referenciado, faltando, mas fun‡äes desconhecida(s):
LETO_LOOKERROR(), LETORDD(), LETO_UDF()
hbmk2 letodbsvc.hbpAbra pela sua IDE este arquivo ai! compile e o outro para gerar a lib.
Usuários vendo este fórum: Nenhum usuário registrado online e 7 visitantes