Search found 40 matches

by Thomas Frieden
Tue Jun 06, 2017 10:34 am
Forum: General Developer Support
Topic: Manually loading shared object
Replies: 36
Views: 58995

Re: Manually loading shared object

softwarefailure wrote:Thanks, so are you saying that the problem is in libSDL.so? Should I report this to the OS4 SDL maintainers so that they link libSDL.so correctly against libpthread?
Yes. It has to be linked against all respective libraries
by Thomas Frieden
Wed May 31, 2017 12:44 pm
Forum: General Developer Support
Topic: Manually loading shared object
Replies: 36
Views: 58995

Re: Manually loading shared object

Just noticed you are using a publically available libSDL.so... checked myself:

$ ppc-amigaos-readelf -d libSDL2-2.0.so

Dynamic section at offset 0x123420 contains 18 entries:
Tag Type Name/Value
0x00000001 (NEEDED) Shared library: [libgcc.so]
0x00000001 (NEEDED) Shared library: [libc.so ...
by Thomas Frieden
Wed May 31, 2017 12:32 pm
Forum: General Developer Support
Topic: Manually loading shared object
Replies: 36
Views: 58995

Re: Manually loading shared object

Check if libSDL.so is correctly linked against libpthread.so.

readelf -d libSDL.so

It should output something like this:

Dynamic section at offset 0x7a92c contains 20 entries:
Tag Type Name/Value
0x00000001 (NEEDED) Shared library: [libpthread.so]
0x00000001 (NEEDED) Shared library: [libstdc ...
by Thomas Frieden
Fri Oct 30, 2015 12:44 pm
Forum: Public Announcements
Topic: Timberwolf is now open source
Replies: 1
Views: 27438

Timberwolf is now open source

We've decided that it's about time we release Timberwolf's source code to the public.

To that end, I've set up a project on github here:

https://github.com/tfrieden/timberwolf

If you want to become a contributor, let me know and tell me your github user name so I can add you.

The code is ...
by Thomas Frieden
Wed Aug 26, 2015 11:51 am
Forum: General Developer Support
Topic: Serious low memory handler bug (Solved)
Replies: 16
Views: 14776

Re: Serious low memory handler bug (freeze)

Ok, I did have a look at it.

It seems the old system always set this flag whenever it encountered a MEM_TRY_AGAIN. This code got lost when I moved the low memory handler invocation into it's own function.

Added now.
by Thomas Frieden
Wed Aug 26, 2015 9:16 am
Forum: General Developer Support
Topic: Serious low memory handler bug (Solved)
Replies: 16
Views: 14776

Re: Serious low memory handler bug (freeze)

@salass00 & gazelle
I can see that this is a waste of time and am not going to attempt to explain the issue any more. Apparently, the original Amiga developers were dumb and put the MEMHF_RECYCLE flag and the MEM_TRY_AGAIN return value into the OS for no reason and that the PHD author and ...
by Thomas Frieden
Mon Jul 27, 2015 12:44 am
Forum: General Developer Support
Topic: Free positioning of Reaction Gadgets ?
Replies: 8
Views: 7270

Re: Free positioning of Reaction Gadgets ?

The idea is that I can give a position and size for the gadget. I don't to work with weights or anything, that's going to be too complicated.
salass00 wrote:There's the LAYOUT_NoLayout tag which at least is supposed to allow doing just that.
Thanks, I'll look into that.
by Thomas Frieden
Sat Jul 25, 2015 12:51 pm
Forum: General Developer Support
Topic: Free positioning of Reaction Gadgets ?
Replies: 8
Views: 7270

Free positioning of Reaction Gadgets ?

Hi,

I'm faced with a problem regarding Reaction: I want to use Reaction for a project of mine, but it requires free positioning of gadgets across the window. As far as I know, Reaction uses container gadgets that always layout the gadgets according to their fixed rules (horiziontal or vertical ...
by Thomas Frieden
Sat Apr 25, 2015 6:30 pm
Forum: SDK Support
Topic: How to turn off deprecated warnings
Replies: 20
Views: 34807

Re: How to turn off deprecated warnings


Just add the define that was posted earlier, and you're rid of them. How elegant do you want it to be ?


To me, setting -DDEPRECATED= is a hack/workaround and not an elegant solution. An elegant solution is adding a new define that actually does what it says, e.g. -D__NO_DEPRECATED__ to skip ...
by Thomas Frieden
Fri Apr 24, 2015 2:16 pm
Forum: SDK Support
Topic: How to turn off deprecated warnings
Replies: 20
Views: 34807

Re: How to turn off deprecated warnings

is to give a hint

giving a hint != spamming developers with heaps of redundant, irrelevant, completely harmless warnings

Irrelevant ? Redundant ?

You are basically accusing us of doing this on purpose just to piss you off ?

There is a reason the compiler warns you about these functions, and ...