:: Re: [DNG] help with C - error: impl…
Top Page
Delete this message
Reply to this message
Author: Rainer Weikusat
Date:  
To: dng
Subject: Re: [DNG] help with C - error: implicit declaration of function
Steve Litt <slitt@???> writes:
> Lorenz via Dng said on Mon, 29 Jul 2024 14:29:25 +0200
>
>>Hello,
>>I'm an amateur and self-taught "programmer" and I need help from
>>someone that knows better than me in C.
>>
>>Runit currently fails to build from source with gcc-14, with
>>sig_pause.c:14:3: error: implicit declaration of function ‘sigpause’
>
> It looks to me like all you need to do is include the proper .h file
> containing the definition of sigpause().


He doesn't. The default Linux sigpause is not the version this code
wants to use and since Linux provides sigprocmask/ sigsuspend, this
branch of the code shouldn't ever be compiled on Linux, only on
sufficiently ancient BSD versions or derivatives.