PB5.40LTSB10: Use of messagerequester invokes linker-error

Linux specific forum
User avatar
Didelphodon
PureBasic Expert
PureBasic Expert
Posts: 450
Joined: Sat Dec 18, 2004 11:56 am
Location: Vienna - Austria
Contact:

PB5.40LTSB10: Use of messagerequester invokes linker-error

Post 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 ...

Image

With older versions of PB it worked/compiled without any problems.

EDIT: Same goes with InputRequester!
Go, tell it on the mountains.
Fred
Administrator
Administrator
Posts: 18350
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PB5.40LTSB10: Use of messagerequester invokes linker-err

Post by Fred »

using gtk2 or gtk3 ? What is your linux version ?
User avatar
Didelphodon
PureBasic Expert
PureBasic Expert
Posts: 450
Joined: Sat Dec 18, 2004 11:56 am
Location: Vienna - Austria
Contact:

Re: PB5.40LTSB10: Use of messagerequester invokes linker-err

Post 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
Go, tell it on the mountains.
Fred
Administrator
Administrator
Posts: 18350
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PB5.40LTSB10: Use of messagerequester invokes linker-err

Post by Fred »

According to the GTK it should work on any gtk2+ system, so I don't know what is happening here

https://developer.gnome.org/gtk2/stable ... dialog-new
https://developer.gnome.org/gtk3/stable ... dialog-new
User avatar
Didelphodon
PureBasic Expert
PureBasic Expert
Posts: 450
Joined: Sat Dec 18, 2004 11:56 am
Location: Vienna - Austria
Contact:

Re: PB5.40LTSB10: Use of messagerequester invokes linker-err

Post by Didelphodon »

I switched to libgtk-3-dev and now it works as supposed :-)
Go, tell it on the mountains.
Fred
Administrator
Administrator
Posts: 18350
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PB5.40LTSB10: Use of messagerequester invokes linker-err

Post by Fred »

OK !
User avatar
Didelphodon
PureBasic Expert
PureBasic Expert
Posts: 450
Joined: Sat Dec 18, 2004 11:56 am
Location: Vienna - Austria
Contact:

Re: PB5.40LTSB10: Use of messagerequester invokes linker-err

Post 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
Go, tell it on the mountains.
User avatar
Didelphodon
PureBasic Expert
PureBasic Expert
Posts: 450
Joined: Sat Dec 18, 2004 11:56 am
Location: Vienna - Austria
Contact:

Re: PB5.40LTSB10: Use of messagerequester invokes linker-err

Post 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?
Go, tell it on the mountains.
Fred
Administrator
Administrator
Posts: 18350
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PB5.40LTSB10: Use of messagerequester invokes linker-err

Post by Fred »

Nop. Your distro looks too old.
User avatar
Didelphodon
PureBasic Expert
PureBasic Expert
Posts: 450
Joined: Sat Dec 18, 2004 11:56 am
Location: Vienna - Austria
Contact:

Re: PB5.40LTSB10: Use of messagerequester invokes linker-err

Post 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)?
Go, tell it on the mountains.
Fred
Administrator
Administrator
Posts: 18350
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PB5.40LTSB10: Use of messagerequester invokes linker-err

Post by Fred »

I will take a closer look to it
Fred
Administrator
Administrator
Posts: 18350
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PB5.40LTSB10: Use of messagerequester invokes linker-err

Post by Fred »

Should work for the next version (the scintilla stuff).
User avatar
Didelphodon
PureBasic Expert
PureBasic Expert
Posts: 450
Joined: Sat Dec 18, 2004 11:56 am
Location: Vienna - Austria
Contact:

Re: PB5.40LTSB10: Use of messagerequester invokes linker-err

Post by Didelphodon »

Fred wrote:Should work for the next version (the scintilla stuff).
Thx for your efforts, looking forward ...
Go, tell it on the mountains.
Post Reply