Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "Designer 7" <designer_7@hotmail.com>
To: axp-list@redhat.com
Subject: SAINT on Alpha
Date: Wed, 03 Feb 1999 02:07:25 PST	[thread overview]
Message-ID: <19990203100726.8083.qmail@hotmail.com> (raw)

Has anyone gotten SAINT to compile on Alpha?

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

the basic structure of the code is something like:

#include <netinet/ip.h>

function(sock)
{
	int hdrlen;
	struct ip* ip;

stuff...


	hdrlen = ip->ip_hl << 2;	<<<<--- this is line xxx above


stuff...
}


I tried removing the struct in front of the ip... but that gave more 
problems.. and odd one too.. something about unreachable code...

I also tried using a different variable name instead of ip... thinking 
it was confusing the compiler.. but exact same error... as above...

I looked in <netinet/ip.h> and I know ip_hl is there.... I just don't 
know why the compiler complains that there is no such member...

Any suggestions..??? 

TIA,
D.

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com


             reply	other threads:[~1999-02-03 10:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-02-03 10:07 Designer 7 [this message]
1999-02-03 17:27 ` SAINT on Alpha Michal Jaegermann
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox