[OpenAFS-win32-devel] Getting linker error LNK2019 while compiling OpenAFS

Jeffrey Altman jaltman@secure-endpoints.com
Wed, 02 Feb 2011 09:54:14 -0500


This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigB4B3A8A01F99B47CD0015745
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 2/2/2011 4:55 AM, Gautam U Raut wrote:
> Hi All,
>=20
>=20
> While compiling OpenAFS 1.5.78 on Windows 7 on AMD64 , I am facing
> following errors:
>=20
> link
> /OUT:C:\OPENAF~1.78-\OPENAF~1.78\obj\amd64_w2k\free\config\mkvers.exe
> /DEBUG
> /PDB:C:\OPENAF~1.78-\OPENAF~1.78\obj\amd64_w2k\free\config\mkvers.pdb
>  /INCREMENTAL:NO /NOLOGO -subsystem:console,5.02  /FIXED:NO /VERBOSE:LI=
B
> /MACHINE:AMD64 /MANIFEST kernel32.lib  ws2_32.lib mswsock.lib
> advapi32.lib Advapi32.lib user32.lib version.lib
> C:\OPENAF~1.78-\OPENAF~1.78\obj\amd64_w2k\free\config\mkvers.obj

You are building for AMD64
>=20
> Searching libraries
>     Searching C:\Program Files\Microsoft
> SDKs\Windows\v7.1\\lib\kernel32.lib:
>     Searching C:\Program Files\Microsoft SDKs\Windows\v7.1\\lib\ws2_32.=
lib:
>     Searching C:\Program Files\Microsoft
> SDKs\Windows\v7.1\\lib\mswsock.lib:
>     Searching C:\Program Files\Microsoft
> SDKs\Windows\v7.1\\lib\advapi32.lib:
>     Searching C:\Program Files\Microsoft SDKs\Windows\v7.1\\lib\user32.=
lib:
>     Searching C:\Program Files\Microsoft
> SDKs\Windows\v7.1\\lib\version.lib:

But you are linking with the X86 libraries.

>     Searching C:\Program Files (x86)\Microsoft Visual Studio
> 9.0\VC\lib\MSVCRT.lib:
>     Searching C:\Program Files (x86)\Microsoft Visual Studio
> 9.0\VC\lib\OLDNAMES.lib:



--------------enigB4B3A8A01F99B47CD0015745
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)

iQEcBAEBAgAGBQJNSXAYAAoJENxm1CNJffh4vGMIALCmG0B1h60LaFXSiow7y8dR
6cMVDjsydRxFqGlNIirZUouIGFlRSS6z3WNEvwpiGB3+fVTl0FyZfpfYlKKqn1KS
A7PsDYAemE0O+9KUxOGB0t+qhyZdnBJyUrwbpbmb3QcImES50t30QaN/LoAEgW29
2usIccceXRfyneMe2UFskTAe9cSPjK2MCsxhdh6avFN7+HT3hbeAQmvObxQfvdaQ
xAEEvvrN0InZUVOrTTEQcB04+I/QdLY628+uGyK899F/0YuIdMQO9dcxNbgcxCI7
H/5rZXGxMX6pR5ZwJMimvQFbaYjs9Fk/q4JlkrwLpT7dxCH6kJRPP0ek5O8Lkww=
=8fc7
-----END PGP SIGNATURE-----

--------------enigB4B3A8A01F99B47CD0015745--