Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: compiling mpg123
@ 1997-12-08 18:47 Aaron M. Gowatch
  0 siblings, 0 replies; 5+ messages in thread
From: Aaron M. Gowatch @ 1997-12-08 18:47 UTC (permalink / raw)


Your message dated: Mon, 08 Dec 1997 09:18:46 PST
> I still get errors when trying to compile.  How do I get rid of these
> RLIMIT complaints?
> 
> [disco] /usr/local/src/mpg123-0.59k: make linux-alpha
> make CC=gcc LDFLAGS= \
>         OBJECTS='decode_i386.o dct64_i386.o' \
>         CFLAGS='-DREAL_IS_FLOAT -DLINUX -Wall -O2 \
>                 -funroll-all-loops \
>                 -finline-functions -ffast-math' \
>         mpg123
> make[1]: Entering directory `/usr/local/src/mpg123-0.59k'
> gcc -DREAL_IS_FLOAT -DLINUX -Wall -O2           -funroll-all-loops
>  -finline-functions -ffast-math   -c mpg123.c -o mpg123.o
> In file included from /usr/include/sys/resource.h:27,
>                  from mpg123.c:13:
> /usr/include/resourcebits.h:31: `RLIMIT_CPU' undeclared here (not in a
> function)
> /usr/include/resourcebits.h:31: enumerator value for `_RLIMIT_CPU' not
> integer constant
> /usr/include/resourcebits.h:37: `RLIMIT_FSIZE' undeclared here (not in
> a function)
> /usr/include/resourcebits.h:37: enumerator value for `_RLIMIT_FSIZE'
> not integer constant
> /usr/include/resourcebits.h:43: `RLIMIT_DATA' undeclared here (not in
> a function)
> /usr/include/resourcebits.h:43: enumerator value for `_RLIMIT_DATA'
> not integer 

On my machine, which runs 2.0.32 with the latest axp-diffs from Jay Eastbrook,
<asm/resource.h> no longer defines RLIMIT_CPU, RLIMIT_FSIZE, etc. as it does
under i386.  Instead, it defines __KERNEL_RLIMIT_CPU, __KERNEL_RLIMIT_FSIZE,
etc.  It seemed logical to modify <resourcebits.h> to use the __KERNEL
definitions instead.  This may or may not be the right thing to do, but I havent had any
problems since.

You can find my modified glibc-2.0.5c <resourcebits.h> at
ftp://ftp.linuxdot.com/pub/patches/glibc/glibc-2.0.5c-resource.h

Aa.

-- 
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

^ permalink raw reply	[flat|nested] 5+ messages in thread
[parent not found: <Pine.LNX.3.96.971208120120.4831A-100000@wopr.campus.luth.se>]
[parent not found: <348BE380.102A@warped.xs4all.nl>]
* compiling mpg123
@ 1997-12-08  2:01 Murray Stokely
  0 siblings, 0 replies; 5+ messages in thread
From: Murray Stokely @ 1997-12-08  2:01 UTC (permalink / raw)


Has anyone successfully compiled mpg123 under Red Hat 5.0 for Alpha?

Murray Stokely

-- 
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1997-12-08 18:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <Pine.BSF.3.96.971207180115.22994C-100000@pooh.cdrom.com>
1997-12-08 11:02 ` compiling mpg123 Andreas Johansson
1997-12-08 18:47 Aaron M. Gowatch
     [not found] <Pine.LNX.3.96.971208120120.4831A-100000@wopr.campus.luth.se>
1997-12-08 17:18 ` Murray Stokely
     [not found] <348BE380.102A@warped.xs4all.nl>
1997-12-08 12:13 ` Andreas Johansson
  -- strict thread matches above, loose matches on Subject: below --
1997-12-08  2:01 Murray Stokely

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