Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: linux-ipsec: Latest snapshot and 2.0.35

From: Michael H. Warfield <mhw(at)alcove.wittsend.com>
Date: Wed Jul 29 1998 - 13:28:50 EDT


Richard Guy Briggs enscribed thusly:

	:
	: - partial deletion to protect the irrelevant...
	:

> > On 5.1... Both htonl and ntohl are suppose to be macros (I

> Again...I will see if some of the specifics are necessary....

> > Here is an example of those errors:

> > gcc -D__KERNEL__ -I/usr/src/linux-2.0.35/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pip> e -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -DMODULE -c -o ipsec_esp3desmd596.o ipsec_esp3desmd596.c>
> > In file included from /usr/include/unistd.h:148,
> > from ipsec_esp3desmd596.c:140:
> > /usr/include/gnu/types.h:75: warning: `__NFDBITS' redefined
> > /usr/src/linux-2.0.35/include/linux/posix_types.h:30: warning: this is the location of the previous definition
> > /usr/include/gnu/types.h:77: warning: `__FDMASK' redefined
> > /usr/src/linux-2.0.35/include/linux/posix_types.h:42: warning: this is the location of the previous definition
> > In file included from ipsec_esp3desmd596.c:140:
> > /usr/include/unistd.h:151: warning: redefinition of `ssize_t'
> > /usr/src/linux-2.0.35/include/linux/types.h:35: warning: `ssize_t' previously declared here

> Have you tried eliminating unistd.h?

        Sigh... Just did... The EPA is still clearing the area and checking for radiation.

        I ended up with a whole pile of incomplete types and stuff... So I guess that one is a "wrong answer". :-(

> > Might be related to the htonl/ntohl problem.

Do you need help?X

> I suspect not...but maybe. One is overdefinition, the other, under.

        So it appears now... I like to try for zero warnings and some of my engineers think I'm paranoid about it but... Maybe we give these warnings the "Scarlet O'Hara treatment" (I'll worry about that tommorrow).

        Mike

-- 
 Michael H. Warfield    |  (770) 985-6132   |  mhw@WittsEnd.com
  (The Mad Wizard)      |  (770) 925-8248   |  
http://www.wittsend.com/mhw/
  NIC whois:  MHW9      |  An optimist believes we live in the best of all
 PGP Key: 0xDF1DD471    |  possible worlds.  A pessimist is sure of it!
Received on Wed Jul 29 13:29:16 1998

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 12:59:25 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library