Click here to Skip to main content
14,838,479 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

Im building own php on windows10 using Visual Studio 2015. while building using nmake Im returning with error code

NMAKE : fatal error U1077: '"' : return code '0x1'.

please help me to fix this. thanks in advance.

What I have tried:

c:\php-sdk\phpdev\vc14\x86\php-7.1.30-src
$ nmake /a

Microsoft (R) Program Maintenance Utility Version 14.00.24210.0
Copyright (C) Microsoft Corporation. All rights reserved.

Recreating build dirs
Recreating build dirs
Recreating build dirs
Recreating build dirs
Recreating build dirs
Recreating build dirs
Recreating build dirs
Recreating build dirs
Recreating build dirs
Recreating build dirs
Recreating build dirs
Recreating build dirs
Recreating build dirs
Recreating build dirs
Recreating build dirs
Recreating build dirs
Recreating build dirs
bison.exe --output=Zend/zend_ini_parser.c -v -d -p ini_ Zend/zend_ini_parser.y
bison.exe --output=Zend/zend_language_parser.c -v -d -p zend Zend/zend_language_parser.y
"re2c.exe" --no-generation-date --case-inverted -cbdFt Zend/zend_ini_scanner_defs.h -oZend/zend_ini_scanner.c Zend/zend_ini_scanner.l
"re2c.exe" --no-generation-date --case-inverted -cbdFt Zend/zend_language_scanner_defs.h -oZend/zend_language_scanner.c Zend/zend_language_scanner.l
bison.exe --output=sapi/phpdbg/phpdbg_parser.c -v -d -p phpdbg_ sapi/phpdbg/phpdbg_parser.y
sapi/phpdbg/phpdbg_parser.y: warning: 10 shift/reduce conflicts [-Wconflicts-sr]
sapi/phpdbg/phpdbg_parser.y: warning: 2 reduce/reduce conflicts [-Wconflicts-rr]
"re2c.exe" --no-generation-date -cbdFo sapi/phpdbg/phpdbg_lexer.c sapi/phpdbg/phpdbg_lexer.l
type ext\pcre\php_pcre.def > C:\php-sdk\phpdev\vc14\x86\php-7.1.30-src\Release\php7.dll.def
"" -h win32\ -r C:\php-sdk\phpdev\vc14\x86\php-7.1.30-src\Release\ -x C:\php-sdk\phpdev\vc14\x86\php-7.1.30-src\Release\ win32\build\wsyslog.mc
'-h' is not recognized as an internal or external command,
operable program or batch file.
NMAKE : fatal error U1077: '"' : return code '0x1'
Stop.
Posted
Updated 23-Feb-21 23:49pm

1 solution

Look at the error message:
"" -h win32\ -r C:\php-sdk\phpdev\vc14\x86\php-7.1.30-src\Release\ -x C:\php-sdk\phpdev\vc14\x86\php-7.1.30-src\Release\ win32\build\wsyslog.mc
'-h' is not recognized as an internal or external command,
operable program or batch file.

Some part of your make file is missing a definition.
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900