We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 5169

Summary: Can not build current sources because of recent thread management changes
Product: SDL Reporter: Manuel Alfayate Corchete <redwindwanderer>
Component: buildAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: major    
Priority: P2    
Version: HG 2.1   
Hardware: All   
OS: Linux   

Description Manuel Alfayate Corchete 2020-05-30 17:54:26 UTC
Hi,

I'm trying to build SDL2 with threads support here in GNU/Linux, both X86 and ARM, and it does not seem to be possible ATM:


/home/manuel/src/SDLLLL/src/core/linux/SDL_threadprio.c:233:26: error: 'rtkit_max_realtime_priority' undeclared (first use in this function)


A week ago, SDL2 from mercurial was building fine, so I guess its about the recent thread management changes in SDL_threadprio.c. I can build by disabling threads, but that's not very interesting on Linux.

Thanks!
Comment 1 Sam Lantinga 2020-06-04 16:26:54 UTC
Fixed, thanks!
https://hg.libsdl.org/SDL/rev/50267983b322