From: Jeffrey Walton <noloader@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Failed compile due to security_context_t and friends on CentOS 5
Date: Wed, 3 Jan 2018 18:20:58 -0500 [thread overview]
Message-ID: <CAH8yC8=hTxu9v1ckxX9eHJzOy11D1vZxV-7KxJOWu0dvHPJ_Fw@mail.gmail.com> (raw)
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=gnu99 -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 ‘file_attributes’:
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 ‘Fcopy_file’:
fileio.c:1944: error: ‘security_context_t’ undeclared (first 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 ‘;’ before ‘con’
fileio.c:2021: warning: implicit declaration of function ‘is_selinux_enabled’
fileio.c:2023: warning: implicit declaration of function ‘fgetfilecon’
fileio.c:2023: error: ‘con’ undeclared (first use in this function)
fileio.c:2125: warning: implicit declaration of function ‘fsetfilecon’
fileio.c:2130: warning: implicit declaration of function ‘freecon’
fileio.c: In function ‘Ffile_selinux_context’:
fileio.c:2869: error: ‘security_context_t’ undeclared (first use in
this function)
fileio.c:2869: error: expected ‘;’ before ‘con’
fileio.c:2871: error: ‘context_t’ undeclared (first use in this function)
fileio.c:2871: error: expected ‘;’ before ‘context’
fileio.c:2891: warning: implicit declaration of function ‘lgetfilecon’
fileio.c:2891: error: ‘con’ undeclared (first use in this function)
fileio.c:2894: error: ‘context’ undeclared (first use in this function)
fileio.c:2894: warning: implicit declaration of function ‘context_new’
fileio.c:2895: warning: implicit declaration of function ‘context_user_get’
fileio.c:2896: warning: passing argument 1 of ‘build_string’ makes
pointer from integer without a cast
fileio.c:2897: warning: implicit declaration of function ‘context_role_get’
fileio.c:2898: warning: passing argument 1 of ‘build_string’ makes
pointer from integer without a cast
fileio.c:2899: warning: implicit declaration of function ‘context_type_get’
fileio.c:2900: warning: passing argument 1 of ‘build_string’ makes
pointer from integer without a cast
fileio.c:2901: warning: implicit declaration of function ‘context_range_get’
fileio.c:2902: warning: passing argument 1 of ‘build_string’ makes
pointer from integer without a cast
fileio.c:2903: warning: implicit declaration of function ‘context_free’
fileio.c: In function ‘Fset_file_selinux_context’:
fileio.c:2932: error: ‘security_context_t’ undeclared (first use in
this function)
fileio.c:2932: error: expected ‘;’ before ‘con’
fileio.c:2935: error: ‘context_t’ undeclared (first use in this function)
fileio.c:2935: error: expected ‘;’ before ‘parsed_con’
fileio.c:2951: error: ‘con’ undeclared (first use in this function)
fileio.c:2954: error: ‘parsed_con’ undeclared (first use in this function)
fileio.c:2958: warning: implicit declaration of function ‘context_user_set’
fileio.c:2963: warning: implicit declaration of function ‘context_role_set’
fileio.c:2968: warning: implicit declaration of function ‘context_type_set’
fileio.c:2973: warning: implicit declaration of function ‘context_range_set’
fileio.c:2978: warning: implicit declaration of function ‘lsetfilecon’
fileio.c:2979: warning: implicit declaration of function ‘context_str’
next reply other threads:[~2018-01-03 23:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-03 23:20 Jeffrey Walton [this message]
2018-01-06 3:19 ` Failed compile due to security_context_t and friends on CentOS 5 Glenn Morris
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAH8yC8=hTxu9v1ckxX9eHJzOy11D1vZxV-7KxJOWu0dvHPJ_Fw@mail.gmail.com' \
--to=noloader@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.