bug-libsigsegv
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

In trying to build libsigsegv-2.12 I get this compile error


From: Ron Jr Esquivel
Subject: In trying to build libsigsegv-2.12 I get this compile error
Date: Wed, 17 Jun 2020 21:33:25 +0000

The ./configure works successfully to completion.

But I get the error where the compiler does not recognize "Esp" and "Eip".

I am compiling under Cygwin.
gcc version 9.3.0
----------------------------------------------------------------------------
Now please type 'make' to compile. Good luck.


User_STM32@DESKTOP-OF-RON /cygdrive/g/downloads/libsigsegv/libsigsegv-2.12
$ make
make TARGETSTACK=" all" all-recursive
make[1]: Entering directory '/cygdrive/g/downloads/libsigsegv/libsigsegv-2.12'
Making all in src
make[2]: Entering directory '/cygdrive/g/downloads/libsigsegv/libsigsegv-2.12/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I. -I.   -g -O2 -c -o handler.lo handler.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I. -g -O2 -c handler.c -o handler.o
In file included from handler.c:20:
handler-win32.c: In function ‘main_exception_filter’:
handler-win32.c:218:45: error: ‘struct _CONTEXT’ has no member named ‘Esp’; did you mean ‘Rsp’?
  218 |               ExceptionInfo->ContextRecord->Esp = new_safe_esp;
      |                                             ^~~
      |                                             Rsp
handler-win32.c:220:45: error: ‘struct _CONTEXT’ has no member named ‘Eip’; did you mean ‘Rip’?
  220 |               ExceptionInfo->ContextRecord->Eip = (uintptr_t)&stack_overflow_handler;
      |                                             ^~~
      |                                             Rip
make[2]: *** [Makefile:487: handler.lo] Error 1
make[2]: Leaving directory '/cygdrive/g/downloads/libsigsegv/libsigsegv-2.12/src'
make[1]: *** [Makefile:430: all-recursive] Error 1
make[1]: Leaving directory '/cygdrive/g/downloads/libsigsegv/libsigsegv-2.12'
make: *** [Makefile:362: all] Error 2
-----------------------------------------------------------------------------

Thanks very much,
Ron
ron1356@hotmail.com



Ron Esquivel Jr.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]