You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 6830 Reporter:@psteckler Assigned to:@gasche Status: closed (set by @xavierleroy on 2016-12-07T10:47:28Z) Resolution: duplicate Priority: normal Severity: minor Platform: x86_64 OS: Fedora OS Version: 21 Version: 4.02.1 Fixed in version: 4.02.2+dev / +rc1 Category: runtime system and C interface Duplicate of:#6617
Bug description
In asmrun/signals_osdep.h, there is an #ifdef for Android to create a type
definition for ucontext because, as the comment states, sys/ucontext.h is not
present in the Android NDK.
When compiling ocaml-android (I know, not an official project), I get an error
message about a duplicate type definition for ucontext.
That's because Android NDK r10d does have sys/ucontext.h these days. Removing
the #ifdef allows compilation to proceed. That #ifdef should be removed from the sources.
Steps to reproduce
install Android NDK r10d
git clone https://github.com/vouillon/ocaml-android.git
download OCaml 4.02.1 sources, unpack them
edit Makefile.config in ocaml-android with locations for Android NDK, OCaml sources
make
The text was updated successfully, but these errors were encountered:
Original bug ID: 6830
Reporter: @psteckler
Assigned to: @gasche
Status: closed (set by @xavierleroy on 2016-12-07T10:47:28Z)
Resolution: duplicate
Priority: normal
Severity: minor
Platform: x86_64
OS: Fedora
OS Version: 21
Version: 4.02.1
Fixed in version: 4.02.2+dev / +rc1
Category: runtime system and C interface
Duplicate of: #6617
Bug description
In asmrun/signals_osdep.h, there is an #ifdef for Android to create a type
definition for ucontext because, as the comment states, sys/ucontext.h is not
present in the Android NDK.
When compiling ocaml-android (I know, not an official project), I get an error
message about a duplicate type definition for ucontext.
That's because Android NDK r10d does have sys/ucontext.h these days. Removing
the #ifdef allows compilation to proceed. That #ifdef should be removed from the sources.
Steps to reproduce
install Android NDK r10d
git clone https://github.com/vouillon/ocaml-android.git
download OCaml 4.02.1 sources, unpack them
edit Makefile.config in ocaml-android with locations for Android NDK, OCaml sources
make
The text was updated successfully, but these errors were encountered: