Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
98 user(s) are online (66 user(s) are browsing Forums)

Members: 3
Guests: 95

NinjaCyborg, walkero, emeck, more...

Support us!

Headlines

Forum Index


Board index » All Posts (MickJT)




Re: OS4 Compile Environment on Debian
Just can't stay away
Just can't stay away


To compile SDL2/SDL3 completely, you need MiniGL, ogles2 and Mesa headers installed in a way where no files are overwritten, and then some modifications to recognize USE_MESA_HEADERS to direct which .h files get loaded.

Here's an example of how that's done: https://www.amigans.net/modules/newbb/ ... id=162085#forumpost162085

It's not just those 2 files (GL/GL.h and GLES2/gl2.h), but not much more.

Go to top


Re: Show content doesn't always show all files?
Just can't stay away
Just can't stay away


If lhasa was being used, it's probably fixed by this commit: https://github.com/fragglet/lhasa/comm ... ae870a52851d7c7230bc9c846

There's also a different lha (instead of lhasa) that could also be used. Some talk about this issue here: https://www.amigans.net/modules/newbb/ ... id=142890#forumpost142890

Go to top


Re: SDK addon package
Just can't stay away
Just can't stay away


@kas1e

While the various gcc versions in SDK 54.25 recognize -mcrt=clib4, the gcc linker libraries for clib4 are missing such as libgcc, libstdc++ and others, so SDK_Addon is still required at the moment.

Go to top


Re: SDK addon package
Just can't stay away
Just can't stay away


@ktadd

Nah the new SDK release on the Hyperion website would be different and not support clib4.

---

Edit: Walkero below says clib4 is now supported by the gcc 6 and 11 compilers included in the official SDK. It's just clib4 itself that's not preinstalled.

Edit 2: Even though the compilers recognize -mcrt=clib4, the clib4 gcc linker libraries (libgcc.a libstdc++.a etc.) are still missing without SDK_Addon.

---

I've also noticed the paths have changed between official SDK 54.16 and 54.25, but 54.25 matches the paths SDK_Addon uses.

For SDK 54.25 and SDK_Addon 1.7.0, it doesn't put the newlib gcc linker libs into a dedicated newlib directory, and the location has changed in other ways too.

SDK 54.16
SDK:gcc/lib/gcc/ppc-amigaos/11.2.0/newlib/lib/libstdc++.a

SDK 54.25 and SDK_Addon 1.7.0
SDK:gcc/ppc-amigaos/bin/lib/gcc/ppc-amigaos/11.5.0/libstdc++.a

When you go to install 54.25 it does warn that installing on top of an existing SDK is not supported. As for SDK_Addon, it's probably ok to install over SDK 54.25.


Edited by MickJT on 2026/6/16 9:28:13
Edited by MickJT on 2026/6/16 13:26:43
Go to top


Re: SDL2
Just can't stay away
Just can't stay away


@Kirirur

Regarding __cxa_finalize, you need the SDK updates from 4.1 FE Update 3. If the OS4 SDK is already installed when updating to 4.1 FE Update 3, then it gets automatically updated, otherwise you need to do it manually.

Extract AmigaOS4.1FinalEditionUpdate3-53.34.lha
Copy contents of Content/SDK/ to SDK: (you might want to be selective about which files get overwritten)

If you use libopenssl, you'll probably want to rename SDK:include/include_h/openssl since those are for AmiSSL.

You might need to set up these symlinks

In SDK:newlib/lib:

libamiga.a -> SDK:clib2/lib/libamiga.a
libdebug.a -> SDK:clib2/lib/libdebug.a

baserel/crtend.o -> SDK:newlib/lib/crtend.o
baserel/libamiga.a -> SDK:clib2/lib/baserel/libamiga.a
baserel/libauto.a -> SDK:newlib/lib/libauto.a
baserel/libc.a -> SDK:newlib/lib/libc.a
baserel/libdebug.a -> SDK:clib2/lib/baserel/libdebug.a
baserel/libm.a -> SDK:newlib/lib/libm.a
baserel/libraauto.a -> SDK:newlib/lib/libraauto.a
baserel/libsocket.a -> SDK:newlib/lib/libsocket.a
baserel/libunix.a -> SDK:newlib/lib/libunix.a

