[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Failure building trunk on MSYS2 after "Fix locating pdump by symlink
From: |
Basil L. Contovounesios |
Subject: |
Re: Failure building trunk on MSYS2 after "Fix locating pdump by symlink" |
Date: |
Mon, 24 Jun 2019 16:00:30 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
martin rudalics <address@hidden> writes:
> Building trunk with MSYS2 currently fails here as:
>
> checking for realpath... no
> ...
> checking whether realpath works... no
> ...
> CC canonicalize-lgpl.o
> ../../lib/canonicalize-lgpl.c:51:21: warning: no previous prototype for
> 'realpath' [-Wmissing-prototypes]
> # define __realpath realpath
> ^~~~~~~~
> ../../lib/canonicalize-lgpl.c:117:1: note: in expansion of macro '__realpath'
> __realpath (const char *name, char *resolved)
> ^~~~~~~~~~
> ../../lib/canonicalize-lgpl.c:50:35: warning: no previous prototype for
> 'canonicalize_file_name' [-Wmissing-prototypes]
> # define __canonicalize_file_name canonicalize_file_name
> ^~~~~~~~~~~~~~~~~~~~~~
> ../../lib/canonicalize-lgpl.c:416:1: note: in expansion of macro
> '__canonicalize_file_name'
> __canonicalize_file_name (const char *name)
> ^~~~~~~~~~~~~~~~~~~~~~~~
> ...
> ../../src/emacs.c: In function 'load_pdump':
> ../../src/emacs.c:750:17: warning: implicit declaration of function
> 'realpath'; did you mean 'GetPath'? [-Wimplicit-function-declaration]
> char* argv0 = realpath (argv[0], NULL);
> ^~~~~~~~
> GetPath
> ../../src/emacs.c:750:17: warning: nested extern declaration of 'realpath'
> [-Wnested-externs]
> ../../src/emacs.c:750:17: warning: initialization of 'char *' from 'int'
> makes pointer from integer without a cast [-Wint-conversion]
> ...
> CCLD temacs.exe
> ../lib/libgnu.a(canonicalize-lgpl.o): In function `realpath':
> C:\emacs\trunk\non-64\lib/../../lib/canonicalize-lgpl.c:294: undefined
> reference to `mmalloca'
> C:\emacs\trunk\non-64\lib/../../lib/canonicalize-lgpl.c:294:(.text+0x7d2):
> relocation truncated to fit: R_X86_64_PC32 against undefined symbol `mmalloca'
> C:\emacs\trunk\non-64\lib/../../lib/canonicalize-lgpl.c:305: undefined
> reference to `freea'
> C:\emacs\trunk\non-64\lib/../../lib/canonicalize-lgpl.c:305:(.text+0x84d):
> relocation truncated to fit: R_X86_64_PC32 against undefined symbol `freea'
> C:\emacs\trunk\non-64\lib/../../lib/canonicalize-lgpl.c:313: undefined
> reference to `mmalloca'
> C:\emacs\trunk\non-64\lib/../../lib/canonicalize-lgpl.c:313:(.text+0x8de):
> relocation truncated to fit: R_X86_64_PC32 against undefined symbol `mmalloca'
> C:\emacs\trunk\non-64\lib/../../lib/canonicalize-lgpl.c:316: undefined
> reference to `freea'
> C:\emacs\trunk\non-64\lib/../../lib/canonicalize-lgpl.c:316:(.text+0x8fe):
> relocation truncated to fit: R_X86_64_PC32 against undefined symbol `freea'
> C:\emacs\trunk\non-64\lib/../../lib/canonicalize-lgpl.c:326: undefined
> reference to `freea'
> C:\emacs\trunk\non-64\lib/../../lib/canonicalize-lgpl.c:326:(.text+0x96e):
> relocation truncated to fit: R_X86_64_PC32 against undefined symbol `freea'
> C:\emacs\trunk\non-64\lib/../../lib/canonicalize-lgpl.c:379: undefined
> reference to `freea'
> C:\emacs\trunk\non-64\lib/../../lib/canonicalize-lgpl.c:379:(.text+0xd8a):
> relocation truncated to fit: R_X86_64_PC32 against undefined symbol `freea'
> C:\emacs\trunk\non-64\lib/../../lib/canonicalize-lgpl.c:387: undefined
> reference to `freea'
> C:\emacs\trunk\non-64\lib/../../lib/canonicalize-lgpl.c:387:(.text+0xdbe):
> relocation truncated to fit: R_X86_64_PC32 against undefined symbol `freea'
> collect2.exe: error: ld returned 1 exit status
> make[1]: *** [Makefile:651: temacs.exe] Fehler 1
> make[1]: Verzeichnis „/c/emacs/trunk/non-64/src“ wird verlassen
> make: *** [Makefile:424: src] Fehler 2
See also:
https://lists.gnu.org/archive/html/emacs-devel/2019-06/msg00913.html
--
Basil