


Hi,
I have clone the project, but it seems there is no way to build
under linux.
build_gtk.sh is missing.
Not ready now ?
Thanks
A+
--
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: https://groups.google.com/group/harbour-users
---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-user...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/harbour-users/a15a2d6c-35e0-47ab-9e77-203ae23e3084n%40googlegroups.com.
Sorry, I missed it was in samples. :/
To view this discussion visit https://groups.google.com/d/msgid/harbour-users/c1927c53-e21e-6323-877d-9f0282a7e2e7%40wanadoo.fr.
Hi,
Now I tried to build under Xubuntu 24.04.
There are a lot of warnings, and finally it failed when linking:
beatrice@hp15-ubuntu:/opt/TuxPrograms/trunks/HarbourBuilder/samples$
./build_gtk.sh
/opt/TuxPrograms/trunks/HarbourBuilder
hbbuilder_linux
Using Harbour: /usr/bin
Building: hbbuilder_linux
[1/5] Compiling hbbuilder_linux.prg...
Harbour 3.2.0dev (r2502110321)
Copyright (c) 1999-2024, https://harbour.github.io/
[2/5] Compiling hbbuilder_linux.c...
[3/5] Compiling GTK3 core...
In file included from /usr/include/harbour/hbdefs.h:56,
from /usr/include/harbour/hbvmpub.h:50,
from /usr/include/harbour/hbapi.h:55,
from
/opt/TuxPrograms/trunks/HarbourBuilder/backends/gtk3/gtk3_core.c:9:
/usr/include/harbour/hbsetup.h:557: warning: "HB_DEPRECATED"
redefined
557 | #define HB_DEPRECATED __attribute__ (( __deprecated__
))
|
In file included from /usr/include/harfbuzz/hb-blob.h:34,
from /usr/include/harfbuzz/hb.h:31,
from
/usr/include/pango-1.0/pango/pango-coverage.h:28,
from
/usr/include/pango-1.0/pango/pango-font.h:25,
from
/usr/include/pango-1.0/pango/pango-attributes.h:25,
from /usr/include/pango-1.0/pango/pango.h:25,
from /usr/include/gtk-3.0/gdk/gdktypes.h:35,
from
/usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:30,
from /usr/include/gtk-3.0/gdk/gdk.h:32,
from /usr/include/gtk-3.0/gtk/gtk.h:30,
from
/opt/TuxPrograms/trunks/HarbourBuilder/backends/gtk3/gtk3_core.c:8:
/usr/include/harfbuzz/hb-common.h:73: note: this is the location
of the previous definition
73 | #define HB_DEPRECATED __attribute__((__deprecated__))
|
/opt/TuxPrograms/trunks/HarbourBuilder/backends/gtk3/gtk3_core.c:
In function ‘HB_FUN_GTK_ABOUTDIALOG’:
/opt/TuxPrograms/trunks/HarbourBuilder/backends/gtk3/gtk3_core.c:3915:10:
warning: ‘gtk_message_dialog_set_image’ is deprecated
[-Wdeprecated-declarations]
3915 | gtk_message_dialog_set_image(
GTK_MESSAGE_DIALOG(dialog), img );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:150:
/usr/include/gtk-3.0/gtk/gtkmessagedialog.h:115:12: note: declared
here
115 | void gtk_message_dialog_set_image
(GtkMessageDialog *dialog,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/TuxPrograms/trunks/HarbourBuilder/backends/gtk3/gtk3_core.c:
In function ‘HB_FUN_UI_GETPROP’:
/opt/TuxPrograms/trunks/HarbourBuilder/backends/gtk3/gtk3_core.c:2103:47:
warning: ‘,12’ directive output may be truncated writing 3 bytes
into a region of size between 1 and 128 [-Wformat-truncation=]
2103 | snprintf( szFont, sizeof(szFont), "%s,12", desc
);
| ^~~
/opt/TuxPrograms/trunks/HarbourBuilder/backends/gtk3/gtk3_core.c:2103:10:
note: ‘snprintf’ output between 4 and 131 bytes into a destination
of size 128
2103 | snprintf( szFont, sizeof(szFont), "%s,12", desc
);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/TuxPrograms/trunks/HarbourBuilder/backends/gtk3/gtk3_core.c:
In function ‘HB_FUN_UI_GETALLPROPS’:
/opt/TuxPrograms/trunks/HarbourBuilder/backends/gtk3/gtk3_core.c:2238:39:
warning: ‘,12’ directive output may be truncated writing 3 bytes
into a region of size between 1 and 128 [-Wformat-truncation=]
2238 | snprintf( sf, sizeof(sf), "%s,12",
p->FFontDesc );
| ^~~
/opt/TuxPrograms/trunks/HarbourBuilder/backends/gtk3/gtk3_core.c:2238:10:
note: ‘snprintf’ output between 4 and 131 bytes into a destination
of size 128
2238 | snprintf( sf, sizeof(sf), "%s,12",
p->FFontDesc );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[4/5] Compiling GTK3 inspector...
In file included from /usr/include/harbour/hbdefs.h:56,
from /usr/include/harbour/hbvmpub.h:50,
from /usr/include/harbour/hbapi.h:55,
from
/opt/TuxPrograms/trunks/HarbourBuilder/backends/gtk3/gtk3_inspector.c:10:
/usr/include/harbour/hbsetup.h:557: warning: "HB_DEPRECATED"
redefined
557 | #define HB_DEPRECATED __attribute__ (( __deprecated__
))
|
In file included from /usr/include/harfbuzz/hb-blob.h:34,
from /usr/include/harfbuzz/hb.h:31,
from
/usr/include/pango-1.0/pango/pango-coverage.h:28,
from
/usr/include/pango-1.0/pango/pango-font.h:25,
from
/usr/include/pango-1.0/pango/pango-attributes.h:25,
from /usr/include/pango-1.0/pango/pango.h:25,
from /usr/include/gtk-3.0/gdk/gdktypes.h:35,
from
/usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:30,
from /usr/include/gtk-3.0/gdk/gdk.h:32,
from /usr/include/gtk-3.0/gtk/gtk.h:30,
from
/opt/TuxPrograms/trunks/HarbourBuilder/backends/gtk3/gtk3_inspector.c:9:
/usr/include/harfbuzz/hb-common.h:73: note: this is the location
of the previous definition
73 | #define HB_DEPRECATED __attribute__((__deprecated__))
|
[5/5] Linking hbbuilder_linux...
/usr/bin/ld: /usr/lib/harbour/libgttrm.a(gttrm.o): warning:
relocation against `gpm_consolefd' in read-only section `.text'
/usr/bin/ld : /usr/lib/harbour/libgttrm.a(gttrm.o) : dans la
fonction « hb_gt_trm_mouse_Hide » :
(.text+0x24e) : référence indéfinie vers « gpm_visiblepointer »
/usr/bin/ld : /usr/lib/harbour/libgttrm.a(gttrm.o) : dans la
fonction « hb_gt_trm_Refresh » :
(.text+0x1f0d) : référence indéfinie vers « gpm_visiblepointer »
/usr/bin/ld : (.text+0x1f7c) : référence indéfinie vers
« gpm_zerobased »
/usr/bin/ld : (.text+0x1f9d) : référence indéfinie vers
« _gpm_arg »
/usr/bin/ld : (.text+0x1fa3) : référence indéfinie vers
« _gpm_buf »
/usr/bin/ld : (.text+0x1fae) : référence indéfinie vers
« gpm_consolefd »
/usr/bin/ld : (.text+0x1fc1) : référence indéfinie vers
« _gpm_buf »
/usr/bin/ld : /usr/lib/harbour/libgttrm.a(gttrm.o) : dans la
fonction « hb_gt_trm_mouse_SetPos » :
(.text+0x203a) : référence indéfinie vers « gpm_visiblepointer »
/usr/bin/ld : (.text+0x204c) : référence indéfinie vers
« gpm_zerobased »
/usr/bin/ld : (.text+0x205b) : référence indéfinie vers
« _gpm_arg »
/usr/bin/ld : (.text+0x2066) : référence indéfinie vers
« gpm_consolefd »
/usr/bin/ld : (.text+0x2071) : référence indéfinie vers
« _gpm_buf »
/usr/bin/ld : (.text+0x2085) : référence indéfinie vers
« _gpm_buf »
/usr/bin/ld : /usr/lib/harbour/libgttrm.a(gttrm.o) : dans la
fonction « hb_gt_trm_mouse_Show » :
(.text+0x20f7) : référence indéfinie vers « gpm_consolefd »
/usr/bin/ld : (.text+0x210c) : référence indéfinie vers
« gpm_zerobased »
/usr/bin/ld : (.text+0x211a) : référence indéfinie vers
« _gpm_buf »
/usr/bin/ld : (.text+0x2122) : référence indéfinie vers
« _gpm_arg »
/usr/bin/ld : (.text+0x2128) : référence indéfinie vers
« gpm_visiblepointer »
/usr/bin/ld : (.text+0x2147) : référence indéfinie vers
« _gpm_buf »
/usr/bin/ld : /usr/lib/harbour/libgttrm.a(gttrm.o) : dans la
fonction « set_gpmevt » :
(.text+0x3f30) : référence indéfinie vers « Gpm_GetEvent »
/usr/bin/ld : /usr/lib/harbour/libgttrm.a(gttrm.o) : dans la
fonction « hb_gt_trm_Exit » :
(.text+0x4e94) : référence indéfinie vers « gpm_fd »
/usr/bin/ld : (.text+0x51da) : référence indéfinie vers
« Gpm_Close »
/usr/bin/ld : (.text+0x523c) : référence indéfinie vers
« Gpm_Close »
/usr/bin/ld : /usr/lib/harbour/libgttrm.a(gttrm.o) : dans la
fonction « hb_gt_trm_Init » :
(.text+0x7086) : référence indéfinie vers « gpm_zerobased »
/usr/bin/ld : (.text+0x7097) : référence indéfinie vers
« gpm_visiblepointer »
/usr/bin/ld : (.text+0x70a0) : référence indéfinie vers
« Gpm_Open »
/usr/bin/ld : (.text+0x70b2) : référence indéfinie vers « gpm_fd »
/usr/bin/ld : (.text+0x70da) : référence indéfinie vers « gpm_fd »
/usr/bin/ld : (.text+0x712b) : référence indéfinie vers « gpm_fd »
/usr/bin/ld : (.text+0x713a) : référence indéfinie vers « gpm_fd »
/usr/bin/ld : (.text+0x714a) : référence indéfinie vers « gpm_fd »
/usr/bin/ld :
/usr/lib/harbour/libgttrm.a(gttrm.o):(.text+0x716a) : encore plus
de références indéfinies suivent vers « gpm_fd »
/usr/bin/ld: warning: creating DT_TEXTREL in a PIE
collect2: error: ld returned 1 exit status
Do I miss something ?
ThanksHi Davide,
Adding -lgpm did the job, and the program opens.
But I have no build_scintilla.sh
Thanks--
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: https://groups.google.com/group/harbour-users
---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-user...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/harbour-users/99f4a7c7-8c70-4a67-b3b9-a1b35688dd14n%40googlegroups.com.
Free and open source:
--
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: https://groups.google.com/group/harbour-users
---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-user...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/harbour-users/41f8ec39-188e-4933-b347-22f08a95a5f9n%40googlegroups.com.
Hi,
I have pulled from github, but now, it fails when linking :
______________________________________________________________________________
Where is the problem ?
Why mac functions ?
--
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: https://groups.google.com/group/harbour-users
---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-user...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/harbour-users/b17297d8-fda8-403f-a112-78343e138966n%40googlegroups.com.

