GNU bug report logs -
#12327
Signal-handler cleanup for Emacs
Previous Next
Reported by: Paul Eggert <eggert <at> cs.ucla.edu>
Date: Sat, 1 Sep 2012 22:41:01 UTC
Severity: normal
Tags: patch
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> Date: Fri, 07 Sep 2012 09:02:04 +0300
> From: Eli Zaretskii <eliz <at> gnu.org>
> Cc: lekktu <at> gmail.com, 12327 <at> debbugs.gnu.org
>
> This doesn't compile on Windows:
>
> gcc -I. -c -gdwarf-2 -g3 -DEMACSDEBUG -fno-crossjumping -Id:/usr/include/libxml2 -DGLYPH_DEBUG=1 -Demacs=1 -I../lib -I../nt/inc -DHAVE_NTGUI=1 -DUSE_CRT_DLL=1 -o oo/i386/editfns.o editfns.c
> alloc.c: In function `die':
> alloc.c:6716: error: `SIGABRT' undeclared (first use in this function)
> alloc.c:6716: error: (Each undeclared identifier is reported only once
> alloc.c:6716: error: for each function it appears in.)
> makefile:322: recipe for target `oo/i386/alloc.o' failed
> make[1]: *** [oo/i386/alloc.o] Error 1
> make[1]: *** Waiting for unfinished jobs....
> make[1]: Leaving directory `D:/gnu/bzr/emacs/trunk/src'
> makefile:432: recipe for target `all-other-dirs-gmake' failed
> make: *** [all-other-dirs-gmake] Error 2
Actually, this isn't Windows-specific, it happens in any build that
specifies --enable-checking.
Fixed by revision 109918 on the trunk.
The following link failure _is_ Windows-specific, stand by for a fix.
gcc -o oo/i386/temacs.bin -gdwarf-2 -g3 -Wl,-stack,0x00800000 -Wl,-heap,0x00100000 -Wl,-image-base,0x01000000 -Wl,-subsystem,console -Wl,-entry,__start -Wl,-Map,oo/i386/temacs.map oo/i386/firstfile.o oo/i386/emacs.res oo/i386/temacs0.a oo/i386/temacs1.a oo/i386/temacs2.a oo/i386/lastfile.a ../lib/oo/i386/libgnu.a -lwinmm -ladvapi32 -lgdi32 -lcomdlg32 -luser32 -lmpr -lshell32 -lwinspool -lole32 -lcomctl32 -lusp10
oo/i386/temacs0.a(emacs.o)(.text+0x1066): In function `main':
D:\gnu\bzr\emacs\trunk\src/emacs.c:1129: undefined reference to `sigaction'
oo/i386/temacs0.a(emacs.o)(.text+0x1091):D:\gnu\bzr\emacs\trunk\src/emacs.c:1133: undefined reference to `sigaction'
oo/i386/temacs0.a(emacs.o)(.text+0x10ff):D:\gnu\bzr\emacs\trunk\src/emacs.c:1157: undefined reference to `sigaction'
oo/i386/temacs0.a(emacs.o)(.text+0x111a):D:\gnu\bzr\emacs\trunk\src/emacs.c:1184: undefined reference to `sigaction'
oo/i386/temacs0.a(emacs.o)(.text+0x1135):D:\gnu\bzr\emacs\trunk\src/emacs.c:1188: undefined reference to `sigaction'
oo/i386/temacs0.a(emacs.o)(.text+0x1159):D:\gnu\bzr\emacs\trunk\src/emacs.c:1198: more undefined references to `sigaction' follow
collect2: ld returned 1 exit status
makefile:501: recipe for target `oo/i386/temacs.exe' failed
make[1]: *** [oo/i386/temacs.exe] Error 1
make[1]: Leaving directory `D:/gnu/bzr/emacs/trunk/src'
makefile:432: recipe for target `all-other-dirs-gmake' failed
make: *** [all-other-dirs-gmake] Error 2
This bug report was last modified 12 years and 264 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.