pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: MesaLib fails to compile on Linux
Hey everyone,
I'm readdressing this issue, because it still hasn't been resolved it seems. I recently installed CachyOS on my Steam Deck so I could tinker with pkgsrc, among other things. I tried building Supertux (again), but yet again, it still runs into the same error when compiling. What exactly is the problem here?
Best,
Lee
On Thursday, October 29th, 2026 at 3:59 PM, leeplusplus%protonmail.com@localhost <leeplusplus%protonmail.com@localhost> wrote:
> Hello everyone,
>
> I'm still getting used to pkgsrc, so I apologize if my question seems silly. I have been testing out pkgsrc recently, and I tried compiling SuperTux as a test. However, it (and a few other games) depends on MesaLib, which won't compile for me.
>
> I keep getting these errors when it tries to compile it:
>
> ../include/c11/threads_posix.h:69:25: error: conflicting types for 'once_flag'; have 'pthread_once_t' {aka 'int'}
> 69 | typedef pthread_once_t once_flag;
> | ^~~~~~~~~
>
> ../include/c11/threads_posix.h:94:1: error: conflicting types for 'call_once'; have 'void(int *, void (*)(void))'
> 94 | call_once(once_flag *flag, void (*func)(void))
> | ^~~~~~~~~
>
> Does anyone have any idea why? I am using a pretty standard Gentoo install with OpenRC.
>
> -Lee
Home |
Main Index |
Thread Index |
Old Index