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:
Date: Wed, 22 Dec 2021 16:23:08 +0100

Ken Cunningham:
> So that is why with the usual SDK usage on macOS systems, you don't
> have to add the weak linking macros yourself, in most cases.

Your proposed approach may work "in most cases", but not in this one.

I said in the previous mail that I tried omitting the line

  extern int proc_pidinfo (int, int, uint64_t, void *, int) 
WEAK_IMPORT_ATTRIBUTE;

and that it did not produce the appropriate code. Despite
  -DMAC_OS_X_VERSION_MAX_ALLOWED=1090 -DMAC_OS_X_VERSION_MIN_REQUIRED=1040
it produced code that would *not* run on Mac OS X 10.4.

Bruno






reply via email to

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