Page 1 of 1
PB5.40LTSB10: Use of messagerequester invokes linker-error
Posted: Tue Oct 13, 2015 1:42 pm
by Didelphodon
I have a program that uses MessageRequester - compiling it with the current version of PB (see subject) I receive a bunch of error-messages resulting in a linker-error.
See screenshot ...
With older versions of PB it worked/compiled without any problems.
EDIT: Same goes with InputRequester!
Re: PB5.40LTSB10: Use of messagerequester invokes linker-err
Posted: Tue Oct 13, 2015 1:45 pm
by Fred
using gtk2 or gtk3 ? What is your linux version ?
Re: PB5.40LTSB10: Use of messagerequester invokes linker-err
Posted: Tue Oct 13, 2015 1:59 pm
by Didelphodon
Fred wrote:using gtk2 or gtk3 ? What is your linux version ?
uname -a says ...
Linux xxxx 3.2.0-4-amd64 #1 SMP Debian 3.2.65-1 x86_64 GNU/Linux
GTK: libgtk2.0-dev
Re: PB5.40LTSB10: Use of messagerequester invokes linker-err
Posted: Tue Oct 13, 2015 2:35 pm
by Fred
Re: PB5.40LTSB10: Use of messagerequester invokes linker-err
Posted: Tue Oct 13, 2015 2:36 pm
by Didelphodon
I switched to libgtk-3-dev and now it works as supposed

Re: PB5.40LTSB10: Use of messagerequester invokes linker-err
Posted: Tue Oct 13, 2015 2:37 pm
by Fred
OK !
Re: PB5.40LTSB10: Use of messagerequester invokes linker-err
Posted: Tue Oct 13, 2015 2:49 pm
by Didelphodon
Hm, seems as if Scintilla stuff does also need some kind of upgrade?
Here are my (line-wrapped) error messages ...
Error: Linker
/home/chrisu/purebasic/purelibraries/linux/libraries/libpbscintilla.a(ScintillaG
TK.o): In function `ScintillaGTK::StartDrag()':
ScintillaGTK.cxx:(.text+0x1c54): undefined reference to `gtk_drag_begin_with_coo
rdinates'
/home/chrisu/purebasic/purelibraries/linux/libraries/libpbscintilla.a(PlatGTK.o)
: In function `small_scroller_class_intern_init(void*)':
PlatGTK.cxx:(.text+0x4b8d): undefined reference to `g_type_class_adjust_private_
offset'
collect2: error: ld returned 1 exit status
Re: PB5.40LTSB10: Use of messagerequester invokes linker-err
Posted: Tue Oct 13, 2015 2:55 pm
by Didelphodon
Didelphodon wrote:Hm, seems as if Scintilla stuff does also need some kind of upgrade?
Here are my (line-wrapped) error messages ...
Error: Linker
/home/chrisu/purebasic/purelibraries/linux/libraries/libpbscintilla.a(ScintillaG
TK.o): In function `ScintillaGTK::StartDrag()':
ScintillaGTK.cxx:(.text+0x1c54): undefined reference to `gtk_drag_begin_with_coo
rdinates'
/home/chrisu/purebasic/purelibraries/linux/libraries/libpbscintilla.a(PlatGTK.o)
: In function `small_scroller_class_intern_init(void*)':
PlatGTK.cxx:(.text+0x4b8d): undefined reference to `g_type_class_adjust_private_
offset'
collect2: error: ld returned 1 exit status
@Fred: Any idea which upgrade/version I need for scintilla stuff to work with PB 5.40?
Re: PB5.40LTSB10: Use of messagerequester invokes linker-err
Posted: Tue Oct 13, 2015 3:18 pm
by Fred
Nop. Your distro looks too old.
Re: PB5.40LTSB10: Use of messagerequester invokes linker-err
Posted: Wed Oct 14, 2015 7:35 am
by Didelphodon
Fred wrote:Nop. Your distro looks too old.
Is that really the only solution - upgrading the distro? This machine is a pretty important machine to me at work (in my companies daily business) which would take me days if not weeks to get it fully working again because of the amount of software and configurations which is necessary to take a look at.
EDIT: Isn't there anything I can update similar to as I did it with GTK (2 > 3)?
Re: PB5.40LTSB10: Use of messagerequester invokes linker-err
Posted: Wed Oct 14, 2015 8:23 am
by Fred
I will take a closer look to it
Re: PB5.40LTSB10: Use of messagerequester invokes linker-err
Posted: Wed Oct 14, 2015 9:11 am
by Fred
Should work for the next version (the scintilla stuff).
Re: PB5.40LTSB10: Use of messagerequester invokes linker-err
Posted: Wed Oct 14, 2015 9:43 am
by Didelphodon
Fred wrote:Should work for the next version (the scintilla stuff).
Thx for your efforts, looking forward ...