small-data/crtbegin.o -> SDK:newlib/lib/crtbegin.o
small-data/crtend.o -> SDK:newlib/lib/crtend.o
small-data/libamiga.a -> SDK:clib2/lib/small-data/libamiga.a
small-data/libauto.a -> SDK:newlib/lib/libauto.a
small-data/libdebug.a -> SDK:clib2/lib/small-data/libdebug.a
small-data/libm.a -> SDK:newlib/lib/libm.a
small-data/libraauto.a -> SDK:newlib/lib/libraauto.a
small-data/libsocket.a -> SDK:newlib/lib/libsocket.a
small-data/libunix.a -> SDK:newlib/lib/libunix.a

soft-float/crtend.o -> SDK:newlib/lib/crtend.o
soft-float/libauto.a -> SDK:newlib/lib/libauto.a
soft-float/libc.a -> SDK:newlib/lib/libc.a
soft-float/libm.a -> SDK:newlib/lib/libm.a
soft-float/libraauto.a -> SDK:newlib/lib/libraauto.a
soft-float/libsocket.a -> SDK:newlib/lib/libsocket.a
soft-float/libunix.a -> SDK:newlib/lib/libunix.a

The other undefined references in your last post, you need to add -lstdc++

Go to top


Re: It's a small script I named "Move or Delete," created by AI
Just can't stay away
Just can't stay away


@skynet

Are you using SFS? There's a hidden directory called ".recycled"

Go to top


Re: Virtio9PFS-handler v0.8.0-beta released
Just can't stay away
Just can't stay away


I get an error in DOpus4 "DOS code error 1 - Error 1" at random times and have to restart. Sometimes it shows "-1" in a shell window. It can happen when copying/deleting or just listing directory contents. Unfortunately I don't have any steps to reproduce. Any ideas?

Edit: I was just deleting a directory with a bunch of files in it using DOpus4 by selecting the directory and clicking delete. Halfway through deleting, it showed "DOS code error 1 - Error 1". I tried again and got the same message, but I was still able to go into the directory, delete the files there, then delete the directory.

Edit 2: -fsdev local,security_model=mapped-xattr,id=fsdev0,path=shared -device virtio-9p-pci-non-transitional,id=fs0,fsdev=fsdev0,mount_tag=SHARED


Edited by MickJT on 2026/5/13 7:34:21
Edited by MickJT on 2026/5/13 7:39:33
Edited by MickJT on 2026/5/13 7:40:01
Edited by MickJT on 2026/5/13 14:35:25
Edited by MickJT on 2026/5/13 14:38:12
Edited by MickJT on 2026/5/13 14:39:38
Edited by MickJT on 2026/5/13 14:40:00
Edited by MickJT on 2026/5/13 14:40:41
Go to top


Re: Dopus 5.92 betatest
Just can't stay away
Just can't stay away


It looks like dopus5.lha was renamed to dopus5byai.lha and has inherited the download count of the former archive, and dopus5.lha is a fresh upload with no history.

Edit: That has been fixed.

Neither of the archives have any comment history or snapshot images (dopus5.lha had comments and a snapshot image). There's possibly vote history that is older than 30 days that can't be seen by us that might be in the database somewhere and assigned to the dopus5byai.lha archive.


Edited by MickJT on 2026/4/30 4:28:11
Go to top


Re: Dopus 5.92 betatest
Just can't stay away
Just can't stay away


(Ignore this message. Mods can delete this, obviously)

Go to top


Re: GCC 11, atomic_bool and linker errors
Just can't stay away
Just can't stay away


It compiles if you use

ppc-amigaos-g++ -o atomic atomic.cpp -std=c++20 -athread=native -latomic

