Re: build Apache 2.2.8 error ( httpd : error PRJ0002 : error result returned from 'rc.exe'. )

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux