Hi Michalis,

On Sun, 2026-03-22 at 00:18 +0100, Mazen Neifer wrote:
> Hi Michalis,
> 
> Thank you for looking at this and spotting this problem.
> 
> On Sat, 2026-03-21 at 14:36 +0000, Michalis Kamburelis wrote:
> > 6. The critical problem is that project doesn't link with fp-units-
> > gtk3 . I'm attaching full output, the core are linking issues:
> > 
> > """
> > /usr/bin/x86_64-linux-gnu-ld.bfd: /usr/lib/x86_64-linux-
> > gnu/fpc/3.2.2/units/x86_64-linux/gtk3/glib2.o: in function
> > `GLIB2$_$TGMAINCONTEXT_$__$$_PUSHER_NEW$$PGMAINCONTEXTPUSHER':
> > glib2.pas:(.text.n_glib2$_$tgmaincontext_$__$$_pusher_new$$pgmainco
> > ntextpusher+0x15): undefined reference to
> > `g_main_context_pusher_new'
> > /usr/bin/x86_64-linux-gnu-ld.bfd: /usr/lib/x86_64-linux-
> > gnu/fpc/3.2.2/units/x86_64-linux/gtk3/glib2.o: in function
> > `GLIB2$_$TGMAINCONTEXT_$__$$_PUSHER_FREE$PGMAINCONTEXTPUSHER':
> > glib2.pas:(.text.n_glib2$_$tgmaincontext_$__$$_pusher_free$pgmainco
> > ntextpusher+0x19): undefined reference to
> > `g_main_context_pusher_free'

These were C macros, as stated in previous message, and are now
filtered out. 

> > /usr/bin/x86_64-linux-gnu-ld.bfd: /usr/lib/x86_64-linux-
> > gnu/fpc/3.2.2/units/x86_64-linux/gtk3/glib2.o: in function
> > `GLIB2$_$TGTHREAD_$__$$_INIT$POINTER':
> > glib2.pas:(.text.n_glib2$_$tgthread_$__$$_init$pointer+0x19):
> > undefined reference to `g_thread_init'
> > /usr/bin/x86_64-linux-gnu-ld.bfd: /usr/lib/x86_64-linux-
> > gnu/fpc/3.2.2/units/x86_64-linux/gtk3/glib2.o: in function
> > `GLIB2$_$TGTHREAD_$__$$_INIT_WITH_ERRORCHECK_MUTEXES$POINTER':
> > glib2.pas:(.text.n_glib2$_$tgthread_$__$$_init_with_errorcheck_mute
> > xes$pointer+0x19): undefined reference to
> > `g_thread_init_with_errorcheck_mutexes'
> > """
These require linking with -lgthread-2.0. I don't have strong mind
whether this shall be enforced withing binding unit. 

I'm going to upload both a new version of `git2pas` and `gtk3binding`
so that you can continue your tests.
-- 
Cheers,
Mazen Neifer
Debian Developer

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to