Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
16 user(s) are online (9 user(s) are browsing Forums)

Members: 0
Guests: 16

more...

Support us!

Headlines

 
  Register To Post  

Battle for Wesnoth 1.8.6 on A1222+
Not too shy to talk
Not too shy to talk


See User information
Hello,

I tried Battle for Wesnoth 1.8.4 on A1222+. This is newer port by afxgroup.

At first it has error "file is not executable". This can be fixed by downloading libiconv.so and libintl.so from os4depot.

Now it reports error:
"Unable to resolve symbol __gthread_active_p in Sys:sobjs/libstdc++.so"
Resized Image


I checked original A1222 libstdc++.so, it has no version info, but is different than libstdc++.so from Sam460 or X1000.

Please, have it solution? Or is it caused by different library version and simply it not works with this?

P.S. older Wesnoth version 1.4.7 works fine and smooth.

AmigaOS3: Amiga 1200
AmigaOS4: Micro A1-C, AmigaOne XE, Pegasos II, Sam440ep, Sam440ep-flex, AmigaOne X1000
MorphOS: Efika 5200b, Pegasos I, Pegasos II, Powerbook, Mac Mini, iMac, Powermac Quad
Go to top
Re: Battle for Wesnoth 1.8.6 on A1222+
Home away from home
Home away from home


See User information
@sailor

if it uses shared objects there should have come an sobjs/ directory with all needed so files inside the app archive, if not, good luck finding the correct revisions of missing .so files

--

It was fun while it lasted...

game box/art scans
scummvm builds (retired)
Go to top
Re: Battle for Wesnoth 1.8.6 on A1222+
Not too shy to talk
Not too shy to talk


See User information
@Raziel
there in no missing .so files. All needed .so I have, and on other AmigaNG computers game works.

Only A1222 version of libstdc++.so ( in SObjs: ) gives __gthread_active_p error.
Maybe I will try to take libstdc++.so from Sam460-SObjs: and put it Wesnoth/SObjs directory.

Probably it will not works too ( because there is reason why is libstdc++.so in A1222 different ), but it is worth a try.

AmigaOS3: Amiga 1200
AmigaOS4: Micro A1-C, AmigaOne XE, Pegasos II, Sam440ep, Sam440ep-flex, AmigaOne X1000
MorphOS: Efika 5200b, Pegasos I, Pegasos II, Powerbook, Mac Mini, iMac, Powermac Quad
Go to top
Re: Battle for Wesnoth 1.8.6 on A1222+
Just popping in
Just popping in


See User information
@Sailor

The libstdc++.so you have in your A1222 os4.1 install cd is the one from the latest sdk in SDK:gcc/lib/gcc/ppc-amigaos/8.4.0/newlib/lib that was released years after any install cd's for any other systems.

So it's not a special build for the A1222, it's just sobjs-hell :)


Edited by smf on 2025/1/7 11:36:45
Edited by smf on 2025/1/7 11:37:35
Go to top
Re: Battle for Wesnoth 1.8.6 on A1222+
Home away from home
Home away from home


See User information
@sailor

yes, and exactly that is the problem, you gathered the so files from various sources, but none of them are the ones from the games porter.

you were just lucky that no other .so threw an error.

the libsydc++.so from your a1222 install cd is one that has been specially forged to work with aos4 on your hardware, but it cannot know your game.

the error it throws shows exactly that, the game demands to have that __gthread symbol at a specific position in the so file, but it is not, so it bails out.

nothing you can do about unless you get the correct .so file from the porter

--

It was fun while it lasted...

game box/art scans
scummvm builds (retired)
Go to top
Re: Battle for Wesnoth 1.8.6 on A1222+
Amigans Defender
Amigans Defender


See User information
That game is years and years old.. most probably you have to get libstdc++.so from OS4.1 original ISO and put it into WesnothDir/Sobjs.
This is the problem we have using .so files on OS4 and that's why in the latest programs i'm creating i'm trying to avoid them as hell. There are no benefits to use them (except few)

i'm really tired...
Go to top
Re: Battle for Wesnoth 1.8.6 on A1222+
Home away from home
Home away from home


See User information
@afxgroup

Could you maybe recompile a static version based to the old 1.8.6 ?

Go to top
Re: Battle for Wesnoth 1.8.6 on A1222+
Not too shy to talk
Not too shy to talk


See User information
@afxgroup

I copied libstdc++.so from X1000 to Wesnoth/SObjs/ and it works fine! Thanks for great game!

@samo79
I posted comment to os4depot.net/wesnoth_afxgroup.lha how add right libraries. No need to recompile the old version.

AmigaOS3: Amiga 1200
AmigaOS4: Micro A1-C, AmigaOne XE, Pegasos II, Sam440ep, Sam440ep-flex, AmigaOne X1000
MorphOS: Efika 5200b, Pegasos I, Pegasos II, Powerbook, Mac Mini, iMac, Powermac Quad
Go to top
Re: Battle for Wesnoth 1.8.6 on A1222+
Home away from home
Home away from home


See User information
@sailor

Recompiling it with latest SDL and clib4 can bring some benefits, even if the same old release of the game

Go to top
Re: Battle for Wesnoth 1.8.6 on A1222+
Amigans Defender
Amigans Defender


See User information
@samo79

Quote:
Recompiling it with latest SDL and clib4 can bring some benefits, even if the same old release of the game

+1. Especially if it frees the game from the wretched .so hell.

The Rear Window blog

AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
Go to top
Re: Battle for Wesnoth 1.8.6 on A1222+
Just can't stay away
Just can't stay away


See User information
@sailor

Thanks for the comment on os4depot, I did it as described and installed libiconv.so and libintl.so. Only then did wesnoth work for me. The SObjs dependencies are a mess, it also causes some games from HunoPPC to stop working. On newer machines we are no longer backwards compatible.

MacStudio ARM M1 Max Qemu//Pegasos2 AmigaOs4.1 FE / AmigaOne x5000/40 AmigaOs4.1 FE
Go to top
Re: Battle for Wesnoth 1.8.6 on A1222+
Home away from home
Home away from home


See User information
@Maijestro

When compiling, I believe important to link with version number of library, not the libname.so, so it actually finds correct .so file, when you install newer versions.

Soft links can be used when versions are compatible with each other.
I think the problem we have is we do not have package management system, and we are not used to having to deal with different versions of libraries, that can be incompatible.

I used to have same the problem on Linux a long time ago, when installing mandrake rpm packages on radhat linux.
I don’t really get what rpmfind.com is useful for.
well, it looks like the web page does not exist anymore... perhaps that’s for the best.

(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project