C compilation and linkage error on 64 bit--LINK : fatal error LNK1104: cannot open file 'libirc.lib'

Hi,i am developming the one of the tool for lotus notes for that i am using c++ code.previously in 32 bit its working perfectly fine.When tried to compile and run on 64 bit windows 2003 machine its giving the following error. LINK : fatal error LNK1104: cannot open file ‘libirc.lib’…Any idea please help me on this.

C:\original_notes_code\notesappshim\NDSRep\win32>make

“C:/original_notes_code/notesappshim/NDSRep/win32/…/…/tools/mkdir.exe” -p debu

g

make -r -f ndsrep.mak build=debug all

make[1]: Entering directory `C:/original_notes_code/notesappshim/NDSRep/win32’

rc.exe /d_DEBUG /d_WIN64 /dWIN64 /l 0x409 /fo"debug/ndsrep.res" ndsrep.rc

cl.exe /Yc /c /nologo /Zc:wchar_t- /Zi /W3 /Zp8 /Wp64 /EHa /c /Oi- /Fddebug/nds

rep.pdb /Fpdebug/ndsrep.pch /Fodebug/ /FI"pch.h" /MDd /Od /RTC1 /D_WINDOWS /DWI

NDOWS /DUNICODE /D_UNICODE /DN_PLAT_WNT /DN_INC_NO_OLD_MACROS /DPRECHECKIN=1 /DW

IN32 /DDS_FOR_WIN32 /DSTRICT /DUSE_STL_NAMESPACE /D_CRT_SECURE_NO_DEPRECATE /DS

AL_NO_DEPRECATED_APIS /D_DEBUG /DWIN64 /DNT /DW32 /DW /I"." /I"…" /I"…/…/ND

SRep/win32" /I"…/…/NDSRep/Common" /I"…/…/notesapi/include" /I"…..\notesapi

\include" pch.cpp

pch.cpp

cl.exe /Yupch.h /c /nologo /Zc:wchar_t- /Zi /W3 /Zp8 /Wp64 /EHa /c /Oi- /Fddebu

g/ndsrep.pdb /Fpdebug/ndsrep.pch /Fodebug/ /FI"pch.h" /MDd /Od /RTC1 /D_WINDOWS

/DWINDOWS /DUNICODE /D_UNICODE /DN_PLAT_WNT /DN_INC_NO_OLD_MACROS /DPRECHECKIN=

1 /DWIN32 /DDS_FOR_WIN32 /DSTRICT /DUSE_STL_NAMESPACE /D_CRT_SECURE_NO_DEPRECATE

/DSAL_NO_DEPRECATED_APIS /D_DEBUG /DWIN64 /DNT /DW32 /DW /I"." /I"…" /I"…/

…/NDSRep/win32" /I"…/…/NDSRep/Common" /I"…/…/notesapi/include" /I"…..\not

esapi\include" …/…/NDSRep/Common/n_ver.cpp

n_ver.cpp

cl.exe /Yupch.h /c /nologo /Zc:wchar_t- /Zi /W3 /Zp8 /Wp64 /EHa /c /Oi- /Fddebu

g/ndsrep.pdb /Fpdebug/ndsrep.pch /Fodebug/ /FI"pch.h" /MDd /Od /RTC1 /D_WINDOWS

/DWINDOWS /DUNICODE /D_UNICODE /DN_PLAT_WNT /DN_INC_NO_OLD_MACROS /DPRECHECKIN=

1 /DWIN32 /DDS_FOR_WIN32 /DSTRICT /DUSE_STL_NAMESPACE /D_CRT_SECURE_NO_DEPRECATE

/DSAL_NO_DEPRECATED_APIS /D_DEBUG /DWIN64 /DNT /DW32 /DW /I"." /I"…" /I"…/

…/NDSRep/win32" /I"…/…/NDSRep/Common" /I"…/…/notesapi/include" /I"…..\not

esapi\include" …/…/NDSRep/Common/arrent.cpp

arrent.cpp

cl.exe /Yupch.h /c /nologo /Zc:wchar_t- /Zi /W3 /Zp8 /Wp64 /EHa /c /Oi- /Fddebu

g/ndsrep.pdb /Fpdebug/ndsrep.pch /Fodebug/ /FI"pch.h" /MDd /Od /RTC1 /D_WINDOWS

/DWINDOWS /DUNICODE /D_UNICODE /DN_PLAT_WNT /DN_INC_NO_OLD_MACROS /DPRECHECKIN=

1 /DWIN32 /DDS_FOR_WIN32 /DSTRICT /DUSE_STL_NAMESPACE /D_CRT_SECURE_NO_DEPRECATE

/DSAL_NO_DEPRECATED_APIS /D_DEBUG /DWIN64 /DNT /DW32 /DW /I"." /I"…" /I"…/

…/NDSRep/win32" /I"…/…/NDSRep/Common" /I"…/…/notesapi/include" /I"…..\not

esapi\include" …/…/NDSRep/Common/cfgdb.cpp

cfgdb.cpp

…/…/notesapi/include\ods.h(83) : warning C4005: ‘_UNICODE’ : macro redefinitio

n

    command-line arguments : see previous definition of '_UNICODE'

…/…/NDSRep/Common/cfgdb.cpp(479) : warning C4244: ‘=’ : conversion from 'DWORD

’ to ‘STATUS’, possible loss of data

…/…/NDSRep/Common/cfgdb.cpp(631) : warning C4267: ‘argument’ : conversion from

‘size_t’ to ‘WORD’, possible loss of data

…/…/NDSRep/Common/cfgdb.cpp(662) : warning C4312: ‘type cast’ : conversion fro

m ‘MEMHANDLE’ to ‘void *’ of greater size

…/…/NDSRep/Common/cfgdb.cpp(880) : warning C4267: ‘argument’ : conversion from

‘size_t’ to ‘WORD’, possible loss of data

…/…/NDSRep/Common/cfgdb.cpp(903) : warning C4311: ‘type cast’ : pointer trunca

tion from ‘void *’ to ‘MEMHANDLE’

…/…/NDSRep/Common/cfgdb.cpp(905) : warning C4311: ‘type cast’ : pointer trunca

tion from ‘void *’ to ‘MEMHANDLE’

…/…/NDSRep/Common/cfgdb.cpp(909) : warning C4267: ‘argument’ : conversion from

‘size_t’ to ‘WORD’, possible loss of data

…/…/NDSRep/Common/cfgdb.cpp(910) : warning C4311: ‘type cast’ : pointer trunca

tion from ‘void *’ to ‘MEMHANDLE’

…/…/NDSRep/Common/cfgdb.cpp(918) : warning C4267: ‘argument’ : conversion from

‘size_t’ to ‘WORD’, possible loss of data

cl.exe /Yupch.h /c /nologo /Zc:wchar_t- /Zi /W3 /Zp8 /Wp64 /EHa /c /Oi- /Fddebu

g/ndsrep.pdb /Fpdebug/ndsrep.pch /Fodebug/ /FI"pch.h" /MDd /Od /RTC1 /D_WINDOWS

/DWINDOWS /DUNICODE /D_UNICODE /DN_PLAT_WNT /DN_INC_NO_OLD_MACROS /DPRECHECKIN=

1 /DWIN32 /DDS_FOR_WIN32 /DSTRICT /DUSE_STL_NAMESPACE /D_CRT_SECURE_NO_DEPRECATE

/DSAL_NO_DEPRECATED_APIS /D_DEBUG /DWIN64 /DNT /DW32 /DW /I"." /I"…" /I"…/

…/NDSRep/win32" /I"…/…/NDSRep/Common" /I"…/…/notesapi/include" /I"…..\not

esapi\include" …/…/NDSRep/Common/config.cpp

config.cpp

…/…/NDSRep/Common/config.cpp(365) : warning C4311: ‘type cast’ : pointer trunc

ation from ‘void *’ to ‘MEMHANDLE’

…/…/NDSRep/Common/config.cpp(470) : warning C4267: ‘=’ : conversion from 'size

_t’ to ‘DWORD’, possible loss of data

…/…/NDSRep/Common/config.cpp(473) : warning C4312: ‘type cast’ : conversion fr

om ‘MEMHANDLE’ to ‘void *’ of greater size

…/…/NDSRep/Common/config.cpp(1410) : warning C4311: ‘type cast’ : pointer trun

cation from ‘HANDLE’ to ‘int’

cl.exe /Yupch.h /c /nologo /Zc:wchar_t- /Zi /W3 /Zp8 /Wp64 /EHa /c /Oi- /Fddebu

g/ndsrep.pdb /Fpdebug/ndsrep.pch /Fodebug/ /FI"pch.h" /MDd /Od /RTC1 /D_WINDOWS

/DWINDOWS /DUNICODE /D_UNICODE /DN_PLAT_WNT /DN_INC_NO_OLD_MACROS /DPRECHECKIN=

1 /DWIN32 /DDS_FOR_WIN32 /DSTRICT /DUSE_STL_NAMESPACE /D_CRT_SECURE_NO_DEPRECATE

/DSAL_NO_DEPRECATED_APIS /D_DEBUG /DWIN64 /DNT /DW32 /DW /I"." /I"…" /I"…/

…/NDSRep/win32" /I"…/…/NDSRep/Common" /I"…/…/notesapi/include" /I"…..\not

esapi\include" …/…/NDSRep/Common/dnutil.cpp

dnutil.cpp

…/…/NDSRep/Common/dnutil.cpp(155) : warning C4267: ‘=’ : conversion from 'size

_t’ to ‘WORD’, possible loss of data

…/…/NDSRep/Common/dnutil.cpp(162) : warning C4267: ‘return’ : conversion from

‘size_t’ to ‘WORD’, possible loss of data

…/…/NDSRep/Common/dnutil.cpp(207) : warning C4267: ‘return’ : conversion from

‘size_t’ to ‘WORD’, possible loss of data

…/…/NDSRep/Common/dnutil.cpp(249) : warning C4267: ‘return’ : conversion from

‘size_t’ to ‘WORD’, possible loss of data

…/…/NDSRep/Common/dnutil.cpp(284) : warning C4267: ‘return’ : conversion from

‘size_t’ to ‘WORD’, possible loss of data

…/…/NDSRep/Common/dnutil.cpp(315) : warning C4267: ‘=’ : conversion from 'size

_t’ to ‘int’, possible loss of data

…/…/NDSRep/Common/dnutil.cpp(424) : warning C4267: ‘return’ : conversion from

‘size_t’ to ‘WORD’, possible loss of data

…/…/NDSRep/Common/dnutil.cpp(449) : warning C4267: ‘return’ : conversion from

‘size_t’ to ‘WORD’, possible loss of data

…/…/NDSRep/Common/dnutil.cpp(459) : warning C4267: ‘return’ : conversion from

‘size_t’ to ‘WORD’, possible loss of data

cl.exe /Yupch.h /c /nologo /Zc:wchar_t- /Zi /W3 /Zp8 /Wp64 /EHa /c /Oi- /Fddebu

g/ndsrep.pdb /Fpdebug/ndsrep.pch /Fodebug/ /FI"pch.h" /MDd /Od /RTC1 /D_WINDOWS

/DWINDOWS /DUNICODE /D_UNICODE /DN_PLAT_WNT /DN_INC_NO_OLD_MACROS /DPRECHECKIN=

1 /DWIN32 /DDS_FOR_WIN32 /DSTRICT /DUSE_STL_NAMESPACE /D_CRT_SECURE_NO_DEPRECATE

/DSAL_NO_DEPRECATED_APIS /D_DEBUG /DWIN64 /DNT /DW32 /DW /I"." /I"…" /I"…/

…/NDSRep/win32" /I"…/…/NDSRep/Common" /I"…/…/notesapi/include" /I"…..\not

esapi\include" …/…/NDSRep/Common/entarray.cpp

entarray.cpp

…/…/NDSRep/Common/entarray.cpp(146) : warning C4312: ‘type cast’ : conversion

from ‘long’ to ‘void *’ of greater size

…/…/NDSRep/Common/entarray.cpp(213) : warning C4312: ‘type cast’ : conversion

from ‘long’ to ‘void *’ of greater size

…/…/NDSRep/Common/entarray.cpp(282) : warning C4312: ‘type cast’ : conversion

from ‘long’ to ‘CArrayEntity *’ of greater size

…/…/NDSRep/Common/entarray.cpp(313) : warning C4312: ‘type cast’ : conversion

from ‘long’ to ‘void *’ of greater size

…/…/NDSRep/Common/entarray.cpp(369) : warning C4311: ‘type cast’ : pointer tru

ncation from ‘void *’ to ‘long’

…/…/NDSRep/Common/entarray.cpp(473) : warning C4311: ‘type cast’ : pointer tru

ncation from ‘void *’ to ‘long’

…/…/NDSRep/Common/entarray.cpp(596) : warning C4312: ‘type cast’ : conversion

from ‘long’ to ‘void *’ of greater size

…/…/NDSRep/Common/entarray.cpp(616) : warning C4312: ‘type cast’ : conversion

from ‘long’ to ‘void *’ of greater size

cl.exe /Yupch.h /c /nologo /Zc:wchar_t- /Zi /W3 /Zp8 /Wp64 /EHa /c /Oi- /Fddebu

g/ndsrep.pdb /Fpdebug/ndsrep.pch /Fodebug/ /FI"pch.h" /MDd /Od /RTC1 /D_WINDOWS

/DWINDOWS /DUNICODE /D_UNICODE /DN_PLAT_WNT /DN_INC_NO_OLD_MACROS /DPRECHECKIN=

1 /DWIN32 /DDS_FOR_WIN32 /DSTRICT /DUSE_STL_NAMESPACE /D_CRT_SECURE_NO_DEPRECATE

/DSAL_NO_DEPRECATED_APIS /D_DEBUG /DWIN64 /DNT /DW32 /DW /I"." /I"…" /I"…/

…/NDSRep/win32" /I"…/…/NDSRep/Common" /I"…/…/notesapi/include" /I"…..\not

esapi\include" …/…/NDSRep/Common/filter.cpp

filter.cpp

cl.exe /Yupch.h /c /nologo /Zc:wchar_t- /Zi /W3 /Zp8 /Wp64 /EHa /c /Oi- /Fddebu

g/ndsrep.pdb /Fpdebug/ndsrep.pch /Fodebug/ /FI"pch.h" /MDd /Od /RTC1 /D_WINDOWS

/DWINDOWS /DUNICODE /D_UNICODE /DN_PLAT_WNT /DN_INC_NO_OLD_MACROS /DPRECHECKIN=

1 /DWIN32 /DDS_FOR_WIN32 /DSTRICT /DUSE_STL_NAMESPACE /D_CRT_SECURE_NO_DEPRECATE

/DSAL_NO_DEPRECATED_APIS /D_DEBUG /DWIN64 /DNT /DW32 /DW /I"." /I"…" /I"…/

…/NDSRep/win32" /I"…/…/NDSRep/Common" /I"…/…/notesapi/include" /I"…..\not

esapi\include" …/…/NDSRep/Common/filtxml.cpp

filtxml.cpp

…/…/NDSRep/Common/filtxml.cpp(133) : warning C4244: ‘=’ : conversion from '__i

nt64’ to ‘int’, possible loss of data

…/…/NDSRep/Common/filtxml.cpp(244) : warning C4244: ‘=’ : conversion from '__i

nt64’ to ‘int’, possible loss of data

…/…/NDSRep/Common/filtxml.cpp(339) : warning C4244: ‘=’ : conversion from '__i

nt64’ to ‘int’, possible loss of data

cl.exe /Yupch.h /c /nologo /Zc:wchar_t- /Zi /W3 /Zp8 /Wp64 /EHa /c /Oi- /Fddebu

g/ndsrep.pdb /Fpdebug/ndsrep.pch /Fodebug/ /FI"pch.h" /MDd /Od /RTC1 /D_WINDOWS

/DWINDOWS /DUNICODE /D_UNICODE /DN_PLAT_WNT /DN_INC_NO_OLD_MACROS /DPRECHECKIN=

1 /DWIN32 /DDS_FOR_WIN32 /DSTRICT /DUSE_STL_NAMESPACE /D_CRT_SECURE_NO_DEPRECATE

/DSAL_NO_DEPRECATED_APIS /D_DEBUG /DWIN64 /DNT /DW32 /DW /I"." /I"…" /I"…/

…/NDSRep/win32" /I"…/…/NDSRep/Common" /I"…/…/notesapi/include" /I"…..\not

esapi\include" …/…/NDSRep/Common/idtables.cpp

idtables.cpp

…/…/NDSRep/Common/idtables.cpp(708) : warning C4267: ‘argument’ : conversion f

rom ‘size_t’ to ‘WORD’, possible loss of data

…/…/NDSRep/Common/idtables.cpp(719) : warning C4267: ‘argument’ : conversion f

rom ‘size_t’ to ‘WORD’, possible loss of data

…/…/NDSRep/Common/idtables.cpp(1092) : warning C4267: ‘argument’ : conversion

from ‘size_t’ to ‘WORD’, possible loss of data

…/…/NDSRep/Common/idtables.cpp(1121) : warning C4267: ‘argument’ : conversion

from ‘size_t’ to ‘WORD’, possible loss of data

…/…/NDSRep/Common/idtables.cpp(1153) : warning C4267: ‘argument’ : conversion

from ‘size_t’ to ‘WORD’, possible loss of data

…/…/NDSRep/Common/idtables.cpp(1165) : warning C4267: ‘argument’ : conversion

from ‘size_t’ to ‘WORD’, possible loss of data

…/…/NDSRep/Common/idtables.cpp(1177) : warning C4267: ‘argument’ : conversion

from ‘size_t’ to ‘WORD’, possible loss of data

…/…/NDSRep/Common/idtables.cpp(1231) : warning C4267: ‘argument’ : conversion

from ‘size_t’ to ‘WORD’, possible loss of data

…/…/NDSRep/Common/idtables.cpp(1699) : warning C4267: ‘argument’ : conversion

from ‘size_t’ to ‘WORD’, possible loss of data

…/…/NDSRep/Common/idtables.cpp(1704) : warning C4267: ‘argument’ : conversion

from ‘size_t’ to ‘WORD’, possible loss of data

…/…/NDSRep/Common/idtables.cpp(1709) : warning C4267: ‘argument’ : conversion

from ‘size_t’ to ‘WORD’, possible loss of data

…/…/NDSRep/Common/idtables.cpp(1714) : warning C4267: ‘argument’ : conversion

from ‘size_t’ to ‘WORD’, possible loss of data

…/…/NDSRep/Common/idtables.cpp(1719) : warning C4267: ‘argument’ : conversion

from ‘size_t’ to ‘WORD’, possible loss of data

…/…/NDSRep/Common/idtables.cpp(1726) : warning C4267: ‘argument’ : conversion

from ‘size_t’ to ‘WORD’, possible loss of data

…/…/NDSRep/Common/idtables.cpp(1734) : warning C4267: ‘argument’ : conversion

from ‘size_t’ to ‘WORD’, possible loss of data

…/…/NDSRep/Common/idtables.cpp(1970) : warning C4267: ‘return’ : conversion fr

om ‘size_t’ to ‘WORD’, possible loss of data

…/…/NDSRep/Common/idtables.cpp(1994) : warning C4267: ‘argument’ : conversion

from ‘size_t’ to ‘WORD’, possible loss of data

…/…/NDSRep/Common/idtables.cpp(2000) : warning C4267: ‘argument’ : conversion

from ‘size_t’ to ‘WORD’, possible loss of data

cl.exe /Yupch.h /c /nologo /Zc:wchar_t- /Zi /W3 /Zp8 /Wp64 /EHa /c /Oi- /Fddebu

g/ndsrep.pdb /Fpdebug/ndsrep.pch /Fodebug/ /FI"pch.h" /MDd /Od /RTC1 /D_WINDOWS

/DWINDOWS /DUNICODE /D_UNICODE /DN_PLAT_WNT /DN_INC_NO_OLD_MACROS /DPRECHECKIN=

1 /DWIN32 /DDS_FOR_WIN32 /DSTRICT /DUSE_STL_NAMESPACE /D_CRT_SECURE_NO_DEPRECATE

/DSAL_NO_DEPRECATED_APIS /D_DEBUG /DWIN64 /DNT /DW32 /DW /I"." /I"…" /I"…/

…/NDSRep/win32" /I"…/…/NDSRep/Common" /I"…/…/notesapi/include" /I"…..\not

esapi\include" …/…/NDSRep/Common/ndsrep.cpp

ndsrep.cpp

…/…/NDSRep/Common/ndsrep.cpp(141) : warning C4996: ‘stricmp’: The POSIX name f

or this item is deprecated. Instead, use the ISO C++ conformant name: _stricmp.

See online help for details.

    C:\Program Files (x86)\Microsoft Visual Studio 8\VC\INCLUDE\string.h(215

) : see declaration of ‘stricmp’

…/…/NDSRep/Common/ndsrep.cpp(570) : warning C4267: ‘=’ : conversion from 'size

_t’ to ‘int’, possible loss of data

…/…/NDSRep/Common/ndsrep.cpp(1797) : warning C4244: ‘=’ : conversion from 'DWO

RD’ to ‘STATUS’, possible loss of data

cl.exe /Yupch.h /c /nologo /Zc:wchar_t- /Zi /W3 /Zp8 /Wp64 /EHa /c /Oi- /Fddebu

g/ndsrep.pdb /Fpdebug/ndsrep.pch /Fodebug/ /FI"pch.h" /MDd /Od /RTC1 /D_WINDOWS

/DWINDOWS /DUNICODE /D_UNICODE /DN_PLAT_WNT /DN_INC_NO_OLD_MACROS /DPRECHECKIN=

1 /DWIN32 /DDS_FOR_WIN32 /DSTRICT /DUSE_STL_NAMESPACE /D_CRT_SECURE_NO_DEPRECATE

/DSAL_NO_DEPRECATED_APIS /D_DEBUG /DWIN64 /DNT /DW32 /DW /I"." /I"…" /I"…/

…/NDSRep/win32" /I"…/…/NDSRep/Common" /I"…/…/notesapi/include" /I"…..\not

esapi\include" …/…/NDSRep/Common/noteinfo.cpp

noteinfo.cpp

…/…/NDSRep/Common/noteinfo.cpp(520) : warning C4267: ‘=’ : conversion from 'si

ze_t’ to ‘WORD’, possible loss of data

cl.exe /Yupch.h /c /nologo /Zc:wchar_t- /Zi /W3 /Zp8 /Wp64 /EHa /c /Oi- /Fddebu

g/ndsrep.pdb /Fpdebug/ndsrep.pch /Fodebug/ /FI"pch.h" /MDd /Od /RTC1 /D_WINDOWS

/DWINDOWS /DUNICODE /D_UNICODE /DN_PLAT_WNT /DN_INC_NO_OLD_MACROS /DPRECHECKIN=

1 /DWIN32 /DDS_FOR_WIN32 /DSTRICT /DUSE_STL_NAMESPACE /D_CRT_SECURE_NO_DEPRECATE

/DSAL_NO_DEPRECATED_APIS /D_DEBUG /DWIN64 /DNT /DW32 /DW /I"." /I"…" /I"…/

…/NDSRep/win32" /I"…/…/NDSRep/Common" /I"…/…/notesapi/include" /I"…..\not

esapi\include" …/…/NDSRep/Common/ws2unix.cpp

ws2unix.cpp

link.exe /debug /pdb:debug/ndsrep.pdb /nologo /subsystem:windows /machine:x64 /l

ibpath:…/…/notesapi/lib/mswin32 /libpath:. /NODEFAULTLIB:libc.lib advapi32.lib

user32.lib kernel32.lib notes.lib notes0.obj notesai0.obj debug/ndsrep.res debu

g/n_ver.obj debug/arrent.obj debug/cfgdb.obj debug/config.obj debug/dnutil.obj d

ebug/entarray.obj debug/filter.obj debug/filtxml.obj debug/idtables.obj debug/nd

srep.obj debug/noteinfo.obj debug/ws2unix.obj /out:debug/ndsrep.exe /map:debug/n

dsrep.map

LINK : fatal error LNK1104: cannot open file ‘libirc.lib’

make[1]: *** [debug/ndsrep.exe] Error 1104

make[1]: Leaving directory `C:/original_notes_code/notesappshim/NDSRep/win32’

make: *** [this_debug] Error 2

C:\original_notes_code\notesappshim\NDSRep\win32>

Subject: libirc.lib

libirc.lib contains some 64-bit specific code for optimizing code for intel processors.

If you download the intel c++ compiler, you can find the missing libray there.

Best regards

Thomas Boesgaard