https://bugs.winehq.org/show_bug.cgi?id=44327
Bug ID: 44327 Summary: Wine-staging doesn't compile with the Linux kernel 3.0. The problem in server-Realtime_Priority patch Product: Wine-staging Version: 2.20 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: Zenitur@yandex.ru CC: erich.e.hoover@wine-staging.com, michael@fds-team.de, sebastian@fds-team.de Distribution: ---
I have SUSE Enterprise Linux 11 SP4. There is Linux kernel 3.0. When I trying to compile wine-staging using OBS (PPA analogue for openSUSE Linux), I have got this error:
scheduler.c: In function 'set_scheduler_priority': scheduler.c:136:18: error: 'SCHED_IDLE' undeclared (first use in this function) policy = SCHED_IDLE;
It's very strange, but when I tried to reproduce it on a real machine, it was successful compiled!
Wrote: /usr/src/packages/SRPMS/wine-staging-2.20-2.1.src.rpm Wrote: /usr/src/packages/RPMS/x86_64/wine-staging-2.20-2.1.x86_64.rpm Wrote: /usr/src/packages/RPMS/x86_64/wine-staging-devel-2.20-2.1.x86_64.rpm
I think, the reason is in harder compiler warning settings in the OBS build system. So I will make tests on the OBS.
When I tried to search error message in Google, I'd found this page: https://github.com/sysstat/sysstat/issues/26