bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gnulib fails for build on Mac OS X 10.4: get_ppid_of.c:36:22: error:


From: Bruno Haible
Subject: Re: gnulib fails for build on Mac OS X 10.4: get_ppid_of.c:36:22: error: libproc.h: No such file or directory
Date: Sat, 18 Dec 2021 15:13:12 +0100

Evan Miller wrote:
> proc_pidinfo is a system function not available on 10.4. When compiling with 
> the 10.5 SDK and deploying to 10.4, a run-time link error will result on 10.4 
> using the patch.

Have you verified this? From what Ryan Schmidt wrote, I understood that it
would be a weakly bound symbol. (But how to test whether the symbol is
actually present at runtime, then?)

What solution can you offer so that
  - in < 10.5, we have no error,
  - in >= 10.5, proc_pidinfo gets used?

> It may seem like a problem that the newer system will not use the new SDK 
> function

Yes, this is not what we want, because then get_ppid_of would be a dummy that 
always fails.

Bruno






reply via email to

[Prev in Thread] Current Thread [Next in Thread]