cygwin make command shows this error:

```
../../.././winsup/cygwin/cygmagic: line 25: /usr/bin/awk: cannot
execute binary file: Exec format error
*** WARNING WARNING WARNING WARNING WARNING ***
*** ../../.././winsup/cygwin/child_info.h: magic number for
CHILD_INFO_MAGIC changed old 0xc96f5e9U != new
*** WARNING WARNING WARNING WARNING WARNING ***
c++wrap -O2 -g -fno-rtti -fno-exceptions -fno-use-cxa-atexit -Wall
-Wstrict-aliasing -Wwrite-strings -fno-common -pipe -fbuiltin
-fmessage-length=0 -MMD -Werror -fmerge-constants -ftracer
-mcmodel=small -c -o dcrt0.o ../../.././winsup/cygwin/dcrt0.cc
../../.././winsup/cygwin/dcrt0.cc: In function 'child_info*
get_cygwin_startup_info()':
../../.././winsup/cygwin/dcrt0.cc:535:76: error: expected
primary-expression before ')' token
       || res->intro != PROC_MAGIC_GENERIC || res->magic != CHILD_INFO_MAGIC)
                                                                            ^
make[3]: *** [../../.././winsup/cygwin/../Makefile.common:41: dcrt0.o] Error 1
make[3]: Leaving directory
'/cygdrive/c/MyFiles/cygwin/x86_64-unknown-cygwin/winsup/cygwin'
make[2]: *** [Makefile:81: cygwin] Error 1
make[2]: Leaving directory
'/cygdrive/c/MyFiles/cygwin/x86_64-unknown-cygwin/winsup'
make[1]: *** [Makefile:9464: all-target-winsup] Error 2
make[1]: Leaving directory '/cygdrive/c/MyFiles/cygwin'
make: *** [Makefile:883: all] Error 2

```


On Tue, Feb 13, 2018 at 10:54 AM, Biswapriyo <nathbap...@gmail.com> wrote:
> I want to edit some code in cygwin1.dll for my project. So, I clone
> git repository from this url:
> git://sourceware.org/git/newlib-cygwin.git
>
> I've gcc, g++, make installed with cygwin and mingw-w64 (and also in
> WSL). But none of them generate DLL file. I also follow the commands
> ./configure & make. Command generates only object files. Is it
> possible to compile cygwin1.dll from its source code?

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Reply via email to