From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 26097 invoked from network); 3 Feb 1999 20:29:19 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 3 Feb 1999 20:29:19 -0000 Received: from ellpspace.math.ualberta.ca (root@ellpspace.math.ualberta.ca [129.128.88.19]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id PAA27573 for ; Wed, 3 Feb 1999 15:22:05 -0500 Received: (from michal@localhost) by ellpspace.math.ualberta.ca (8.8.8/8.8.8) id KAA17184 for axp-list@redhat.com; Wed, 3 Feb 1999 10:27:49 -0700 From: Michal Jaegermann Message-Id: <199902031727.KAA17184@ellpspace.math.ualberta.ca> Subject: Re: SAINT on Alpha To: axp-list@redhat.com Date: Wed, 3 Feb 1999 10:27:49 -0700 (MST) In-Reply-To: <19990203100726.8083.qmail@hotmail.com> from "Designer 7" at Feb 3, 99 02:07:25 am Content-Type: text Designer 7 wrote: > > > I'm getting compile errors I don't understand at all... > > the error is along the line of: > xxx:no member named ip_hl in structure It is a bit field - by looking at ip.h header but __BYTE_ORDER has to be equal to one of two things before you will get it. This should come from some other headers. > the basic structure of the code is something like: In situations like that, when you are not sure what compiler is really getting, try to add '-E' to compilations flags you use, capture output and check it (collapsing all these blank lines by filtering it through something like "awk 'NF>0'" often helps in readability :-). Sometimes things are different than they look like at the first blush. The above assumes, of course, that your compiler was not wailing about redefinitions and the like - what you blissfully ignored. > #include ...... > I tried removing the struct in front of the ip... but that gave more > problems.. It would be extremely surprising if it did not. :-) Michal