Snort mailing list archives

Re: Snort183 -A unsock -- part deux


From: "Michael Davis" <mike () datanerds net>
Date: Sun, 17 Mar 2002 10:27:53 -0600

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Win32 uses _snprintf() not snprintf.

There should have been a define in the code somewhere that did the
following:
#define snprintf _snprintf

Michael Davis
Chief Technical Officer
Data Nerds, LLC.
http://www.datanerds.net
- ----- Original Message ----- 
From: "Fyodor" <fygrave () tigerteam net>
To: "Dr. Richard W. Tibbs" <ccamp () oakcitysolutions com>
Cc: <snort-users () lists sourceforge net>
Sent: Sunday, March 17, 2002 1:39 AM
Subject: Re: [Snort-users] Snort183 -A unsock -- part deux


Dr. Richard W. Tibbs <ccamp () oakcitysolutions com> spoke:


Kind people:  Thanks for all the help up to this point.
I have a decent compile of the socket code now.
I am now having a problem with snprintf.
There seems to be no definition of the function on Win2K.
If I comment out the
#define HAVE_SNPRINTF = 1


line in config.h,
then compiling snprintf.c results in all kinds of errors
concerning some kind of defines or typedefs named va_dcl,
va_alist and such.

Any ideas?



we ship an implementation of snprintf() which is based on the one
shipped with sendmail. If your platform doesn't have snprintf()
within libc configure should figure that out and enable it...

as for building errors, guess there could be some portability
problems, can we see the errors, maybe we could give you hints as
what has to be changed...

_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.8 for non-commercial use <http://www.pgp.com>

iQA/AwUBPJTECPiUqZ9dnoKsEQJmtgCeM+qoT6ot+r96AcH5BRbn2g8xvgoAoIuE
sAa9PWNwI7SDYwAh3zniRWKf
=3iRl
-----END PGP SIGNATURE-----



_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users


Current thread: