[flow-tools] strtouq()

S Dawalt shane.dawalt@wright.edu
Thu, 16 May 2002 14:11:09 -0400


This is a multi-part message in MIME format.

--Boundary_(ID_L+nsgkdPgJdnj6pXidn8VA)
Content-type: text/plain;	charset="iso-8859-1"
Content-transfer-encoding: quoted-printable


  In trying to compile flow-tools on my DEC Unix 4.0e box I ran into a =
few snags. Firstly, snprintf() is not in my library; but it can be =
downloaded from http://www.ijs.si/software/snprintf/snprintf_2.1.tar.gz. =
(And probably from other places too but this one seems to work well.)

  Secondly, my DEC Unix 4.0e box doesn't support strtouq() or =
strtoull().  But it does have a 64-bit aware strtoul().  I simply =
changed strtouq() to strtoul() in both flow-export.c and flow-import.c. =
With these minor changes flow-tools compiles and runs well on my alpha.

  Is anybody running Tru64 with flow-tools?

  I am unsure how to coax autoconf to magically configure this stuff.  =
Does anybody know?  I noticed 0.57 was just released. Although the =
changes are minimal for my needs, they are manual and easy to forget to =
make.

  Just FYI to the list.

Shane A. Dawalt
********************************************
Network Engineer
Wright State University
Dayton,  OH   45435    USA
Phone:  937-775-4089
Email:  shane.dawalt@wright.edu


--Boundary_(ID_L+nsgkdPgJdnj6pXidn8VA)
Content-type: text/html;	charset="iso-8859-1"
Content-transfer-encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4807.2300" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp; In trying to compile flow-tools =
on my DEC=20
Unix 4.0e box I ran into a few snags. Firstly, snprintf() is not in my =
library;=20
but it can be downloaded from <A=20
href=3D"http://www.ijs.si/software/snprintf/snprintf_2.1.tar.gz">http://w=
ww.ijs.si/software/snprintf/snprintf_2.1.tar.gz</A>.=20
(And probably from other places too but this one seems to work=20
well.)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp; Secondly, my DEC Unix 4.0e box =
doesn't=20
support strtouq() or strtoull().&nbsp; But it does have a 64-bit aware=20
strtoul().&nbsp; I simply changed strtouq() to strtoul() in both =
flow-export.c=20
and flow-import.c. With these minor changes flow-tools compiles and runs =
well on=20
my alpha.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp; Is anybody running Tru64 with=20
flow-tools?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp; I am unsure how to coax autoconf =
to=20
magically configure this stuff.&nbsp; Does anybody know?&nbsp; I noticed =
0.57=20
was just released. Although the changes are minimal for my needs, they =
are=20
manual and easy to forget to make.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp; Just FYI to the =
list.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Shane A.=20
Dawalt<BR>********************************************<BR>Network=20
Engineer<BR>Wright State University<BR>Dayton,&nbsp; OH&nbsp;&nbsp;=20
45435&nbsp;&nbsp;&nbsp; USA<BR>Phone:&nbsp; 937-775-4089<BR>Email:&nbsp; =
<A=20
href=3D"mailto:shane.dawalt@wright.edu">shane.dawalt@wright.edu</A><BR></=
FONT></DIV></BODY></HTML>

--Boundary_(ID_L+nsgkdPgJdnj6pXidn8VA)--