From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Fabrice Popineau Newsgroups: gmane.emacs.devel Subject: Errors while compiling 25.2rc2 Date: Thu, 2 Mar 2017 23:01:38 +0100 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=94eb2c055696ff27ab0549c6936c X-Trace: blaine.gmane.org 1488492135 14539 195.159.176.226 (2 Mar 2017 22:02:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 2 Mar 2017 22:02:15 +0000 (UTC) To: Emacs developers Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 02 23:02:09 2017 Return-path: Envelope-to: ged-emacs-devel@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 1cjYnY-000389-DM for ged-emacs-devel@m.gmane.org; Thu, 02 Mar 2017 23:02:08 +0100 Original-Received: from localhost ([::1]:54912 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cjYne-0000ST-AJ for ged-emacs-devel@m.gmane.org; Thu, 02 Mar 2017 17:02:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39565) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cjYnS-0000SF-EE for emacs-devel@gnu.org; Thu, 02 Mar 2017 17:02:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cjYnR-0001fG-DK for emacs-devel@gnu.org; Thu, 02 Mar 2017 17:02:02 -0500 Original-Received: from mail-qk0-x236.google.com ([2607:f8b0:400d:c09::236]:33418) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cjYnR-0001er-9G for emacs-devel@gnu.org; Thu, 02 Mar 2017 17:02:01 -0500 Original-Received: by mail-qk0-x236.google.com with SMTP id n127so147790176qkf.0 for ; Thu, 02 Mar 2017 14:01:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=wpgqaVpYBihBPowDs+ApLJMkB+ASTS8hf+jmwaYlVII=; b=NxT2STYxJO59psZMdpMt5qfzMm3TeeKKAG6CkRt80tD841/0wQPuNe+lz7UwKJHv1z fZQ44Xq++uFuunCNHhUYCNp19ioio7s+TU8E3TRdWKv3Kqnjubhc6rpW8xBDLP80GRBZ cS0+Vuk9o84XaYfMVbihUpgDm/tQO7216R1FWDUtNWDWKOKV4e59c/f6NNGdgSJbtmGo gkP/myGL2+1U5ycIKPTAzMMEyGGCtGoEMCbmOjOn43LJ3WVc6AJxVS2Bstegf9DSwSOR hEw5/11qAvftav4v6oVN+CRuogV0IKxiz7IMIGL0n6+jSPiA4HB7RxZnWwS42ZWHi99X xC1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=wpgqaVpYBihBPowDs+ApLJMkB+ASTS8hf+jmwaYlVII=; b=QDGyBxkuPDZ9HmjBvaB4vq8p8JB5zDGPAkF1VEjm9Z3462Wev9J6deNNoM3cAhUm61 /oesiinFi69+ws8ZcUZ1zH9QY1cTA7gEWYU695brOLLZAYj0pypgL+WdXG1PwgevktNv 9n2EZvL7RS88205hfuzDZ7MiBvnU7d4VdMBtTkpkswbROuuHWWIAHjkquL0EPouDsK52 uG34b/inwP1XodosU2PBe4QPS6ND0xM4/4mgbxtxSxJkrwKM18tXYd/XR1D5rXLfuMPv 56OOrzcPj670wBQQ8qPWZNQUi5Q4hf9tstxfvq8mxQq0x/kKDSH4fH0I6EHlp/raEFSp 3G+A== X-Gm-Message-State: AMke39mNpRbZFZPka4E2iuQ9eyKnqdl2uF34Nmkh01VW3q58gUz8+shnBJgV3WP0tH4fhrG04//vnLQoKvL/Ug== X-Received: by 10.55.104.134 with SMTP id d128mr18173081qkc.86.1488492118856; Thu, 02 Mar 2017 14:01:58 -0800 (PST) Original-Received: by 10.140.104.51 with HTTP; Thu, 2 Mar 2017 14:01:38 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400d:c09::236 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:212719 Archived-At: --94eb2c055696ff27ab0549c6936c Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 =E2=80=98rpl_pipe2=E2=80=99: ./unistd.h:1409:1: error: expected declaration specifiers before =E2=80=98_GL_ARG_NONNULL=E2=80=99 _GL_FUNCDECL_RPL (pipe2, int, (int fd[2], int flags) _GL_ARG_NONNULL ((1))); ^ ./unistd.h:1410:1: error: storage class specified for parameter =E2=80=98_gl_cxxalias_dummy=E2=80=99 _GL_CXXALIAS_RPL (pipe2, int, (int fd[2], int flags)); ^ ./unistd.h:1415:1: error: storage class specified for parameter =E2=80=98_gl_cxxalias_dummy=E2=80=99 _GL_CXXALIASWARN (pipe2); ^ ./unistd.h:1415:1: error: redefinition of parameter =E2=80=98_gl_cxxalias_d= ummy=E2=80=99 ./unistd.h:1410:1: note: previous definition of =E2=80=98_gl_cxxalias_dummy= =E2=80=99 was here _GL_CXXALIAS_RPL (pipe2, int, (int fd[2], int flags)); ^ ./unistd.h:1538:1: error: storage class specified for parameter =E2=80=98_gl_cxxalias_dummy=E2=80=99 _GL_CXXALIAS_SYS (readlink, ssize_t, ^ ./unistd.h:1538:1: error: redefinition of parameter =E2=80=98_gl_cxxalias_d= ummy=E2=80=99 ./unistd.h:1415:1: note: previous definition of =E2=80=98_gl_cxxalias_dummy= =E2=80=99 was here _GL_CXXALIASWARN (pipe2); ^ ./unistd.h:1541:1: error: storage class specified for parameter =E2=80=98_gl_cxxalias_dummy=E2=80=99 _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 --94eb2c055696ff27ab0549c6936c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

I get errors when trying to compile th= e emacs-25 git branch on
Windows Subsystem for Linux, which is ba= sically Ubuntu 16.04.

I get a bunch of errors like= this :

=C2=A0 CC =C2=A0 =C2=A0 =C2=A0 caread= linkat.o
In file included from ../../emacs/src/conf_post.h:241:0,=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0fr= om ../src/config.h:1917,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0from ../../emacs/lib/careadlinkat.c:21:
.= /unistd.h: In function =E2=80=98rpl_pipe2=E2=80=99:
./unistd.h:14= 09:1: error: expected declaration specifiers before =E2=80=98_GL_ARG_NONNUL= L=E2=80=99
=C2=A0_GL_FUNCDECL_RPL (pipe2, int, (int fd[2], int fl= ags) _GL_ARG_NONNULL ((1)));
=C2=A0^
./unistd.h:1410:1:= error: storage class specified for parameter =E2=80=98_gl_cxxalias_dummy= =E2=80=99
=C2=A0_GL_CXXALIAS_RPL (pipe2, int, (int fd[2], int fla= gs));
=C2=A0^
./unistd.h:1415:1: error: storage class s= pecified for parameter =E2=80=98_gl_cxxalias_dummy=E2=80=99
=C2= =A0_GL_CXXALIASWARN (pipe2);
=C2=A0^
./unistd.h:1415:1:= error: redefinition of parameter =E2=80=98_gl_cxxalias_dummy=E2=80=99
./unistd.h:1410:1: note: previous definition of =E2=80=98_gl_cxxalias= _dummy=E2=80=99 was here
=C2=A0_GL_CXXALIAS_RPL (pipe2, int, (int= fd[2], int flags));
=C2=A0^
./unistd.h:1538:1: error: = storage class specified for parameter =E2=80=98_gl_cxxalias_dummy=E2=80=99<= /div>
=C2=A0_GL_CXXALIAS_SYS (readlink, ssize_t,
=C2=A0^
./unistd.h:1538:1: error: redefinition of parameter =E2=80=98_gl_cxxa= lias_dummy=E2=80=99
./unistd.h:1415:1: note: previous definition = of =E2=80=98_gl_cxxalias_dummy=E2=80=99 was here
=C2=A0_GL_CXXALI= ASWARN (pipe2);
=C2=A0^
./unistd.h:1541:1: error: stora= ge class specified for parameter =E2=80=98_gl_cxxalias_dummy=E2=80=99
=
=C2=A0_GL_CXXALIASWARN (readlink);
=C2=A0^
G= CC version :

fabrice@LOBSANG:/mnt/d/Source/em= acs/build-emacs-ubuntu$ gcc --version
gcc (Ubuntu 5.4.0-6ubuntu1~= 16.04.4) 5.4.0 20160609
Copyright (C) 2015 Free Software Foundati= on, Inc.
This is free software; see the source for copying condit= ions.=C2=A0 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 t= o know what is happening there.

Thanks for any= clue,

Fabrice


=
--94eb2c055696ff27ab0549c6936c--