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 - Can not build current sources because of recent thread management changes
Summary: Can not build current sources because of recent thread management changes
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: build (show other bugs)
Version: HG 2.1
Hardware: All Linux
: P2 major
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-30 17:54 UTC by Manuel Alfayate Corchete
Modified: 2020-06-04 16:26 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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