Menu

#118 Error building hwglblsample under linux

v1.0_(example)
closed
nobody
None
1
2023-05-08
2023-04-02
No

Hi Wilfried,
I'm able to build hwlbledt, put not hwblbsample

alain@aupeix-GX723:/opt/TuxPrograms/trunks/harbour/addons/hwgui-src/hwgui/contrib/hwlabel$ hbmk2 hwlblsample.hbp
Harbour 3.2.0dev (r2211251714)
Copyright (c) 1999-2021, https://harbour.github.io/
Compiling 'hwlblsample.prg'...
Compiling 'libhwlabel.prg'...
Lines 5519, Functions/Procedures 41
Generating C source output to '/tmp/hbmk_sxutqp.dir/hwlblsample.c'... Done.
Compiling 'libhwlabel.prg'...
Lines 5519, Functions/Procedures 38
Generating C source output to '/tmp/hbmk_sxutqp.dir/libhwlabel.c'... Done.
/tmp/hbmk_sxutqp.dir/libhwlabel.o : Dans la fonction « HB_FUN_HWLABEL_MACRO » :
libhwlabel.c:(.text+0x20) : définitions multiples de « HB_FUN_HWLABEL_MACRO »
/tmp/hbmk_sxutqp.dir/hwlblsample.o:hwlblsample.c:(.text+0x80) : défini pour la première fois ici
/tmp/hbmk_sxutqp.dir/libhwlabel.o : Dans la fonction « HB_FUN_HWLABEL_DEBOSTR » :
libhwlabel.c:(.text+0x40) : définitions multiples de « HB_FUN_HWLABEL_DEBOSTR »
/tmp/hbmk_sxutqp.dir/hwlblsample.o:hwlblsample.c:(.text+0xa0) : défini pour la première fois ici
/tmp/hbmk_sxutqp.dir/libhwlabel.o : Dans la fonction « HB_FUN_HWLABEL_GETOSTR » :
libhwlabel.c:(.text+0x60) : définitions multiples de « HB_FUN_HWLABEL_GETOSTR »
/tmp/hbmk_sxutqp.dir/hwlblsample.o:hwlblsample.c:(.text+0xc0) : défini pour la première fois ici
/tmp/hbmk_sxutqp.dir/libhwlabel.o : Dans la fonction « HB_FUN_HWLABEL_SETOSTR » :
libhwlabel.c:(.text+0x80) : définitions multiples de « HB_FUN_HWLABEL_SETOSTR »
/tmp/hbmk_sxutqp.dir/hwlblsample.o:hwlblsample.c:(.text+0xe0) : défini pour la première fois ici
/tmp/hbmk_sxutqp.dir/libhwlabel.o : Dans la fonction « HB_FUN_HWLABEL_SETO » :
libhwlabel.c:(.text+0xa0) : définitions multiples de « HB_FUN_HWLABEL_SETO »
/tmp/hbmk_sxutqp.dir/hwlblsample.o:hwlblsample.c:(.text+0x100) : défini pour la première fois ici
/tmp/hbmk_sxutqp.dir/libhwlabel.o : Dans la fonction « HB_FUN_HWLABEL_GETO » :
libhwlabel.c:(.text+0xc0) : définitions multiples de « HB_FUN_HWLABEL_GETO »
/tmp/hbmk_sxutqp.dir/hwlblsample.o:hwlblsample.c:(.text+0x120) : défini pour la première fois ici
/tmp/hbmk_sxutqp.dir/libhwlabel.o : Dans la fonction « HB_FUN_HWLABEL_OPENR » :
libhwlabel.c:(.text+0xe0) : définitions multiples de « HB_FUN_HWLABEL_OPENR »
/tmp/hbmk_sxutqp.dir/hwlblsample.o:hwlblsample.c:(.text+0x140) : défini pour la première fois ici
/tmp/hbmk_sxutqp.dir/libhwlabel.o : Dans la fonction « HB_FUN_HWLABEL_TRANSFI » :
libhwlabel.c:(.text+0x100) : définitions multiples de « HB_FUN_HWLABEL_TRANSFI »
/tmp/hbmk_sxutqp.dir/hwlblsample.o:hwlblsample.c:(.text+0x160) : défini pour la première fois ici
/tmp/hbmk_sxutqp.dir/libhwlabel.o : Dans la fonction « HB_FUN_HWLABEL_FILERLN » :
libhwlabel.c:(.text+0x120) : définitions multiples de « HB_FUN_HWLABEL_FILERLN »
/tmp/hbmk_sxutqp.dir/hwlblsample.o:hwlblsample.c:(.text+0x180) : défini pour la première fois ici
/tmp/hbmk_sxutqp.dir/libhwlabel.o : Dans la fonction « HB_FUN_HWLABEL_REM_CR » :
libhwlabel.c:(.text+0x140) : définitions multiples de « HB_FUN_HWLABEL_REM_CR »
/tmp/hbmk_sxutqp.dir/hwlblsample.o:hwlblsample.c:(.text+0x1a0) : défini pour la première fois ici
/tmp/hbmk_sxutqp.dir/libhwlabel.o : Dans la fonction « HB_FUN_HWLABEL_WRITELN » :
libhwlabel.c:(.text+0x160) : définitions multiples de « HB_FUN_HWLABEL_WRITELN »
/tmp/hbmk_sxutqp.dir/hwlblsample.o:hwlblsample.c:(.text+0x1c0) : défini pour la première fois ici
/tmp/hbmk_sxutqp.dir/libhwlabel.o : Dans la fonction « HB_FUN_HWLABEL_WRI_TXTDOS » :
libhwlabel.c:(.text+0x180) : définitions multiples de « HB_FUN_HWLABEL_WRI_TXTDOS »
/tmp/hbmk_sxutqp.dir/hwlblsample.o:hwlblsample.c:(.text+0x1e0) : défini pour la première fois ici
/tmp/hbmk_sxutqp.dir/libhwlabel.o : Dans la fonction « HB_FUN_HWLABEL_TRANSLCP2 » :
libhwlabel.c:(.text+0x1a0) : définitions multiples de « HB_FUN_HWLABEL_TRANSLCP2 »
/tmp/hbmk_sxutqp.dir/hwlblsample.o:hwlblsample.c:(.text+0x200) : défini pour la première fois ici
/tmp/hbmk_sxutqp.dir/libhwlabel.o : Dans la fonction « HB_FUN_HWLABEL_REM_FILEEXT » :
libhwlabel.c:(.text+0x1c0) : définitions multiples de « HB_FUN_HWLABEL_REM_FILEEXT »
/tmp/hbmk_sxutqp.dir/hwlblsample.o:hwlblsample.c:(.text+0x220) : défini pour la première fois ici
/tmp/hbmk_sxutqp.dir/libhwlabel.o : Dans la fonction « HB_FUN_HWLABEL_MAX » :
libhwlabel.c:(.text+0x1e0) : définitions multiples de « HB_FUN_HWLABEL_MAX »
/tmp/hbmk_sxutqp.dir/hwlblsample.o:hwlblsample.c:(.text+0x240) : défini pour la première fois ici
/tmp/hbmk_sxutqp.dir/libhwlabel.o : Dans la fonction « HB_FUN_HWLABEL_HEXDUMP » :
libhwlabel.c:(.text+0x200) : définitions multiples de « HB_FUN_HWLABEL_HEXDUMP »
/tmp/hbmk_sxutqp.dir/hwlblsample.o:hwlblsample.c:(.text+0x260) : défini pour la première fois ici
/tmp/hbmk_sxutqp.dir/libhwlabel.o : Dans la fonction « HB_FUN_O_NEWLINE » :
libhwlabel.c:(.text+0x220) : définitions multiples de « HB_FUN_O_NEWLINE »
/tmp/hbmk_sxutqp.dir/hwlblsample.o:hwlblsample.c:(.text+0x280) : défini pour la première fois ici
/tmp/hbmk_sxutqp.dir/libhwlabel.o : Dans la fonction « HB_FUN_O_PRTTXT » :
libhwlabel.c:(.text+0x240) : définitions multiples de « HB_FUN_O_PRTTXT »
/tmp/hbmk_sxutqp.dir/hwlblsample.o:hwlblsample.c:(.text+0x2a0) : défini pour la première fois ici
/tmp/hbmk_sxutqp.dir/libhwlabel.o : Dans la fonction « HB_FUN_O_NPG » :
libhwlabel.c:(.text+0x260) : définitions multiples de « HB_FUN_O_NPG »
/tmp/hbmk_sxutqp.dir/hwlblsample.o:hwlblsample.c:(.text+0x2c0) : défini pour la première fois ici
/tmp/hbmk_sxutqp.dir/libhwlabel.o : Dans la fonction « HB_FUN_O_END » :
libhwlabel.c:(.text+0x280) : définitions multiples de « HB_FUN_O_END »
/tmp/hbmk_sxutqp.dir/hwlblsample.o:hwlblsample.c:(.text+0x2e0) : défini pour la première fois ici
/tmp/hbmk_sxutqp.dir/libhwlabel.o : Dans la fonction « HB_FUN_O_NEW » :
libhwlabel.c:(.text+0x2a0) : définitions multiples de « HB_FUN_O_NEW »
/tmp/hbmk_sxutqp.dir/hwlblsample.o:hwlblsample.c:(.text+0x300) : défini pour la première fois ici
/tmp/hbmk_sxutqp.dir/libhwlabel.o : Dans la fonction « HB_FUN_O_STD » :
libhwlabel.c:(.text+0x2c0) : définitions multiples de « HB_FUN_O_STD »
/tmp/hbmk_sxutqp.dir/hwlblsample.o:hwlblsample.c:(.text+0x320) : défini pour la première fois ici
/tmp/hbmk_sxutqp.dir/libhwlabel.o : Dans la fonction « HB_FUN_MDE » :
libhwlabel.c:(.text+0x2e0) : définitions multiples de « HB_FUN_MDE »
/tmp/hbmk_sxutqp.dir/hwlblsample.o:hwlblsample.c:(.text+0x340) : défini pour la première fois ici
/tmp/hbmk_sxutqp.dir/libhwlabel.o : Dans la fonction « HB_FUN_NCH » :
libhwlabel.c:(.text+0x300) : définitions multiples de « HB_FUN_NCH »
/tmp/hbmk_sxutqp.dir/hwlblsample.o:hwlblsample.c:(.text+0x360) : défini pour la première fois ici
/tmp/hbmk_sxutqp.dir/libhwlabel.o : Dans la fonction « HB_FUN_DEF » :
libhwlabel.c:(.text+0x320) : définitions multiples de « HB_FUN_DEF »
/tmp/hbmk_sxutqp.dir/hwlblsample.o:hwlblsample.c:(.text+0x380) : défini pour la première fois ici
/tmp/hbmk_sxutqp.dir/libhwlabel.o : Dans la fonction « HB_FUN_SMA » :
libhwlabel.c:(.text+0x340) : définitions multiples de « HB_FUN_SMA »
/tmp/hbmk_sxutqp.dir/hwlblsample.o:hwlblsample.c:(.text+0x3a0) : défini pour la première fois ici
/tmp/hbmk_sxutqp.dir/libhwlabel.o : Dans la fonction « HB_FUN_SML » :
libhwlabel.c:(.text+0x360) : définitions multiples de « HB_FUN_SML »
/tmp/hbmk_sxutqp.dir/hwlblsample.o:hwlblsample.c:(.text+0x3c0) : défini pour la première fois ici
/tmp/hbmk_sxutqp.dir/libhwlabel.o : Dans la fonction « HB_FUN_VSM » :
libhwlabel.c:(.text+0x380) : définitions multiples de « HB_FUN_VSM »
/tmp/hbmk_sxutqp.dir/hwlblsample.o:hwlblsample.c:(.text+0x3e0) : défini pour la première fois ici
/tmp/hbmk_sxutqp.dir/libhwlabel.o : Dans la fonction « HB_FUN_E » :
libhwlabel.c:(.text+0x3a0) : définitions multiples de « HB_FUN_E »
/tmp/hbmk_sxutqp.dir/hwlblsample.o:hwlblsample.c:(.text+0x400) : défini pour la première fois ici
/tmp/hbmk_sxutqp.dir/libhwlabel.o : Dans la fonction « HB_FUN_STR0 » :
libhwlabel.c:(.text+0x3c0) : définitions multiples de « HB_FUN_STR0 »
/tmp/hbmk_sxutqp.dir/hwlblsample.o:hwlblsample.c:(.text+0x420) : défini pour la première fois ici
/tmp/hbmk_sxutqp.dir/libhwlabel.o : Dans la fonction « HB_FUN_NOSKIP » :
libhwlabel.c:(.text+0x3e0) : définitions multiples de « HB_FUN_NOSKIP »
/tmp/hbmk_sxutqp.dir/hwlblsample.o:hwlblsample.c:(.text+0x440) : défini pour la première fois ici
/tmp/hbmk_sxutqp.dir/libhwlabel.o : Dans la fonction « HB_FUN_S » :
libhwlabel.c:(.text+0x400) : définitions multiples de « HB_FUN_S »
/tmp/hbmk_sxutqp.dir/hwlblsample.o:hwlblsample.c:(.text+0x460) : défini pour la première fois ici
/tmp/hbmk_sxutqp.dir/libhwlabel.o : Dans la fonction « HB_FUN_P » :
libhwlabel.c:(.text+0x420) : définitions multiples de « HB_FUN_P »
/tmp/hbmk_sxutqp.dir/hwlblsample.o:hwlblsample.c:(.text+0x480) : défini pour la première fois ici
/tmp/hbmk_sxutqp.dir/libhwlabel.o : Dans la fonction « HB_FUN_C » :
libhwlabel.c:(.text+0x440) : définitions multiples de « HB_FUN_C »
/tmp/hbmk_sxutqp.dir/hwlblsample.o:hwlblsample.c:(.text+0x4a0) : défini pour la première fois ici
/tmp/hbmk_sxutqp.dir/libhwlabel.o : Dans la fonction « HB_FUN_R » :
libhwlabel.c:(.text+0x460) : définitions multiples de « HB_FUN_R »
/tmp/hbmk_sxutqp.dir/hwlblsample.o:hwlblsample.c:(.text+0x4c0) : défini pour la première fois ici
/tmp/hbmk_sxutqp.dir/libhwlabel.o : Dans la fonction « HB_FUN_T » :
libhwlabel.c:(.text+0x480) : définitions multiples de « HB_FUN_T »
/tmp/hbmk_sxutqp.dir/hwlblsample.o:hwlblsample.c:(.text+0x4e0) : défini pour la première fois ici
/tmp/hbmk_sxutqp.dir/libhwlabel.o : Dans la fonction « HB_FUN_A » :
libhwlabel.c:(.text+0x4a0) : définitions multiples de « HB_FUN_A »
/tmp/hbmk_sxutqp.dir/hwlblsample.o:hwlblsample.c:(.text+0x500) : défini pour la première fois ici
/tmp/hbmk_sxutqp.dir/libhwlabel.o : Dans la fonction « HB_FUN_HWLBL_ICONHEX » :
libhwlabel.c:(.text+0x4c0) : définitions multiples de « HB_FUN_HWLBL_ICONHEX »
/tmp/hbmk_sxutqp.dir/hwlblsample.o:hwlblsample.c:(.text+0x520) : défini pour la première fois ici
collect2: error: ld returned 1 exit status
hbmk2[hwlblsample]: Erreur: Exécution de l'éditeur des liens. 1
gcc '/tmp/hbmk_sxutqp.dir/hwlblsample.o' '/tmp/hbmk_sxutqp.dir/libhwlabel.o'   -Wl,--start-group -lm -lhwgui -lprocmisc -lhbxml -lhwgdebug -lhbextern -lhbdebug -lhbvm -lhbrtl -lhblang -lhbcpage -lgtcgi -lgtpca -lgtstd -lgttrm -lhbrdd -lhbuddall -lhbusrrdd -lrddntx -lrddcdx -lrddnsx -lrddfpt -lhbrdd -lhbhsx -lhbsix -lhbmacro -lhbcplr -lhbpp -lhbcommon -lm -ldl -lrt -lhbpcre -lhbzlib -lgpm   -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype -Wl,--end-group -ohwlblsample -L/usr/lib64/harbour -L../.. -L/usr/lib/hwgui

