[OpenAFS-devel] Windows build problems

Nuno Miguel Neves nneves@di.fc.ul.pt
Mon, 26 Mar 2001 13:04:46 +0100


I've tried it again with 1.0.3 and touching the .c files.

It compiles and compiles, but it then gives me an error, which I transcribe:

   Creating library f:\openafs\DEST\root.server\usr\afs\bin\kaserver.lib and obj
ect f:\openafs\DEST\root.server\usr\afs\bin\kaserver.exp
krb_udp.obj : error LNK2001: unresolved external symbol _snprintf
f:\openafs\DEST\root.server\usr\afs\bin\kaserver.exe : fatal error LNK1120: 1 un
resolved externals
NMAKE : fatal error U1077: 'link' : return code '0x19'
Stop.
NMAKE : fatal error U1077: '"c:\Program Files\DevStudio\VC\bin\NMAKE.EXE"' : ret
urn code '0x2'
Stop.


Is there a patch for this, or am I doing something wrong?

Thanks,


Derrick J Brashear wrote:
> 
> --On Friday, March 23, 2001 01:21:22 PM -0500 Eric Lorenzo
> <elorenzo@arsdigita.com> wrote:
> 
> > You could get it to stop trying to run flex by 'touch'ing the file
> > generated from et_lex.lex.l (et_lex.lex_nt.c) so that nmake doesn't try
> > to build it.  That won't really work, though, because there is (as of
> > 1.0.2) an error in the .l file that you're going to need to fix.
> 
> 1.0.2 is so last-release; After you shared this I fixed it and that fix is
> present in 1.0.3
> 
> > Specifically, the line reading:
> >
> > [\t\n ]        ;
> >
> > needs to be replaced with:
> >
> > [\t\n\r ]        ;
> 
> -D
> _______________________________________________
> OpenAFS-devel mailing list
> OpenAFS-devel@openafs.org
> https://lists.openafs.org/mailman/listinfo.cgi/openafs-devel

--                  
                  nneves@di.fc.ul.pt    Dept. Informatica, Fac. Ciencias,
|\ |    |\ |      Tel: +351 21 7500528  Univ. Lisboa, Bloco C5, Campo Grande
| \|uno | \|eves  Fax: +351 21 7500084  1700 Lisboa, Portugal