unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Fabrice Popineau <fabrice.popineau@gmail.com>
To: Emacs developers <emacs-devel@gnu.org>
Subject: Errors while compiling 25.2rc2
Date: Thu, 2 Mar 2017 23:01:38 +0100	[thread overview]
Message-ID: <CAFgFV9O9sqNWS6DWpQYuNKSgA5XLCwLdMODwLu01T-ey6V8pXA@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2058 bytes --]

I get errors when trying to compile the emacs-25 git branch on
Windows Subsystem for Linux, which is basically Ubuntu 16.04.

I get a bunch of errors like this :

  CC       careadlinkat.o
In file included from ../../emacs/src/conf_post.h:241:0,
                 from ../src/config.h:1917,
                 from ../../emacs/lib/careadlinkat.c:21:
./unistd.h: In function ‘rpl_pipe2’:
./unistd.h:1409:1: error: expected declaration specifiers before
‘_GL_ARG_NONNULL’
 _GL_FUNCDECL_RPL (pipe2, int, (int fd[2], int flags) _GL_ARG_NONNULL
((1)));
 ^
./unistd.h:1410:1: error: storage class specified for parameter
‘_gl_cxxalias_dummy’
 _GL_CXXALIAS_RPL (pipe2, int, (int fd[2], int flags));
 ^
./unistd.h:1415:1: error: storage class specified for parameter
‘_gl_cxxalias_dummy’
 _GL_CXXALIASWARN (pipe2);
 ^
./unistd.h:1415:1: error: redefinition of parameter ‘_gl_cxxalias_dummy’
./unistd.h:1410:1: note: previous definition of ‘_gl_cxxalias_dummy’ was
here
 _GL_CXXALIAS_RPL (pipe2, int, (int fd[2], int flags));
 ^
./unistd.h:1538:1: error: storage class specified for parameter
‘_gl_cxxalias_dummy’
 _GL_CXXALIAS_SYS (readlink, ssize_t,
 ^
./unistd.h:1538:1: error: redefinition of parameter ‘_gl_cxxalias_dummy’
./unistd.h:1415:1: note: previous definition of ‘_gl_cxxalias_dummy’ was
here
 _GL_CXXALIASWARN (pipe2);
 ^
./unistd.h:1541:1: error: storage class specified for parameter
‘_gl_cxxalias_dummy’
 _GL_CXXALIASWARN (readlink);
 ^
GCC version :

fabrice@LOBSANG:/mnt/d/Source/emacs/build-emacs-ubuntu$ gcc --version
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


What could cause these problems ?

I know the platform may not be the primary target to support but still I'd
like to know what is happening there.

Thanks for any clue,

Fabrice

[-- Attachment #2: Type: text/html, Size: 2657 bytes --]

             reply	other threads:[~2017-03-02 22:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-02 22:01 Fabrice Popineau [this message]
2017-03-03  7:55 ` Errors while compiling 25.2rc2 Eli Zaretskii
2017-03-03 10:16   ` Fabrice Popineau
  -- strict thread matches above, loose matches on Subject: below --
2017-03-03 14:20 Angelo Graziosi
2017-03-03 14:24 ` Fabrice Popineau

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAFgFV9O9sqNWS6DWpQYuNKSgA5XLCwLdMODwLu01T-ey6V8pXA@mail.gmail.com \
    --to=fabrice.popineau@gmail.com \
    --cc=emacs-devel@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).