Quais libs contém estas funções?

Projeto [x]Harbour - Compilador de código aberto compatível com o Clipper.

Moderador: Moderadores

ricardo-barros
Usuário Nível 3
Usuário Nível 3
Mensagens: 104
Registrado em: 29 Out 2009 20:12
Localização: Fortaleza

Quais libs contém estas funções?

Mensagem por ricardo-barros »

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'
Avatar do usuário
JoséQuintas
Administrador
Administrador
Mensagens: 20267
Registrado em: 26 Fev 2007 11:59
Localização: São Paulo-SP

Quais libs contém estas funções?

Mensagem por JoséQuintas »

Se usar Harbour 3.4 ele deve dar as dicas no final.

Outra opção é usar o hbmk2 pra isso.
d:\CVSFiles\vszakats\extras\rddado>hbmk2 -find inetconnect
xhb.hbc (installed):
inetConnect()
inetConnectIP()
Harbour core (installed):
hb_inetConnect()
hb_inetConnectIP()
portanto, adicionar na linquedição xhb.hbc
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/
ricardo-barros
Usuário Nível 3
Usuário Nível 3
Mensagens: 104
Registrado em: 29 Out 2009 20:12
Localização: Fortaleza

Quais libs contém estas funções?

Mensagem por ricardo-barros »

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.
ricardo-barros
Usuário Nível 3
Usuário Nível 3
Mensagens: 104
Registrado em: 29 Out 2009 20:12
Localização: Fortaleza

Quais libs contém estas funções?

Mensagem por ricardo-barros »

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
Responder