Link problems with V2.2.8

COLLOT Jean-Yves jean-yves.collot at cofiroute.fr
Mon Jun 21 08:19:24 GMT 2004


Michael Lemke wrote :
> Well, for what it's worth, I had the same problem a while ago.  I solved
> it by rebuilding from source and modifying config.h or whatever that was
> until all the unsupported *printf routines wheren't needed. 

Yes, this is a good solution, if you have the DECC compiler available.

You just have to comment out, or delete, the following lines in
[.VMS]CONFIG.H

#define HAVE_SNPRINTF
#define HAVE_C99_SNPRINTF

#define HAVE_VSNPRINTF
#define HAVE_C99_VSNPRINTF

Then, recompile the SNPRINTF.C module, with the following command :
$ @[.VMS]COMPILE NODEB SNPRINTF

And run the LINK procedure.

JYC


More information about the samba-vms mailing list