all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Re: Errors while compiling 25.2rc2
@ 2017-03-03 14:20 Angelo Graziosi
  2017-03-03 14:24 ` Fabrice Popineau
  0 siblings, 1 reply; 5+ messages in thread
From: Angelo Graziosi @ 2017-03-03 14:20 UTC (permalink / raw)
  To: eliz, Fabrice Popineau, Emacs developers

Fabrice Popineau wrote:

> I am at commit 6e788ef0 on emacs-25 branch.

I tried with the official RC2 
(http://git.savannah.gnu.org/cgit/emacs.git/snapshot/emacs-25.2-rc2.tar.gz) 
and it builds and seems to work..

Here is W10 Pro (build 14393.693) with WSL:

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.5 LTS
Release:        14.04
Codename:       trusty

and GCC version 4.8.4.

As you perhaps remember from previous discussions, in WSL I need this

$ echo 0 | sudo tee /proc/sys/kernel/randomize_va_space

before to start the Emacs build.


Ciao,
   Angelo.



^ permalink raw reply	[flat|nested] 5+ messages in thread
* Errors while compiling 25.2rc2
@ 2017-03-02 22:01 Fabrice Popineau
  2017-03-03  7:55 ` Eli Zaretskii
  0 siblings, 1 reply; 5+ messages in thread
From: Fabrice Popineau @ 2017-03-02 22:01 UTC (permalink / raw)
  To: Emacs developers

[-- 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 --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-03-03 14:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-03 14:20 Errors while compiling 25.2rc2 Angelo Graziosi
2017-03-03 14:24 ` Fabrice Popineau
  -- strict thread matches above, loose matches on Subject: below --
2017-03-02 22:01 Fabrice Popineau
2017-03-03  7:55 ` Eli Zaretskii
2017-03-03 10:16   ` Fabrice Popineau

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.