D:\XPLib\STLport\src>nmake clean allMicrosoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved. rd /S /Q ..\\lib\\obj\\VC6\\Release ..\\lib\\obj\\VC6\\Debug ..\\lib\\ob
j\\VC6\\DebugSTL ..\\lib\\obj\\VC6\\Releasex ..\\lib\\obj\\VC6\\Debugx ..\\lib\
\obj\\VC6\\DebugSTLx ..\\lib\\obj\\VC6\\ReleaseD ..\\lib\\obj\\VC6\\DebugD ..\\
lib\\obj\\VC6\\DebugSTLD ..\\lib\\SunWS_cache SunWS_cache ..\\lib\\Templates.DB
Templates.DB tempinc
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
A subdirectory or file ..\\lib already exists.
A subdirectory or file ..\\lib\\obj already exists.
A subdirectory or file ..\\lib\\obj\\VC6 already exists.
mkdir ..\\lib\\obj\\VC6\\Release
cl.exe /nologo /c /Zi /W3 /GR /GX /D "WIN32" /D "_WINDOWS" /I "..\\stlpo
rt" /Zm800 /FI "vc_warning_disable.h" /D "_MBCS" /FD /D "_STLP_NO_FORCE_INSTANT
IATE" /MT /O2 /DNDEBUG /Fo"..\\lib\\obj\\VC6\\Release\\" /Fd"..\\lib\\obj\\VC6
\\Release\\" .\dll_main.cpp
dll_main.cpp
cl.exe /nologo /c /Zi /W3 /GR /GX /D "WIN32" /D "_WINDOWS" /I "..\\stlpo
rt" /Zm800 /FI "vc_warning_disable.h" /D "_MBCS" /FD /D "_STLP_NO_FORCE_INSTANT
IATE" /MT /O2 /DNDEBUG /Fo"..\\lib\\obj\\VC6\\Release\\" /Fd"..\\lib\\obj\\VC6
\\Release\\" .\fstream.cpp
fstream.cpp
C:\Microsoft SDK\Include\.\winbase.h(1392) : error C2733: second C linkage of ov
erloaded function 'InterlockedIncrement' not allowed
C:\Microsoft SDK\Include\.\winbase.h(1390) : see declaration of 'Interlo
ckedIncrement'
C:\Microsoft SDK\Include\.\winbase.h(1399) : error C2733: second C linkage of ov
erloaded function 'InterlockedDecrement' not allowed
C:\Microsoft SDK\Include\.\winbase.h(1397) : see declaration of 'Interlo
ckedDecrement'
C:\Microsoft SDK\Include\.\winbase.h(1407) : error C2733: second C linkage of ov
erloaded function 'InterlockedExchange' not allowed
C:\Microsoft SDK\Include\.\winbase.h(1404) : see declaration of 'Interlo
ckedExchange'
NMAKE : fatal error U1077: 'cl.exe' : return code '0x2'
Stop.
Copyright (C) Microsoft Corp 1988-1998. All rights reserved. rd /S /Q ..\\lib\\obj\\VC6\\Release ..\\lib\\obj\\VC6\\Debug ..\\lib\\ob
j\\VC6\\DebugSTL ..\\lib\\obj\\VC6\\Releasex ..\\lib\\obj\\VC6\\Debugx ..\\lib\
\obj\\VC6\\DebugSTLx ..\\lib\\obj\\VC6\\ReleaseD ..\\lib\\obj\\VC6\\DebugD ..\\
lib\\obj\\VC6\\DebugSTLD ..\\lib\\SunWS_cache SunWS_cache ..\\lib\\Templates.DB
Templates.DB tempinc
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
A subdirectory or file ..\\lib already exists.
A subdirectory or file ..\\lib\\obj already exists.
A subdirectory or file ..\\lib\\obj\\VC6 already exists.
mkdir ..\\lib\\obj\\VC6\\Release
cl.exe /nologo /c /Zi /W3 /GR /GX /D "WIN32" /D "_WINDOWS" /I "..\\stlpo
rt" /Zm800 /FI "vc_warning_disable.h" /D "_MBCS" /FD /D "_STLP_NO_FORCE_INSTANT
IATE" /MT /O2 /DNDEBUG /Fo"..\\lib\\obj\\VC6\\Release\\" /Fd"..\\lib\\obj\\VC6
\\Release\\" .\dll_main.cpp
dll_main.cpp
cl.exe /nologo /c /Zi /W3 /GR /GX /D "WIN32" /D "_WINDOWS" /I "..\\stlpo
rt" /Zm800 /FI "vc_warning_disable.h" /D "_MBCS" /FD /D "_STLP_NO_FORCE_INSTANT
IATE" /MT /O2 /DNDEBUG /Fo"..\\lib\\obj\\VC6\\Release\\" /Fd"..\\lib\\obj\\VC6
\\Release\\" .\fstream.cpp
fstream.cpp
C:\Microsoft SDK\Include\.\winbase.h(1392) : error C2733: second C linkage of ov
erloaded function 'InterlockedIncrement' not allowed
C:\Microsoft SDK\Include\.\winbase.h(1390) : see declaration of 'Interlo
ckedIncrement'
C:\Microsoft SDK\Include\.\winbase.h(1399) : error C2733: second C linkage of ov
erloaded function 'InterlockedDecrement' not allowed
C:\Microsoft SDK\Include\.\winbase.h(1397) : see declaration of 'Interlo
ckedDecrement'
C:\Microsoft SDK\Include\.\winbase.h(1407) : error C2733: second C linkage of ov
erloaded function 'InterlockedExchange' not allowed
C:\Microsoft SDK\Include\.\winbase.h(1404) : see declaration of 'Interlo
ckedExchange'
NMAKE : fatal error U1077: 'cl.exe' : return code '0x2'
Stop.
然后就 nmake clean all
接着就遇到这个错误.