openssl-1.1.1g cygwin make errors

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

openssl-1.1.1g cygwin make errors

Anand Sridharan
Hi Open SSL users ,

Please let us know if someone has observed below errors while compiling on source with cygwin.
Please do indicate any workaround available , I observed similar errors with different version as well such as openssl 1.1.1a.

from crypto/async/arch/async_null.c:11:
crypto/async/arch/../arch/async_posix.h:28:24: ucontext.h: No such file or directory
In file included from crypto/async/arch/../async_local.h:30,
                 from crypto/async/arch/async_null.c:11:
crypto/async/arch/../arch/async_posix.h:32: error: parse error before "ucontext_t"
crypto/async/arch/../arch/async_posix.h:32: warning: no semicolon at end of struct or union
crypto/async/arch/../arch/async_posix.h:35: error: parse error before '}' token
crypto/async/arch/../arch/async_posix.h:35: warning: type defaults to `int' in declaration of `async_fibre'
crypto/async/arch/../arch/async_posix.h:35: warning: data definition has no type or storage class
crypto/async/arch/../arch/async_posix.h:37: error: parse error before '*' token
crypto/async/arch/../arch/async_posix.h: In function `async_fibre_swapcontext':
crypto/async/arch/../arch/async_posix.h:39: error: `o' undeclared (first use in this function)
crypto/async/arch/../arch/async_posix.h:39: error: (Each undeclared identifier is reported only once
crypto/async/arch/../arch/async_posix.h:39: error: for each function it appears in.)
crypto/async/arch/../arch/async_posix.h:41: error: `r' undeclared (first use in this function)
crypto/async/arch/../arch/async_posix.h:42: error: `n' undeclared (first use in this function)

--
thanks,

Anand.S
Reply | Threaded
Open this post in threaded view
|

AW: openssl-1.1.1g cygwin make errors

Georg Höllrigl
Hello,

You could try with

./config no-async


Kind Regards,
Georg

Von: openssl-users <[hidden email]> Im Auftrag von Anand Sridharan
Gesendet: 06 May 2020 03:20
An: [hidden email]
Betreff: openssl-1.1.1g cygwin make errors

Hi Open SSL users ,

Please let us know if someone has observed below errors while compiling on source with cygwin.
Please do indicate any workaround available , I observed similar errors with different version as well such as openssl 1.1.1a.

from crypto/async/arch/async_null.c:11:
crypto/async/arch/../arch/async_posix.h:28:24: ucontext.h: No such file or directory
In file included from crypto/async/arch/../async_local.h:30,
                 from crypto/async/arch/async_null.c:11:
crypto/async/arch/../arch/async_posix.h:32: error: parse error before "ucontext_t"
crypto/async/arch/../arch/async_posix.h:32: warning: no semicolon at end of struct or union
crypto/async/arch/../arch/async_posix.h:35: error: parse error before '}' token
crypto/async/arch/../arch/async_posix.h:35: warning: type defaults to `int' in declaration of `async_fibre'
crypto/async/arch/../arch/async_posix.h:35: warning: data definition has no type or storage class
crypto/async/arch/../arch/async_posix.h:37: error: parse error before '*' token
crypto/async/arch/../arch/async_posix.h: In function `async_fibre_swapcontext':
crypto/async/arch/../arch/async_posix.h:39: error: `o' undeclared (first use in this function)
crypto/async/arch/../arch/async_posix.h:39: error: (Each undeclared identifier is reported only once
crypto/async/arch/../arch/async_posix.h:39: error: for each function it appears in.)
crypto/async/arch/../arch/async_posix.h:41: error: `r' undeclared (first use in this function)
crypto/async/arch/../arch/async_posix.h:42: error: `n' undeclared (first use in this function)

--
thanks,

Anand.S

Reply | Threaded
Open this post in threaded view
|

Re: AW: openssl-1.1.1g cygwin make errors

Dan Fulger
In reply to this post by Anand Sridharan
ucontext.h existed in 2017 in Cygwin, and still exists.
 
Maybe you have a very old Cygwin (you can update with setup.exe).