Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Jay.Estabrook@digital.com <Jay.Estabrook@digital.com>
Subject: Re: g77 (again)
Date: Sat, 10 Jan 1998 12:29:34 -0500	[thread overview]
Message-ID: <b248c57c9c08081c08be6ee582991d12.axp-list@archive.invalid> (raw)
In-Reply-To: <Pine.BSI.3.96.980109203920.17231Y-100000@get.wired.com>

>>> "Aaron M. Gowatch " said:
> On Fri, 9 Jan 1998, Michal Jaegermann wrote:
> 
> > >  > /usr/include/resourcebits.h:37: `RLIMIT_FSIZE' undeclared here (not 
> in a function)
> > 
> > Constants are still there but hidden behind some define (in
> > <resourcebits.h>, IIRC).  Provide your own header which will expose
> > these constants and the problem will vanish.
> 
> I posted a message about this a few weeks ago, and I'd certainly like to
> see it fixed.  These are defined in <resourcebits.h> using constants it
> expects to find in <asm/resource.h>, RLIMIT_CPU, RLIMIT_FSIZE, etc. 
> However, when using Alpha patched kernel sources, these constants are no
> longer defined in <asm/resource.h>.  Instead it defines
> __KERNEL_RLIMIT_CPU, __KERNEL_RLIMIT_FSIZE, etc.  As a result, anything
> that uses <sys/resource.h> will fail.  I modified <resourcebits.h> to be
> compatible with the new namespace and I havent had any problems since. 

Yes, you did, and I think I posted a message about this as well, indicating
it is NOT A GOOD THING to replace the stock RH kernels sources in the
/usr/src/linux directory with other sources that have been alpha-patched.

Red Hat is *very* careful to (try to) make the headers consistent between
Alpha and INTEL versions, so that packages will compile on both.

The alpha-patches-2.0.30-whatever DO NOT try to maintain this consistency,
leading to the problems mentioned above.

Again I'll say, PLEASE do not replace /usr/src/linux with alpha-patched
sources! Build your custom kernels either from the RH versions there, or
move to someplace like /usr/local/src to unpack, alpha-patch, and build
your custom configured kernels.

--Jay++

-------------------------------------------------------------------------------
  American Non Sequitur Society: we don't make sense, but we do like pizza...

Jay A Estabrook                         Alpha Migration Tools - LINUX Project
Digital Equipment Corp.                 (978) 506-4202 or (DTN) 226-4202
151 Taylor Street - TAY1-2              enet: Jay.Estabrook@digital.com
Littleton, MA 01460-1407
-------------------------------------------------------------------------------

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

       reply	other threads:[~1998-01-10 17:29 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.BSI.3.96.980109203920.17231Y-100000@get.wired.com>
1998-01-10 17:29 ` Jay.Estabrook [this message]
     [not found] <34B7D2E6.2A69286F@aslab.com>
1998-01-12  0:51 ` g77 (again) Heiner Kruener
1998-01-10 19:58 Jeff Nguyen
     [not found] <199801091954.MAA10108@ellpspace.math.ualberta.ca>
1998-01-10  4:51 ` Aaron M. Gowatch
     [not found] <199801091937.OAA01128@harrison.blueskyprod.com>
1998-01-09 19:54 ` Michal Jaegermann
     [not found] <9801091806.AA54586@acs5.acs.ucalgary.ca>
1998-01-09 19:51 ` Michal Jaegermann
1998-01-09 20:19   ` Brian Lund
1998-01-14 21:51   ` Adrian Feiguin
     [not found] <Pine.LNX.3.96.980109105826.229B-100000@ifir.ifir.edu.ar>
1998-01-09 18:06 ` Stephen Wolff
1998-01-09 19:37 ` Dan Weeks
  -- strict thread matches above, loose matches on Subject: below --
1998-01-09 17:04 Adrian Feiguin
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