To view this discussion visit https://groups.google.com/d/msgid/harbour-users/4452c975-feac-41eb-8dab-b9bde9969ba6n%40googlegroups.com.
Dear Alain,
Please git pull and try it again
many thanks for your feedback
Hi, there is always lgpm error :
beatrice@hp15-ubuntu:/opt/TuxPrograms/trunks/hbbuilder$
./build_linux.sh
Using Harbour: /opt/TuxPrograms/trunks/harbour
Building: hbbuilder_linux
[1/6] Compiling hbbuilder_linux.prg...
Harbour 3.2.0dev (r2502110321)
Copyright (c) 1999-2024, https://harbour.github.io/
[2/6] Compiling hbbuilder_linux.c...
[3/6] Compiling GTK3 core...
[4/6] Compiling GTK3 inspector...
[5/6] Linking hbbuilder_linux...
/usr/bin/ld:
/opt/TuxPrograms/trunks/harbour/lib/linux/gcc/libgttrm.a(gttrm.o):
warning: relocation against `gpm_consolefd' in read-only section
`.text'
/usr/bin/ld :
/opt/TuxPrograms/trunks/harbour/lib/linux/gcc/libgttrm.a(gttrm.o) :
dans la fonction « hb_gt_trm_mouse_Hide » :
gttrm.c:(.text+0x24e) : référence indéfinie vers
« gpm_visiblepointer »
/usr/bin/ld :
/opt/TuxPrograms/trunks/harbour/lib/linux/gcc/libgttrm.a(gttrm.o) :
dans la fonction « hb_gt_trm_Refresh » :
gttrm.c:(.text+0x1f0d) : référence indéfinie vers
« gpm_visiblepointer »
/usr/bin/ld : gttrm.c:(.text+0x1f7c) : référence indéfinie vers
« gpm_zerobased »
/usr/bin/ld : gttrm.c:(.text+0x1f9d) : référence indéfinie vers
« _gpm_arg »
/usr/bin/ld : gttrm.c:(.text+0x1fa3) : référence indéfinie vers
« _gpm_buf »
/usr/bin/ld : gttrm.c:(.text+0x1fae) : référence indéfinie vers
« gpm_consolefd »
/usr/bin/ld : gttrm.c:(.text+0x1fc1) : référence indéfinie vers
« _gpm_buf »
/usr/bin/ld :
/opt/TuxPrograms/trunks/harbour/lib/linux/gcc/libgttrm.a(gttrm.o) :
dans la fonction « hb_gt_trm_mouse_SetPos » :
gttrm.c:(.text+0x203a) : référence indéfinie vers
« gpm_visiblepointer »
/usr/bin/ld : gttrm.c:(.text+0x204c) : référence indéfinie vers
« gpm_zerobased »
/usr/bin/ld : gttrm.c:(.text+0x205b) : référence indéfinie vers
« _gpm_arg »
/usr/bin/ld : gttrm.c:(.text+0x2066) : référence indéfinie vers
« gpm_consolefd »
/usr/bin/ld : gttrm.c:(.text+0x2071) : référence indéfinie vers
« _gpm_buf »
/usr/bin/ld : gttrm.c:(.text+0x2085) : référence indéfinie vers
« _gpm_buf »
/usr/bin/ld :
/opt/TuxPrograms/trunks/harbour/lib/linux/gcc/libgttrm.a(gttrm.o) :
dans la fonction « hb_gt_trm_mouse_Show » :
gttrm.c:(.text+0x20f7) : référence indéfinie vers
« gpm_consolefd »
/usr/bin/ld : gttrm.c:(.text+0x210c) : référence indéfinie vers
« gpm_zerobased »
/usr/bin/ld : gttrm.c:(.text+0x211a) : référence indéfinie vers
« _gpm_buf »
/usr/bin/ld : gttrm.c:(.text+0x2122) : référence indéfinie vers
« _gpm_arg »
/usr/bin/ld : gttrm.c:(.text+0x2128) : référence indéfinie vers
« gpm_visiblepointer »
/usr/bin/ld : gttrm.c:(.text+0x2147) : référence indéfinie vers
« _gpm_buf »
/usr/bin/ld :
/opt/TuxPrograms/trunks/harbour/lib/linux/gcc/libgttrm.a(gttrm.o) :
dans la fonction « set_gpmevt » :
gttrm.c:(.text+0x3f30) : référence indéfinie vers « Gpm_GetEvent »
/usr/bin/ld :
/opt/TuxPrograms/trunks/harbour/lib/linux/gcc/libgttrm.a(gttrm.o) :
dans la fonction « hb_gt_trm_Exit » :
gttrm.c:(.text+0x5a24) : référence indéfinie vers « gpm_fd »
/usr/bin/ld : gttrm.c:(.text+0x5d7a) : référence indéfinie vers
« Gpm_Close »
/usr/bin/ld : gttrm.c:(.text+0x5ddc) : référence indéfinie vers
« Gpm_Close »
/usr/bin/ld :
/opt/TuxPrograms/trunks/harbour/lib/linux/gcc/libgttrm.a(gttrm.o) :
dans la fonction « hb_gt_trm_Init » :
gttrm.c:(.text+0x70a6) : référence indéfinie vers
« gpm_zerobased »
/usr/bin/ld : gttrm.c:(.text+0x70b7) : référence indéfinie vers
« gpm_visiblepointer »
/usr/bin/ld : gttrm.c:(.text+0x70c0) : référence indéfinie vers
« Gpm_Open »
/usr/bin/ld : gttrm.c:(.text+0x70d2) : référence indéfinie vers
« gpm_fd »
/usr/bin/ld : gttrm.c:(.text+0x70fa) : référence indéfinie vers
« gpm_fd »
/usr/bin/ld : gttrm.c:(.text+0x714b) : référence indéfinie vers
« gpm_fd »
/usr/bin/ld : gttrm.c:(.text+0x715a) : référence indéfinie vers
« gpm_fd »
/usr/bin/ld : gttrm.c:(.text+0x716a) : référence indéfinie vers
« gpm_fd »
/usr/bin/ld :
/opt/TuxPrograms/trunks/harbour/lib/linux/gcc/libgttrm.a(gttrm.o):gttrm.c:(.text+0x718a) :
encore plus de références indéfinies suivent vers « gpm_fd »
-lgpm missing !
and a new one :
/usr/bin/ld : hbbuilder_linux.o:(.data.rel+0x1d70) : référence
indéfinie vers « HB_FUN_UI_SETCTRLOWNER »
/usr/bin/ld : hbbuilder_linux.o:(.data.rel+0x1d90) : référence
indéfinie vers « HB_FUN_UI_GETCTRLPAGE »
/usr/bin/ld : hbbuilder_linux.o:(.data.rel+0x1db0) : référence
indéfinie vers « HB_FUN_UI_GETCTRLOWNER »
/usr/bin/ld : hbbuilder_linux.o:(.data.rel+0x24f0) : référence
indéfinie vers « HB_FUN_UI_SETPENDINGPAGEOWNER »
/usr/bin/ld : hbbuilder_linux.o:(.data.rel+0x25d0) : référence
indéfinie vers « HB_FUN_UI_TABCONTROLNEW »
/usr/bin/ld : hbbuilder_linux.o:(.data.rel+0x26b0) : référence
indéfinie vers « HB_FUN_UI_TREEVIEWNEW »
/usr/bin/ld: warning: creating DT_TEXTREL in a PIE
collect2: error: ld returned 1 exit status
Harbour's libgttrm.a was built with gpm support but the dev library is missing. On Ubuntu:
sudo apt install libgpm-dev
2. UI_SetCtrlOwner et al. missing on Linux:
Already fixed upstream. The user just needs to:
cd /opt/TuxPrograms/trunks/hbbuilder
git pull
./build_linux.sh
Both actions together should produce a clean build.
https://fivetechsoft.github.io/HarbourBuilder/


--
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: https://groups.google.com/group/harbour-users
---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-user...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/harbour-users/a76b6cff-7fa8-4861-9597-1f56327a9a2an%40googlegroups.com.