or

ppc-amigaos-gcc -o atomic atomic.cpp -std=c++20 -athread=native -latomic -lstdc++

Go to top


Re: VideoVortex and automatic translations
Just can't stay away
Just can't stay away


There were 2 issues. One specific to the IOS player client, and the other affecting all player clients.

@skynet

Message me your email address.

Go to top


Re: VideoVortex and automatic translations
Just can't stay away
Just can't stay away


@K-L

This is something that needs to be sorted out in YT.rexx. Send me a private message with your email address. (Edit: n/m I have it and sent you an email)

It was fixed in YT.rexx 3.3 but maybe there's been a recent change that requires another fix.

Edit: The .m3u8 changed slightly, but I only notice it with the IOS client. I sent you something to test.


Edited by MickJT on 2025/11/18 9:29:36
Edited by MickJT on 2025/11/18 9:46:15
Go to top


Re: IBrowse 3.0a Google
Just can't stay away
Just can't stay away


I noticed the download link for the OS4.x version is broken.

https://www.ibrowse-dev.net/download.php

On a fresh install of OS4.1 FE + Updates, AmiUpdate fails to download this so I went to the website manually to discover the link is broken.

Go to top


Re: UAE BSDSocket support
Just can't stay away
Just can't stay away


@smarkusg

The latest branch I can see is here: https://github.com/khval/e-uae-1-0-0/tree/uae-1-1-2

Go to top


Re: ADH0 in any drive
Just can't stay away
Just can't stay away


Perhaps it's something in APPDIR: pointing to ADH0:

Go to top


Re: Updating system
Just can't stay away
Just can't stay away


You can try a different USB port for the keyboard.

Go to top


Re: Difference pthreads.library/threads.library and -athread=native (extended)
Just can't stay away
Just can't stay away


@TheMagicSN

If it was using threads.library instead of pthreads.library, and you were using libpthread.a (rather than .so), then it was the wrong libpthread.a too.

Both the .a and .so will use pthreads.library.

The .so is in SOBJS: and comes with OS4.1 (a symlink is made in SDK:local/newlib/lib during the SDK installation). The .a is installed by the SDK installer (from pthreads-53.12.lha).

My guess is that you'd overwritten the .a with the old one on OS4Depot (and if you were using -use-dynld and the .so symlink wasn't there, it would use the .a). Follow my instructions a few posts above and remember to delete the old pthread.h header file (if you have one in clib2/include or newlib/include), because otherwise it won't use the newer one in common/include.

Go to top


Re: Difference pthreads.library/threads.library and -athread=native (extended)
Just can't stay away
Just can't stay away


@TheMagicSN

If you're using libpthread.so then I would have thought you're already using pthreads.library because there is no .so in that archive on OS4Depot (perhaps -lpthread is not finding a .so if the symlink is missing, and using the .a).

But in the case that it's not using pthreads.library, make sure your clib2/newlib libpthread.a hasn't been overwritten by the one on OS4Depot.

If it has been, this is what to do.

Inside SDK_54.16.lha is pthreads-53.12.lha. Extract that to your SDK directory, overwriting what you have. This doesn't contain libpthread.so but a symlink will be created later.

You also need to delete pthread.h from SDK:local/newlib/include and SDK:local/clib2/include. The newer header is in SDK:local/common/include

If you already have a SDK:local/newlib/lib/libpthread.so, it might be the wrong one. Create a soft symlink so SDK:local/newlib/lib/libpthread.so points to SOBJS:libpthread.so. This is how the SDK installer does it.

Check your SOBJS:libpthread.so is the right one. Mine is 162435 bytes with a date of 6th Jan 21.


Edited by MickJT on 2025/5/31 17:32:47
Go to top


Re: Emotion I/O Error
Just can't stay away
Just can't stay away


Glad it worked :)

Go to top


Re: Emotion I/O Error
Just can't stay away
Just can't stay away



Go to top



TopTop
(1) 2 3 4 ... 50 »




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project