在mod_ftp makefile上使用nmake

时间:2018-07-31 19:20:18

标签: windows

mod_ftp 是一个FTP协议模块,用于通过Apache HTTP Server Project提供的FTP协议提供httpd内容。在这里,我在makefile上使用nmake.exe:

C:\trunk> nmake -I "C:\PROGRA~2\WI3CF2~1\10\Include\10.0.17134.0\um" -f Makefile-ftp.win INSTDIR="C:\Apache24" installr

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


INSTDIR      = C:\Apache24
APACHE2_HOME = C:\Apache24
DOMAINNAME   = example.com
SERVERNAME   = www.example.com
SERVERADMIN  = admin@example.com
FTPPORT      = 21

To change these options use 'nmake -f Makefile-ftp.win [option=value]'
Example: nmake -f Makefile-ftp.win FTPPORT=8021

'C:\PROGRA~2\WI3CF2~1\10\Include\10.0.17134.0\um' is up-to-date
        echo Building Win32 Release targets (R suffixes)
Building Win32 Release targets (R suffixes)
        cd modules\ftp
        "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.14.26428\bin\Hostx64\x64\nmake.exe" -nologo -f mod_ftp.mak CFG="mod_ftp - Win32 Release" RECURSE=0
        cl.exe @C:\Users\Lucas\AppData\Local\Temp\nm58D7.tmp
ftp_commands.c
c:\apache24\include\apr.h(100): fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
ftp_connection.c
c:\apache24\include\apr.h(100): fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
ftp_data_connection.c
c:\apache24\include\apr.h(100): fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
ftp_data_filters.c
c:\apache24\include\apr.h(100): fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
ftp_filters.c
c:\apache24\include\apr.h(100): fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
ftp_inet_pton.c
c:\apache24\include\apr.h(100): fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
ftp_limitlogin.c
c:\apache24\include\apr.h(100): fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
ftp_log.c
c:\apache24\include\apr.h(100): fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
ftp_lowportd.c
c:\apache24\include\apr.h(100): fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
ftp_message.c
c:\apache24\include\apr.h(100): fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
ftp_protocol.c
c:\apache24\include\apr.h(100): fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
ftp_request.c
c:\apache24\include\apr.h(100): fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
ftp_util.c
c:\apache24\include\apr.h(100): fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
mod_ftp.c
c:\apache24\include\apr.h(100): fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Generating Code...
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.14.26428\bin\Hostx64\x64\cl.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.14.26428\bin\Hostx64\x64\nmake.exe"' : return code '0x2'
Stop.

cl.exe是Microsoft C / C ++优化编译器,可以通过Visual Studio文件获得,windows.h是Windows应用程序的主包含文件。

0 个答案:

没有答案