Menu

#46 Error trying to build hwreport under linux

v1.0_(example)
open
nobody
None
1
2021-09-03
2021-08-31
No

Error when linking:

Edition des liens de hwreport
2021/08/31 16:48:32
-------------------------------------------------------------
sh -c 'gcc obj/hwreport.c obj/opensave.c obj/printrpt.c obj/propert.c obj/repexec.c -ohwreport -I /usr/include/harbour -I /usr/include/hwgui -L
/usr/lib/harbour -L /usr/lib/hwgui -Wl,--start-group -lhwgui -lprocmisc -lhbxml -lhwgdebug -lhbdebug -lhbvm -lhbrtl -lgtcgi -lhblang -lhbrdd -lhbmacro
-lhbpp -lrddntx -lrddcdx -lrddfpt -lhbsix -lhbcommon -lhbcpage -lhbcplr -lhbct -lhbnf -Wl,--end-group -pthread -I/usr/include/gtk-2.0
-I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0
-I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0
-I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2
-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 -lpcre -lm 2>&1 | tee -a obj/gcc_hwreport.log
-------------------------------------------------------------

/tmp/cc5SBBdW.o:(.data+0x550) : référence indéfinie vers « HB_FUN_HWG_SHOWSCROLLBAR »
/tmp/cc5SBBdW.o:(.data+0x7b0) : référence indéfinie vers « HB_FUN_HWG_CHECKRADIOBUTTON »
/tmp/cc5SBBdW.o:(.data+0x850) : référence indéfinie vers « HB_FUN_HWG_ISDLGBUTTONCHECKED »
/tmp/cc5SBBdW.o:(.data+0xa70) : référence indéfinie vers « HB_FUN_HWG_SETSCROLLINFO »
/tmp/cc5SBBdW.o:(.data+0xc30) : référence indéfinie vers « HB_FUN_HWG_POSTMESSAGE »
/tmp/ccRQApg6.o:(.data+0x130) : référence indéfinie vers « HB_FUN_HWG_SETDLGITEMTEXT »
/tmp/ccRQApg6.o:(.data+0x2d0) : référence indéfinie vers « HB_FUN_HWG_CHECKRADIOBUTTON »
/tmp/ccRQApg6.o:(.data+0x330) : référence indéfinie vers « HB_FUN_HWG_GETDLGITEM »
/tmp/ccRQApg6.o:(.data+0x350) : référence indéfinie vers « HB_FUN_HWG_ISDLGBUTTONCHECKED »
/tmp/ccRQApg6.o:(.data+0x3b0) : référence indéfinie vers « HB_FUN_HWG_SAVEFILE »
/tmp/ccRQApg6.o:(.data+0x3d0) : référence indéfinie vers « HB_FUN_HWG_GETEDITTEXT »
/tmp/ccRQApg6.o:(.data+0x550) : référence indéfinie vers « HB_FUN_HWG_SHOWSCROLLBAR »
/tmp/cck4iU0q.o:(.data+0x350) : référence indéfinie vers « HB_FUN_HWG_CHECKRADIOBUTTON »
/tmp/cck4iU0q.o:(.data+0x370) : référence indéfinie vers « HB_FUN_HWG_SETDLGITEMTEXT »
/tmp/cck4iU0q.o:(.data+0x450) : référence indéfinie vers « HB_FUN_HWG_GETDLGITEM »
/tmp/cck4iU0q.o:(.data+0x470) : référence indéfinie vers « HB_FUN_HWG_GETEDITTEXT »
/tmp/cck4iU0q.o:(.data+0x490) : référence indéfinie vers « HB_FUN_HWG_ISDLGBUTTONCHECKED »
/tmp/cck4iU0q.o:(.data+0x4d0) : référence indéfinie vers « HB_FUN_HWG_GETDLGITEMTEXT »
collect2: error: ld returned 1 exit status

What do I miss ?
Thanks
A+

Discussion

  • Alexander S.Kresin

    Initially, hwreport worked on Windows only. Wilfried began to port it to GTK, but didn't finished this task.

    Regards, Alexander.

     
  • Aupeix Alain

    Aupeix Alain - 2021-09-02

    ok

     
  • Alexander S.Kresin

    I will look at it - maybe, it isn't laborious to make it GTK compatible.

     
  • Aupeix Alain

    Aupeix Alain - 2021-09-03

    ok thanks.

    A+

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.