[OpenAFS-devel] win2k compilation problems

Yee Jiun yeejiun@yahoo.com
Fri, 8 Feb 2002 17:29:21 -0800 (PST)


Hi,

I downloaded release 1.2.3 and tried to compile it in
the win2k environment. I followed the instructions in
the README-NT file but I'm still having problems. I'm
getting the following error:

---- begin ---

***** pthread
        cd src\WINNT\pthread
        nmake /nologo /f ntmakefile install
        cd ..\..\..
        echo ***** procmgmt
***** procmgmt
        cd src\procmgmt
        nmake /nologo /f ntmakefile install
        link
/OUT:c:\openafs-1.2.3\DEST\root.server\usr\afs\bin\afsprocmgmt.dll
-debug:full -debugtype:cv -debugtype:both
/NODEFAULTLIB /INCREMENTAL:NO /PDB:NON
E /RELEASE /NOLOGO -entry:_DllMainCRTStartup@12 -dll 
/FIXED:NO msvcrt.lib oldna
mes.lib kernel32.lib  wsock32.lib advapi32.lib
binmode.obj procmgmt_nt.obj redir
ect_nt.obj afsprocmgmt.res
c:\openafs-1.2.3\DEST\lib\afspthread.lib c:\openafs-1
.2.3\DEST\lib\afs\afsutil.lib /DEF:afsprocmgmt.def
   Creating library
c:\openafs-1.2.3\DEST\root.server\usr\afs\bin\afsprocmgmt.li
b and object
c:\openafs-1.2.3\DEST\root.server\usr\afs\bin\afsprocmgmt.exp
procmgmt_nt.obj : error LNK2001: unresolved external
symbol _SwitchToThread
c:\openafs-1.2.3\DEST\root.server\usr\afs\bin\afsprocmgmt.dll
: fatal error LNK1
120: 1 unresolved externals
NMAKE : fatal error U1077: 'link' : return code
'0x460'
Stop.
NMAKE : fatal error U1077: '"c:\program
files\microsoft visual studio\vc98\bin\N
MAKE.EXE"' : return code '0x2'
Stop.

C:\OPENAF~1.3>

--- end

Anyone has any ideas?

Yee Jiun.


__________________________________________________
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com