You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Suman Mukherjee <js...@gmail.com> on 2008/03/05 07:10:34 UTC
[users@httpd] build Apache 2.2.8 error ( httpd : error PRJ0002 : error result returned from 'rc.exe'. )
Hi all
I am getting following error while trying to build Apache 2.2.8 src
in windows with nmake tool in VC7 platform.
Build Log ------- Build started: Project: httpd, Configuration:
Release|Win32 -------
Command Lines httpd : warning PRJ0041 : Cannot find missing
dependency 'ICON_FILE' for file 'httpd.rc'. Your project may still
build, but may continue to appear out of date until this file is
found.
httpd : warning PRJ0041 : Cannot find missing dependency 'strings.h'
for file 'httpd.rc'. Your project may still build, but may continue
to appear out of date until this file is found.
Creating command line "rc.exe /d "NDEBUG" /d "APP_FILE" /d
"BIN_NAME="httpd.exe"" /d "LONG_NAME="Apache HTTP Server"" /d
"ICON_FILE="apache.ico"" /l 0x409 /I "build\win32" /I "./include" /I
"./srclib/apr/include" /fo".\Release/httpd.res"
".\build\win32\httpd.rc""
Output Window Compiling resources...
fatal error RC1107: invalid usage; use RC /? for Help
httpd : error PRJ0002 : error result returned from 'rc.exe'.
httpd : warning PRJ0041 : Cannot find missing dependency 'ICON_FILE'
for file 'httpd.rc'. Your project may still build, but may continue
to appear out of date until this file is found.
httpd : warning PRJ0041 : Cannot find missing dependency 'strings.h'
for file 'httpd.rc'. Your project may still build, but may continue
to appear out of date until this file is found.
Results Build log was saved at
"file://d:\Dump\httpd-2.2.8-win32-src\httpd-2.2.8\Release\BuildLog.htm"
httpd - 1 error(s), 0 warning(s)
PLEASE ADVICE ...
Suman
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] build Apache 2.2.8 error ( httpd : error PRJ0002
: error result returned from 'rc.exe'. )
Posted by "William A. Rowe, Jr." <wr...@rowe-clan.net>.
What appears to have happened is that you've opened it up unsuccessfully
in Visual Studio; before you convert to an .sln file + .vcproj files,
it's important to invoke the perl script
perl srclib\apr\build\cvtdsp.pl -2005
which will do evil things to the .dsp file syntax, breaking them forever
but allowing us to work around a visual studio bug. Then, load the
Apache.dsw into a modern visual studio; it should 'just work'.
If .sln files exist, nmake -f Makefile.win it tries to use them with devenv,
else if the .mak files exist, it uses those with nmake. Finally it falls
back on using msdev of the .dsw file (visual studio 6 style).
But you can override this all and save yourself the grief; simply add the
flag like
nmake -f makefile.win USEMAK=1 ...
and it won't use these troubled .sln files in your build tree!
Yours,
Bill
Suman Mukherjee wrote:
> Hi all
>
> I am getting following error while trying to build Apache 2.2.8 src
> in windows with nmake tool in VC7 platform.
>
> Build Log ------- Build started: Project: httpd, Configuration:
> Release|Win32 -------
>
> Command Lines httpd : warning PRJ0041 : Cannot find missing
> dependency 'ICON_FILE' for file 'httpd.rc'. Your project may still
> build, but may continue to appear out of date until this file is
> found.
>
> httpd : warning PRJ0041 : Cannot find missing dependency 'strings.h'
> for file 'httpd.rc'. Your project may still build, but may continue
> to appear out of date until this file is found.
>
> Creating command line "rc.exe /d "NDEBUG" /d "APP_FILE" /d
> "BIN_NAME="httpd.exe"" /d "LONG_NAME="Apache HTTP Server"" /d
> "ICON_FILE="apache.ico"" /l 0x409 /I "build\win32" /I "./include" /I
> "./srclib/apr/include" /fo".\Release/httpd.res"
> ".\build\win32\httpd.rc""
> Output Window Compiling resources...
> fatal error RC1107: invalid usage; use RC /? for Help
> httpd : error PRJ0002 : error result returned from 'rc.exe'.
>
> httpd : warning PRJ0041 : Cannot find missing dependency 'ICON_FILE'
> for file 'httpd.rc'. Your project may still build, but may continue
> to appear out of date until this file is found.
>
> httpd : warning PRJ0041 : Cannot find missing dependency 'strings.h'
> for file 'httpd.rc'. Your project may still build, but may continue
> to appear out of date until this file is found.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org