[OpenAFS-devel] using the AFS libraries under Win2k

Burcin Erocal burcin@math.bilgi.edu.tr
Mon, 26 Aug 2002 14:05:05 +0300


I am having problems using the libraries that come with the AFS client
on Win2k.

I can compile the following program, but I can't get past the linking
stage.

#include <afs/param.h>
#include <afs/kautils.h>

void main(void)
{
        ka_Init( 0 );
}

Trying to link using the libraries afsauthent.lib and libafsconf.lib
(the ones present on the client distribution) doesn't work, the linker
complains about unresolved external symbols. 

I have also tried building the OpenAFS distribution myself, and using
the afskauth.lib produced by that, but that didn't work either.

Which libraries do I need to build this? (or to use the other functions
in the kautils.h)

I would appreciate any help or suggestions you can provide.

Regards
Burcin