Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Rui-Tao Dong ~{6-HpLN~} <rdong@internetMCI.com>
To: "B. James Phillippe" <bryan@terran.org>
Cc: Linux GNU libc list <glibc-linux@ricardo.ecn.wfu.edu>,
	RedHat AXP list <axp-list@redhat.com>
Subject: Re: Mistakes in glibc-2.0.7 includes
Date: 17 Sep 1998 04:58:34 +0000	[thread overview]
Message-ID: <v5r9xbz66d.fsf@Alpha.dfc.com> (raw)
In-Reply-To: "B. James Phillippe"'s message of "Wed, 16 Sep 1998 00:14:28 -0700 (PDT)"


>>>>> "b" == B James Phillippe <bryan@terran.org> writes:

 b> Hello,
 b> 	I posted this information quite a while back but never got any
 b> response.  I'd like to know what other folks think about this, if anyone
 b> can please comment.

 b> The problem is that some files in the glibc includes specify fixed-size
 b> variables (u_int32_t, u_int16_t, etc) in places where natural-size
 b> variables are required.  In particular, <netinet/ip_fw.h> specifies struct
 b> ip_fw as such:

 b> struct ip_fw {
 b>   ...
 b>   u_int16_t fw_nsp, fw_ndp;    /* N'of src ports and # of dst ports */
 b>   ...
 b>   u_int32_t fw_pcnt, fw_bcnt;    /* Packet and byte counters */
 b>   ...
 b> };

But how do I fix this (at least temporarily)?  I changed the include
file and recompiled ipfwadm.  There is not error running it, but
ipmasquerade still doesn't work.  Do I need to recompile the kernel
(2.0.35?) with these includes?  I tried with an older kernel (2.0.30)
with which ipmasquerade is known to work.  Still no luck. Or do I need
to recompile glibc?  I'm still using glibc from the original RH 5.1.
I'm running my UDB headless.  Does anyone know how to update lib rpms
remotely?  I used to know how to do update live libraries before rpms
made Linux so boring.

Regards,

Rui-Tao Dong ~{6-HpLN~}	<rdong@internetMCI.com>, Mission Viejo, California

PS. I have been using Linux since 0.99pl14 (i386 not axp).


  reply	other threads:[~1998-09-17  4:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-09-16  7:14 Mistakes in glibc-2.0.7 includes B. James Phillippe
1998-09-17  4:58 ` Rui-Tao Dong ~{6-HpLN~} [this message]
     [not found] <Pine.LNX.3.96.980916221836.29860A-100000@earth.terran.org>
1998-09-24  5:27 ` Rui-Tao Dong ~{6-HpLN~}
1998-10-16  3:24 ` Rui-Tao Dong ~{6-HpLN~}
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