hbmk2: Erreur: Référencée(s), manquante(s), mais fonction(s) inconnue(s):
       HWLABEL_MACRO(), HWLABEL_DEBOSTR(), HWLABEL_GETOSTR(),
       HWLABEL_SETOSTR(), HWLABEL_SETO(), HWLABEL_GETO(), HWLABEL_OPENR(),
       HWLABEL_TRANSFI(), HWLABEL_FILERLN(), HWLABEL_REM_CR(),
       HWLABEL_WRITELN(), HWLABEL_WRI_TXTDOS(), HWLABEL_TRANSLCP2(),
       HWLABEL_REM_FILEEXT(), HWLABEL_MAX(), HWLABEL_HEXDUMP(), O_NEWLINE(),
       O_PRTTXT(), O_NPG(), O_END(), O_NEW(), O_STD(), MDE(), NCH(), DEF(),
       SMA(), SML(), VSM(), E(), STR0(), NOSKIP(), S(), P(), C(), R(), T(),
       A(), HWLBL_ICONHEX()
alain@aupeix-GX723:/opt/TuxPrograms/trunks/harbour/addons/hwgui-src/hwgui/contrib/hwlabel$ 

!thanks
A+

Discussion

  • Aupeix Alain

    Aupeix Alain - 2023-04-04

    Hi,
    now I send you a version of hwlbledt with french language

    A+

     

    Last edit: Aupeix Alain 2023-04-04
  • Wilfried Brunken

    Hello Alain,
    i had no problems to compile your attached sample (17 Hours ago) on my Ubuntu 22 system.
    See appended log file.

    For more discussions, contact me after eastern, then i'll be back again.

    MNI TNX, 73 es 55 and
    Happy Easter from
    DF7BE, WIlfried

     
  • Aupeix Alain

    Aupeix Alain - 2023-04-06

    Hi Wilfried,

    The prg I sent is a version of hwlbledt.prg adding the french translation of the same prg name.
    The error I had was concerning hwlblsample.prg

    A+

     

    Last edit: Aupeix Alain 2023-04-06
  • Wilfried Brunken

    Hello Alain,
    i had no problems to compile hwlblsample.prg (see appended protokol)

    I am very busy and look for your new ticket # 119 after next weekend.

    MNI TNX, 73 es 55 de
    DF7BE, WIlfried

     
  • Wilfried Brunken

    Hello Alain,
    i copied the label editor with the french translation and
    made some modifications to be also ready for Windows with
    commit r3218.

    But on LINUX i detected some trouble with the
    help windows. I'll look for them the next days.

    Please check. I hope that the "oe" character is
    displayed on your Win PC correct, i saw only a
    block.

    MNI TNX, 73 es 55 de
    DF7BE, Wilfried

     
  • Aupeix Alain

    Aupeix Alain - 2023-05-01

    Hi Wilfried,

    ok for hwlbledt.

    But I have always the same error on hwlblsample

    I have no Win PC, only linux ...

    A+

     
  • Wilfried Brunken

    Hello Alain,
    with commit r3219 i solved the trouble with non modal help dialogs.
    Please check again. Can this ticket be closed ?

    I can not understand, why hwlblsample.prg could not be compiled.
    I will look for your new ticket #58 the next few days.

    MNI TNX, 73 es 55 de
    DF7BE, Wilfried

     
  • Aupeix Alain

    Aupeix Alain - 2023-05-04

    ok for what you modify. I suppose it was the impossibility to close the help window. No ?

    For hwlblsample, I found the reason : libhwlabel was called 2 times.
    I comment it in hbp file, and it's ok now.

    You can close the ticket.

    Thanks
    A+

     

    Last edit: Aupeix Alain 2023-05-04
  • Wilfried Brunken

    • status: open --> closed
     
  • Wilfried Brunken

    Hello Alain,
    i commented out the line in libhwlabel.prg
    // SET PROCEDURE TO libhwlabel
    it is not necessary, because
    the line for libhwlabel.prg is in the
    hbp file.
    I think, it depends on the used Harbour version (or command line options ?),
    wether the "SET PROCEDURE TO" command is ignored or not.

    I closed this ticket.

    MNI TNX, 73 es 55 de
    DF7BE, Wilfried

     

Log in to post a comment.