Amigos, como resolvo estes erros? Quais libs devo incluir?
undefined reference to `HB_FUN_LISDIR'
undefined reference to `HB_FUN_GETPVPROFSTRING'
undefined reference to `HB_FUN_TINI'
undefined reference to `HB_FUN_INETINIT'
undefined reference to `HB_FUN_INETCONNECT'
undefined reference to `HB_FUN_INETERRORCODE'
undefined reference to `HB_FUN_INETSETTIMEOUT'
undefined reference to `HB_FUN_INETRECVENDBLOCK'
undefined reference to `HB_FUN_INETSENDALL'
undefined reference to `HB_FUN_INETERRORDESC'
undefined reference to `HB_FUN_INETRECV'
undefined reference to `HB_FUN_INETCLOSE'
undefined reference to `HB_FUN_INETDESTROY'
undefined reference to `HB_FUN_INETCLEANUP'
Quais libs contém estas funções?
Moderador: Moderadores
-
ricardo-barros
- Usuário Nível 3

- Mensagens: 104
- Registrado em: 29 Out 2009 20:12
- Localização: Fortaleza
- JoséQuintas
- Administrador

- Mensagens: 20267
- Registrado em: 26 Fev 2007 11:59
- Localização: São Paulo-SP
Quais libs contém estas funções?
Se usar Harbour 3.4 ele deve dar as dicas no final.
Outra opção é usar o hbmk2 pra isso.
Isso pra parte do que reclamou faltar.
Outra opção é usar o hbmk2 pra isso.
portanto, adicionar na linquedição xhb.hbcd:\CVSFiles\vszakats\extras\rddado>hbmk2 -find inetconnect
xhb.hbc (installed):
inetConnect()
inetConnectIP()
Harbour core (installed):
hb_inetConnect()
hb_inetConnectIP()
Isso pra parte do que reclamou faltar.
José M. C. Quintas
Harbour 3.2, mingw, gtwvg mt, fivewin 25.04, multithread, dbfcdx, MySQL, ADOClass, PDFClass, SefazClass, (hwgui mt), (hmg3), (hmg extended), (oohg), PNotepad, ASP, stored procedure, stored function, Linux (Flagship/harbour 3.2)
"The world is full of kings and queens, who blind our eyes and steal our dreams Its Heaven and Hell"
https://github.com/JoseQuintas/
Harbour 3.2, mingw, gtwvg mt, fivewin 25.04, multithread, dbfcdx, MySQL, ADOClass, PDFClass, SefazClass, (hwgui mt), (hmg3), (hmg extended), (oohg), PNotepad, ASP, stored procedure, stored function, Linux (Flagship/harbour 3.2)
"The world is full of kings and queens, who blind our eyes and steal our dreams Its Heaven and Hell"
https://github.com/JoseQuintas/
-
ricardo-barros
- Usuário Nível 3

- Mensagens: 104
- Registrado em: 29 Out 2009 20:12
- Localização: Fortaleza
Quais libs contém estas funções?
Que bom!
Eu não sabia que o Hbmk2 pode indicar o que incluir na linkedição. Pesquisando sobre sua dica (para saber mais sobre ela) vi que o xhb.hbc inclui automaticamente a lib hbct. Aí foi só incluí-la na lista de libs e tudo funcionou.
Obrigado.
Eu não sabia que o Hbmk2 pode indicar o que incluir na linkedição. Pesquisando sobre sua dica (para saber mais sobre ela) vi que o xhb.hbc inclui automaticamente a lib hbct. Aí foi só incluí-la na lista de libs e tudo funcionou.
Obrigado.
-
ricardo-barros
- Usuário Nível 3

- Mensagens: 104
- Registrado em: 29 Out 2009 20:12
- Localização: Fortaleza
Quais libs contém estas funções?
Ops! Me precipitei.
A inclusão da lib hbct falhou. Vejam o conteúdo de programa.hbp:
-inc
-workdir=.\TEMP
-gtwvt
-xHb
#-hbct da erro F0034 Bad command option '-c'
-d__full__
-d__HARBOUR__
-quiet
-oPROGRAMA
-nowarn
D:\sce\HELP.PRG
D:\sce\PROGRAMA.PRG
Estou compilando assim:
HBMK2 @PROGRAMA.HBP
A inclusão da lib hbct falhou. Vejam o conteúdo de programa.hbp:
-inc
-workdir=.\TEMP
-gtwvt
-xHb
#-hbct da erro F0034 Bad command option '-c'
-d__full__
-d__HARBOUR__
-quiet
-oPROGRAMA
-nowarn
D:\sce\HELP.PRG
D:\sce\PROGRAMA.PRG
Estou compilando assim:
HBMK2 @PROGRAMA.HBP