[OpenAFS-win32-devel] afs_config manifest error while compliling openafs under visual studio 2008
Gautam U Raut
gautraut@in.ibm.com
Mon, 28 Mar 2011 12:26:03 +0530
This is a multipart message in MIME format.
--=_alternative 002635F765257861_=
Content-Type: text/plain; charset="US-ASCII"
Hi All,
While compiling openafs 1.5.78 under MS Visual studio 2008 for 64 bit,
we get manifest error as
C:\gautam\openafs-1.5.78\dest\amd64_w2k\free\root.client\usr\vice\etc\afs_config.exe.manifest
: manifest authoring error
ttribute "level" not equal in different manifest snippets.
NMAKE : fatal error U1077: 'if' : return code '0x1f'
afs_config.exe.manifest has
<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
<assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel level='asInvoker' uiAccess='false' />
</requestedPrivileges>
</security>
</trustInfo>
<dependency>
<dependentAssembly>
<assemblyIdentity type='win32' name='Microsoft.VC90.CRT'
version='9.0.21022.8' processorArchitecture='amd64'
publicKeyToken='1fc8b3b9a1e18e3b' />
</dependentAssembly>
</dependency>
</assembly>
If I change the level attribute to 'requireAdministrator', and then again
fire "nmake /f NTMakefile install" command then build finishes
successfully.
But afs_config.exe fails to execute and shows errors such as MSVCR90.dll
is missing.
Let me know possible solution.
Regards,
Gautam
--=_alternative 002635F765257861_=
Content-Type: text/html; charset="US-ASCII"
<font size=2 face="sans-serif">Hi All,</font>
<br>
<br><font size=2 face="sans-serif">While compiling openafs 1.5.78 under
MS Visual studio 2008 for 64 bit,</font>
<br><font size=2 face="sans-serif">we get manifest error as </font>
<br>
<br><font size=2 face="sans-serif">C:\gautam\openafs-1.5.78\dest\amd64_w2k\free\root.client\usr\vice\etc\afs_config.exe.manifest
: manifest authoring error</font>
<br><font size=2 face="sans-serif">ttribute "level" not equal
in different manifest snippets.</font>
<br><font size=2 face="sans-serif">NMAKE : fatal error U1077: 'if' : return
code '0x1f'</font>
<br>
<br><font size=2 face="sans-serif">afs_config.exe.manifest has </font>
<br>
<br><font size=2 face="Courier New"><?xml version='1.0' encoding='UTF-8'
standalone='yes'?></font>
<br><font size=2 face="Courier New"><assembly xmlns='urn:schemas-microsoft-com:asm.v1'
manifestVersion='1.0'></font>
<br><font size=2 face="Courier New"> <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3"></font>
<br><font size=2 face="Courier New"> <security></font>
<br><font size=2 face="Courier New"> <requestedPrivileges></font>
<br><font size=2 face="Courier New"> <requestedExecutionLevel
level='asInvoker' uiAccess='false' /></font>
<br><font size=2 face="Courier New"> </requestedPrivileges></font>
<br><font size=2 face="Courier New"> </security></font>
<br><font size=2 face="Courier New"> </trustInfo></font>
<br><font size=2 face="Courier New"> <dependency></font>
<br><font size=2 face="Courier New"> <dependentAssembly></font>
<br><font size=2 face="Courier New"> <assemblyIdentity
type='win32' name='Microsoft.VC90.CRT' version='9.0.21022.8' processorArchitecture='amd64'
publicKeyToken='1fc8b3b9a1e18e3b' /></font>
<br><font size=2 face="Courier New"> </dependentAssembly></font>
<br><font size=2 face="Courier New"> </dependency></font>
<br><font size=2 face="Courier New"></assembly></font>
<br>
<br>
<br><font size=2 face="sans-serif">If I change the level attribute to 'requireAdministrator',
and then again fire "nmake /f NTMakefile install" command then
build finishes successfully.</font>
<br><font size=2 face="sans-serif">But afs_config.exe fails to execute
and shows errors such as MSVCR90.dll is missing.</font>
<br>
<br><font size=2 face="sans-serif">Let me know possible solution.</font>
<br>
<br><font size=2 face="sans-serif">Regards,</font>
<br><font size=2 face="sans-serif">Gautam</font>
<br>
--=_alternative 002635F765257861_=--