radare / valabind

create bindings from vapi to nodejs, python, swig, c++
GNU General Public License v3.0
56 stars 27 forks source link

fatal error: sys/wait.h: No such file or directory #44

Closed kuh3h3 closed 6 years ago

kuh3h3 commented 7 years ago

tries to build on windows 10 msys2, mingw64, but failed

nodeffiwriter.c:588:12: warning: unknown escape sequence: '\m' nodeffiwriter.c:588:12: warning: unknown escape sequence: '\s' C:msys64mingw64share/vala-0.36/vapi/glib-2.0.vapi:1412:12: warning: unknown escape sequence: '\m' C:msys64mingw64share/vala-0.36/vapi/glib-2.0.vapi:1412:12: warning: unknown escape sequence: '\m' C:msys64mingw64share/vala-0.36/vapi/glib-2.0.vapi:1412:12: warning: unknown escape sequence: '\s' C:msys64mingw64share/vala-0.36/vapi/glib-2.0.vapi:1412:12: warning: unknown escape sequence: '\m' C:msys64mingw64share/vala-0.36/vapi/glib-2.0.vapi:1412:12: warning: unknown escape sequence: '\m' C:msys64mingw64share/vala-0.36/vapi/glib-2.0.vapi:1412:12: warning: unknown escape sequence: '\s' C:msys64mingw64share/vala-0.36/vapi/glib-2.0.vapi:1412:12: warning: unknown escape sequence: '\m' C:msys64mingw64share/vala-0.36/vapi/glib-2.0.vapi:1412:12: warning: unknown escape sequence: '\m' C:msys64mingw64share/vala-0.36/vapi/glib-2.0.vapi:1412:12: warning: unknown escape sequence: '\s' C:/msys64/home/kuh3h3/valabind/utils.c:14:10: fatal error: sys/wait.h: No such file or directory

include <sys/wait.h>

      ^~~~~~~~~~~~

compilation terminated.


Compilation failed: 1 error(s), 0 warning(s) error: cc exited with status 1 make: *** [Makefile:62: valabind] Errror 1

kuh3h3@DESKTOP-R0PM5LB MINGW64 ~/valabind $ valac --version Vala 0.36.4-dirty

radare commented 7 years ago

that code is generated from glib-2.0.vapi, so this is not an issue in valabind, but in vala or in glib

On 12 Sep 2017, at 07:44, kuh3h3 notifications@github.com wrote:

tries to build on windows 10 msys2, mingw64, but failed

nodeffiwriter.c:588:12: warning: unknown escape sequence: '\m' nodeffiwriter.c:588:12: warning: unknown escape sequence: '\s' C:msys64mingw64share/vala-0.36/vapi/glib-2.0.vapi:1412:12: warning: unknown escape sequence: '\m' C:msys64mingw64share/vala-0.36/vapi/glib-2.0.vapi:1412:12: warning: unknown escape sequence: '\m' C:msys64mingw64share/vala-0.36/vapi/glib-2.0.vapi:1412:12: warning: unknown escape sequence: '\s' C:msys64mingw64share/vala-0.36/vapi/glib-2.0.vapi:1412:12: warning: unknown escape sequence: '\m' C:msys64mingw64share/vala-0.36/vapi/glib-2.0.vapi:1412:12: warning: unknown escape sequence: '\m' C:msys64mingw64share/vala-0.36/vapi/glib-2.0.vapi:1412:12: warning: unknown escape sequence: '\s' C:msys64mingw64share/vala-0.36/vapi/glib-2.0.vapi:1412:12: warning: unknown escape sequence: '\m' C:msys64mingw64share/vala-0.36/vapi/glib-2.0.vapi:1412:12: warning: unknown escape sequence: '\m' C:msys64mingw64share/vala-0.36/vapi/glib-2.0.vapi:1412:12: warning: unknown escape sequence: '\s' C:/msys64/home/kuh3h3/valabind/utils.c:14:10: fatal error: sys/wait.h: No such file or directory

include <sys/wait.h>

^~~~ compilation terminated.

Compilation failed: 1 error(s), 0 warning(s) error: cc exited with status 1 make: *** [Makefile:62: valabind] Errror 1

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/radare/valabind/issues/44, or mute the thread https://github.com/notifications/unsubscribe-auth/AA3-lnEDRJhL2Zq431uySpJgWsPcqDzaks5shholgaJpZM4PUIbl.

kuh3h3 commented 7 years ago

Is this Msys2 and mingw64 environ inherit problems? I didnt set MSYS2_PATH_TYPE. but msys2 have only mingw64 vala package. then how msys2 can use mingw64 valac? so weird situation. in msys2 shell, cant use mingw64 valac. in mingw64 shell, can`t include sys/wait.h

radare commented 7 years ago

dunno, but this seems like an issue in mingw not in r2 or valabind or vala

On 13 Sep 2017, at 16:12, kuh3h3 notifications@github.com wrote:

Is this Msys2 and mingw64 environ inherit problems? I didnt set MSYS2_PATH_TYPE. but msys2 have only mingw64 vala package. so how msys2 can use mingw64 valac? so weird situation. in msys2 shell, cant use mingw64 valac. in mingw64 shell, can`t include sys/wait.h

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/radare/valabind/issues/44#issuecomment-329180673, or mute the thread https://github.com/notifications/unsubscribe-auth/AA3-lvvZ566FJBsx9nebiS6YWpuDpub9ks5sh-LVgaJpZM4PUIbl.