From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Werner LEMBERG Newsgroups: gmane.emacs.devel Subject: Re: Emacs 28.1 doesn't compile on Mac OS 10.7.5 Date: Fri, 15 Apr 2022 16:48:52 +0000 (UTC) Message-ID: <20220415.184852.1097903124327796904.wl@gnu.org> References: <3F594037-7DF0-406B-A8DB-8709F76D7583@acm.org> <20220415.172301.1386462415020611428.wl@gnu.org> <83y2061gx3.fsf@gnu.org> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5424"; mail-complaints-to="usenet@ciao.gmane.io" Cc: dports@macports.org, mattiase@acm.org, emacs-devel@gnu.org To: eliz@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Apr 15 18:50:08 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nfP95-0001CE-JF for ged-emacs-devel@m.gmane-mx.org; Fri, 15 Apr 2022 18:50:07 +0200 Original-Received: from localhost ([::1]:56128 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nfP94-0007tU-HH for ged-emacs-devel@m.gmane-mx.org; Fri, 15 Apr 2022 12:50:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44642) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nfP81-0006bU-3q for emacs-devel@gnu.org; Fri, 15 Apr 2022 12:49:01 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]:45547) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nfP7z-0000uP-DS for emacs-devel@gnu.org; Fri, 15 Apr 2022 12:49:00 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 5F8D4240027 for ; Fri, 15 Apr 2022 18:48:57 +0200 (CEST) Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Kg2N83GpFz9rxR; Fri, 15 Apr 2022 18:48:56 +0200 (CEST) In-Reply-To: <83y2061gx3.fsf@gnu.org> Received-SPF: pass client-ip=185.67.36.65; envelope-from=werner.lemberg@posteo.de; helo=mout01.posteo.de X-Spam_score_int: -39 X-Spam_score: -4.0 X-Spam_bar: ---- X-Spam_report: (-4.0 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:288452 Archived-At: >> sysdep.c:4133:3: error: use of undeclared identifier 'rusage_info_current' >> rusage_info_current ri; >> ^ >> sysdep.c:4134:7: warning: implicit declaration of function >> 'proc_pid_rusage' is invalid in C99 >> [-Wimplicit-function-declaration] >> if (proc_pid_rusage(proc_id, RUSAGE_INFO_CURRENT, (rusage_info_t *) &ri) == 0) >> ^ >> ... >> ``` > > Can you please look in your system headers and tell where is > rusage_info_current declared? It's not defined at all on macOS 10.7.5. According to https://developer.apple.com/documentation/kernel/rusage_info_current it was introduced in macOS 10.10. Werner