From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Jeffrey Walton Newsgroups: gmane.emacs.help Subject: Failed compile due to security_context_t and friends on CentOS 5 Date: Wed, 3 Jan 2018 18:20:58 -0500 Message-ID: Reply-To: noloader@gmail.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1515021584 17140 195.159.176.226 (3 Jan 2018 23:19:44 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 3 Jan 2018 23:19:44 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jan 04 00:19:39 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eWsJk-0003Zi-Qs for geh-help-gnu-emacs@m.gmane.org; Thu, 04 Jan 2018 00:19:29 +0100 Original-Received: from localhost ([::1]:41110 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eWsLj-0005xh-Lm for geh-help-gnu-emacs@m.gmane.org; Wed, 03 Jan 2018 18:21:31 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59373) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eWsLF-0005wU-6L for help-gnu-emacs@gnu.org; Wed, 03 Jan 2018 18:21:02 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eWsLD-0000Ss-Sd for help-gnu-emacs@gnu.org; Wed, 03 Jan 2018 18:21:01 -0500 Original-Received: from mail-oi0-x22c.google.com ([2607:f8b0:4003:c06::22c]:36400) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eWsLD-0000SO-Ms for help-gnu-emacs@gnu.org; Wed, 03 Jan 2018 18:20:59 -0500 Original-Received: by mail-oi0-x22c.google.com with SMTP id j14so1997113oih.3 for ; Wed, 03 Jan 2018 15:20:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:reply-to:from:date:message-id:subject:to :content-transfer-encoding; bh=wR/nFV9kcwNypaSi3w/LZpg7jmMXdE/FXP+hk2l2j08=; b=AsCXzGmYm5P4DhhpG3MbYwq21GGYtgtSNLPgVvsb7ieGu9Tqq0hOYIVlaslY4o2jQu zPC9AnRtdQmWgofO7XJF1BDOtI1e2f7Kw2LCbFYuVFJbcT+SfRCsEuHTFpWOJyk4Is2J +TZhlGjCYfEMD/LROPRGYdnjgZzC56ZYxhflnnPwSs4yMS1rcKt4eghqsxizsJv7kJbe sefOZzoJhKzumOH3F7HS56fGYy1a06w1zKSCn3ImtilO/g2kFca/92Gp3Xl40mBmYMgU Kfy+5AzdKmbIwYBzzsuSh3LGM4hO45O7QQM4cwrfWi9k72gV4cMSOZTwXRHSu07CckUY UGHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:reply-to:from:date:message-id :subject:to:content-transfer-encoding; bh=wR/nFV9kcwNypaSi3w/LZpg7jmMXdE/FXP+hk2l2j08=; b=YlmI7hFAILUlPzyPJzf6f5hgLbHaaZmzrYtjImTIbwCFgr+Po5Kp/d9RZmjEB+xBOi qPNx60SA1Cn8EKX45Z6+HXYp1MIzX5Ai2D/Zm3Jj66yEP9rLPbbLPMDUFswV2bYBfKMf lru2N6/gg2soiUHzSNzuTOmCwh/FnX7G512Yjobgz/WJBIvkaBifTk+ViW71DN5c8zQJ CMb20d7XV3I/XshckSPlUpvlTHfaKiH++4zVYigCS+l54oyNQ4oFVnJWYPY9xJpVZNd3 MS/V64EAbqPnS6g0sFbZE4VO6Vt8Rd2CSGCxPqkIlCejXXhZYR/iPCZEdZv8MSmYR62L RxMA== X-Gm-Message-State: AKGB3mKtGJPp5815nWdF2js3Co/yzhgmMaj7pTIx4fAJeJabUk+3l7cp 8muYWe4v9gOiNtr8k6FOyCXSZbxDIZFHERNW6vAL3GkG X-Google-Smtp-Source: ACJfBoszQ6kKhv7HpUHXRcQs6b1nByWRfP7AqO49qbGr49Iqp/0s4Z+zGjZP+5nZJamtgQJg8MtW6J9KQFdI1JLla1E= X-Received: by 10.202.175.216 with SMTP id y207mr1659388oie.181.1515021658793; Wed, 03 Jan 2018 15:20:58 -0800 (PST) Original-Received: by 10.74.15.89 with HTTP; Wed, 3 Jan 2018 15:20:58 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4003:c06::22c X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:115560 Archived-At: Hi Everyone, I'm building Emacs 24.5 from sources on CentOS 5. It looks like the build is failing as shown below. The config.log is too large to attach to an email or drop on pastebin. I can provide it if anyone is interested. Does anyone know how to avoid the build failures for this platform? Thanks in advance. ************************************************** gcc -std=3Dgnu99 -c -I/usr/local/include -DNDEBUG -Demacs -I. -I. -I../lib -I./../lib -MMD -MF deps/casetab.d -MP -m64 -fPIC casetab.c dired.c: In function =E2=80=98file_attributes=E2=80=99: dired.c:989: warning: comparison is always true due to limited range of data type dired.c:989: warning: comparison is always true due to limited range of data type dired.c:993: warning: comparison is always true due to limited range of data type dired.c:993: warning: comparison is always true due to limited range of data type fileio.c: In function =E2=80=98Fcopy_file=E2=80=99: fileio.c:1944: error: =E2=80=98security_context_t=E2=80=99 undeclared (firs= t use in this function) fileio.c:1944: error: (Each undeclared identifier is reported only once fileio.c:1944: error: for each function it appears in.) fileio.c:1944: error: expected =E2=80=98;=E2=80=99 before =E2=80=98con=E2= =80=99 fileio.c:2021: warning: implicit declaration of function =E2=80=98is_selinu= x_enabled=E2=80=99 fileio.c:2023: warning: implicit declaration of function =E2=80=98fgetfilec= on=E2=80=99 fileio.c:2023: error: =E2=80=98con=E2=80=99 undeclared (first use in this f= unction) fileio.c:2125: warning: implicit declaration of function =E2=80=98fsetfilec= on=E2=80=99 fileio.c:2130: warning: implicit declaration of function =E2=80=98freecon= =E2=80=99 fileio.c: In function =E2=80=98Ffile_selinux_context=E2=80=99: fileio.c:2869: error: =E2=80=98security_context_t=E2=80=99 undeclared (firs= t use in this function) fileio.c:2869: error: expected =E2=80=98;=E2=80=99 before =E2=80=98con=E2= =80=99 fileio.c:2871: error: =E2=80=98context_t=E2=80=99 undeclared (first use in = this function) fileio.c:2871: error: expected =E2=80=98;=E2=80=99 before =E2=80=98context= =E2=80=99 fileio.c:2891: warning: implicit declaration of function =E2=80=98lgetfilec= on=E2=80=99 fileio.c:2891: error: =E2=80=98con=E2=80=99 undeclared (first use in this f= unction) fileio.c:2894: error: =E2=80=98context=E2=80=99 undeclared (first use in th= is function) fileio.c:2894: warning: implicit declaration of function =E2=80=98context_n= ew=E2=80=99 fileio.c:2895: warning: implicit declaration of function =E2=80=98context_u= ser_get=E2=80=99 fileio.c:2896: warning: passing argument 1 of =E2=80=98build_string=E2=80= =99 makes pointer from integer without a cast fileio.c:2897: warning: implicit declaration of function =E2=80=98context_r= ole_get=E2=80=99 fileio.c:2898: warning: passing argument 1 of =E2=80=98build_string=E2=80= =99 makes pointer from integer without a cast fileio.c:2899: warning: implicit declaration of function =E2=80=98context_t= ype_get=E2=80=99 fileio.c:2900: warning: passing argument 1 of =E2=80=98build_string=E2=80= =99 makes pointer from integer without a cast fileio.c:2901: warning: implicit declaration of function =E2=80=98context_r= ange_get=E2=80=99 fileio.c:2902: warning: passing argument 1 of =E2=80=98build_string=E2=80= =99 makes pointer from integer without a cast fileio.c:2903: warning: implicit declaration of function =E2=80=98context_f= ree=E2=80=99 fileio.c: In function =E2=80=98Fset_file_selinux_context=E2=80=99: fileio.c:2932: error: =E2=80=98security_context_t=E2=80=99 undeclared (firs= t use in this function) fileio.c:2932: error: expected =E2=80=98;=E2=80=99 before =E2=80=98con=E2= =80=99 fileio.c:2935: error: =E2=80=98context_t=E2=80=99 undeclared (first use in = this function) fileio.c:2935: error: expected =E2=80=98;=E2=80=99 before =E2=80=98parsed_c= on=E2=80=99 fileio.c:2951: error: =E2=80=98con=E2=80=99 undeclared (first use in this f= unction) fileio.c:2954: error: =E2=80=98parsed_con=E2=80=99 undeclared (first use in= this function) fileio.c:2958: warning: implicit declaration of function =E2=80=98context_u= ser_set=E2=80=99 fileio.c:2963: warning: implicit declaration of function =E2=80=98context_r= ole_set=E2=80=99 fileio.c:2968: warning: implicit declaration of function =E2=80=98context_t= ype_set=E2=80=99 fileio.c:2973: warning: implicit declaration of function =E2=80=98context_r= ange_set=E2=80=99 fileio.c:2978: warning: implicit declaration of function =E2=80=98lsetfilec= on=E2=80=99 fileio.c:2979: warning: implicit declaration of function =E2=80=98context_s= tr=E2=80=99