jcmvbkbc/crosstool-NG

Croostool build in Msys2 64bit

carlosdelfino opened this issue · 1 comments

Hello.

I am trying to compile the crosstool-NG in MSYS2 in a windows 64bit environment, I have corrected basic things like using the mkdir () function without the parameter to set the access right.

But now, during the execution of make I receive the following message, claiming not to find the utsname.h header, I already checked and the file exists in the /usr/include directory, but in the kconfig Makefile nothing I do to find it This directory works.

In file included from zconf.tab.c:2433:0:
symbol.c: At top level:
symbol.c:10:25: fatal error: sys/utsname.h: No such file or directory
 #include <sys/utsname.h>
                         ^
compilation terminated.
make[2]: *** [Makefile:96: zconf.tab.o] Error 1
make[1]: *** [Makefile:166: build-lib-kconfig] Error 2
make: *** [Makefile:126: build] Error 2

Could you help me with some adjustment?

My Environment:

Windows 10
MSYS 2 64 last version
$ gcc --version
gcc.exe (Rev2, Built by MSYS2 project) 6.2.0
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

any one?