Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Aaron M. Gowatch <aarong@wired.com>
Subject: Re: g77 (again)
Date: Fri, 9 Jan 1998 20:51:36 -0800 (PST)	[thread overview]
Message-ID: <fbc41d6f2fc66723f5d8451f20cf91e1.axp-list@archive.invalid> (raw)
In-Reply-To: <199801091954.MAA10108@ellpspace.math.ualberta.ca>

On Fri, 9 Jan 1998, Michal Jaegermann wrote:

> >  > /usr/include/resourcebits.h:37: `RLIMIT_FSIZE' undeclared here (not in a function)
> > 
> > 
> > I got these same errors after I patched the kernel with the alpha
> > patches.
> 
> 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. 

I guess the obvious question is, who should fix it for good?  Do such
modifcations belong in glibc or the Alpha kernel patches?

Aa.

______
You can't moonwalk in cleats.

-- 
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  4:51 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <199801091954.MAA10108@ellpspace.math.ualberta.ca>
1998-01-10  4:51 ` Aaron M. Gowatch [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] <Pine.BSI.3.96.980109203920.17231Y-100000@get.wired.com>
1998-01-10 17:29 ` Jay.Estabrook
     [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