* Re: resourcebits.h problem
1997-03-30 0:36 Steven Kokinos
@ 1997-03-29 16:31 ` Al Potter
1997-03-30 5:26 ` Michal Jaegermann
1 sibling, 0 replies; 6+ messages in thread
From: Al Potter @ 1997-03-29 16:31 UTC (permalink / raw)
-----BEGIN PGP SIGNED MESSAGE-----
Content-Type: text/plain; charset=us-ascii
> I have the file installed, and all of the appropriate stuff. Here is a
> snippet from the error I was receiving when trying to compile msql 2.0B5.
> I have seen the exact thing with a number of other packages when trying
> to compile. Thanks for any help.:
<kotter><arnold><Ooh!>
OK, finally one I've figured out!
> In file included from /usr/local/include/sys/resource.h:27,
> from msqld.c:54:
This is the first hint of trouble, so, look in msqld.c, on line 54 and you
should see #include <sys/resource.h> or something similar (working from
memory).
Before this line, insert #include <asm/resource.h.orig> and it should compile.
You may run into this in other files in the same "package" as well.
Hope this helps.....
</kotter></arnold></Ooh!>
<!-- If you don't get it, you don't get it..... -->
AL
- --
+--------------------------------------------------------------------------+
| Al Potter Senior Systems Analyst, SysAdmin |
| Science Applications International Corporation |
| |
| #include <std_disclaimer.h> apotter @ epix.net |
| #include <anti_spam.h> Remove the spaces to reply |
+--------------------------------------------------------------------------+
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3
Charset: noconv
iQCVAwUBMz3QYUaL+7tV5upJAQHSGAQAncfxoGg8XzCBq8yPF6A/uQE7hBu9MzFO
E2XrxAf8zS+YYz1qz7CqOulwIlfAdiiW1CSS5TFJuLZXaQ8oZ4o7moQf3lT41Evu
p9LiBpC8LuQTbZFPS1Ml7CEmvIjpwx7kBUghaun7FIr/vijoIKA/etzYOgeFefTz
VF5ZWaWT6zE=
=UW4T
-----END PGP SIGNATURE-----
--
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] 6+ messages in thread
* resourcebits.h problem
@ 1997-03-29 23:39 Steven Kokinos
0 siblings, 0 replies; 6+ messages in thread
From: Steven Kokinos @ 1997-03-29 23:39 UTC (permalink / raw)
Hi All,
I've been trying to compile a number of packages recently, and have been
continually running into problems with the file resourcebits.h. Does
anyone know if this is a similar problem to crypt being moved outside to
its own library, or is this unrelated. Any feedback on this would be
greatly appreciated.
-Steve K.
--
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] 6+ messages in thread
* Re: resourcebits.h problem
@ 1997-03-30 0:36 Steven Kokinos
1997-03-29 16:31 ` Al Potter
1997-03-30 5:26 ` Michal Jaegermann
0 siblings, 2 replies; 6+ messages in thread
From: Steven Kokinos @ 1997-03-30 0:36 UTC (permalink / raw)
>You should find the file 'resourcebits.h' in /usr/include.
>If it is not there I would suggest re-installing the glibc, & gcc rpm's.
I have the file installed, and all of the appropriate stuff. Here is a
snippet from the error I was receiving when trying to compile msql 2.0B5.
I have seen the exact thing with a number of other packages when trying
to compile. Thanks for any help.:
make[3]: Entering directory
`/home/root/msql-2.0-B5/targets/Linux-2.0.18-alpha/m
sql'
gcc -O -I../ -DHAVE_CONFIG_H -DHAVE_SSIZE_T -DHAVE_U_INT -DHAVE_BIT_TYPES
-DHAV
E_DIRENT_H -DHAVE_DIRENT -DHAVE_MMAP -DINST_DIR='"/usr/local/Hughes"'
-DTARGET
='"Linux-2.0.18-alpha"' -c msqld.c
In file included from /usr/local/include/sys/resource.h:27,
from msqld.c:54:
/usr/local/include/resourcebits.h:31: `RLIMIT_CPU' undeclared here (not
in a fun
ction)
/usr/local/include/resourcebits.h:31: enumerator value for `_RLIMIT_CPU'
not int
eger constant
/usr/local/include/resourcebits.h:37: `RLIMIT_FSIZE' undeclared here (not
in a f
unction)
/usr/local/include/resourcebits.h:37: enumerator value for
`_RLIMIT_FSIZE' not i
nteger constant
/usr/local/include/resourcebits.h:43: `RLIMIT_DATA' undeclared here (not
in a fu
nction)
/usr/local/include/resourcebits.h:43: enumerator value for `_RLIMIT_DATA'
not in
teger constant
/usr/local/include/resourcebits.h:49: `RLIMIT_STACK' undeclared here (not
in a f
unction)
It seems that although the file is there, it is having some sort of
problem. I checked it, and did a diff with the same file from the new
glibc distribution and it is ok.
-Steve
--
Steven Kokinos - Web Developers Network - http://www.webdevelop.com/
steve@webdevelop.com - 60 Day free trial for developers!
Industry leading development environment, multiple T1 network.
--
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] 6+ messages in thread
* Re: resourcebits.h problem
[not found] <Pine.LNX.3.95.970329183815.13937A-100000@vito.webdevelop.com>
@ 1997-03-30 0:58 ` Terry L. Ridder
1997-03-30 19:34 ` Richard Henderson
1 sibling, 0 replies; 6+ messages in thread
From: Terry L. Ridder @ 1997-03-30 0:58 UTC (permalink / raw)
On Sat, 29 Mar 1997, Steven Kokinos wrote:
> Hi All,
>
> I've been trying to compile a number of packages recently, and have been
> continually running into problems with the file resourcebits.h. Does
> anyone know if this is a similar problem to crypt being moved outside to
> its own library, or is this unrelated. Any feedback on this would be
> greatly appreciated.
>
> -Steve K.
>
You should find the file 'resourcebits.h' in /usr/include.
If it is not there I would suggest re-installing the glibc, & gcc rpm's.
Terry L. Ridder
Blue Danube Software (Blaue Donau Software)
"We do not write software, we compose it."
"And every hour of every day I'm learning more
the more I learn, the less I know about before
the less I know, the more I want to look around
digging deep for clues on higher ground."
==Higher Ground== UB40
--
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] 6+ messages in thread
* Re: resourcebits.h problem
1997-03-30 0:36 Steven Kokinos
1997-03-29 16:31 ` Al Potter
@ 1997-03-30 5:26 ` Michal Jaegermann
1 sibling, 0 replies; 6+ messages in thread
From: Michal Jaegermann @ 1997-03-30 5:26 UTC (permalink / raw)
>
> >You should find the file 'resourcebits.h' in /usr/include.
> >If it is not there I would suggest re-installing the glibc, & gcc rpm's.
>
> I have the file installed, and all of the appropriate stuff.
But as it is easy to notice kernel sources on alpha were/are
changing quite fast.
> In file included from /usr/local/include/sys/resource.h:27,
> from msqld.c:54:
> /usr/local/include/resourcebits.h:31: `RLIMIT_CPU' undeclared here (not
^^^^^^^^^^^^^^
It looks like this constant was not defined.
It is easy to search for a definition with a command like that:
$ find /usr/include -follow -type f | xargs grep RLIMIT_CPU
I am using kernel 2.0.29, but on my system this results in something
like that:
/usr/include/asm/resource.h:#define __KERNEL_RLIMIT_CPU 0 /* CPU time in ms */
/usr/include/asm/resource.h: {LONG_MAX, LONG_MAX}, /* RLIMIT_CPU */ \
/usr/include/linux/resource.h:# define RLIMIT_CPU __KERNEL_RLIMIT_CPU
/usr/include/resourcebits.h: _RLIMIT_CPU = RLIMIT_CPU,
/usr/include/resourcebits.h:#undef RLIMIT_CPU
/usr/include/resourcebits.h: RLIMIT_CPU = _RLIMIT_CPU,
/usr/include/resourcebits.h:#define RLIMIT_CPU RLIMIT_CPU
In 2.0.29 <resource.h> includes <asm/resource.h>, so RLIMIT_CPU will
be defined, but maybe this is not true in 2.0.18. If not then include
this missing header explicitely and likely this will solve the problem.
It is hard to check for me as I do not keep kernels 11 patchlevels back -
especially that in the meantime a number of problems on Alpha was detected
and fixed.
Michal
--
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] 6+ messages in thread
* Re: resourcebits.h problem
[not found] <Pine.LNX.3.95.970329183815.13937A-100000@vito.webdevelop.com>
1997-03-30 0:58 ` Terry L. Ridder
@ 1997-03-30 19:34 ` Richard Henderson
1 sibling, 0 replies; 6+ messages in thread
From: Richard Henderson @ 1997-03-30 19:34 UTC (permalink / raw)
> I've been trying to compile a number of packages recently, and have been
> continually running into problems with the file resourcebits.h.
You don't say exactly what problems you are having, but I suspect that
you built a new kernel without applying axp-diffs-2.0.21.
This is annoying but necessary with the snapshot of glibc used by RH4.1.
r~
--
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] 6+ messages in thread
end of thread, other threads:[~1997-03-30 19:34 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-03-29 23:39 resourcebits.h problem Steven Kokinos
-- strict thread matches above, loose matches on Subject: below --
1997-03-30 0:36 Steven Kokinos
1997-03-29 16:31 ` Al Potter
1997-03-30 5:26 ` Michal Jaegermann
[not found] <Pine.LNX.3.95.970329183815.13937A-100000@vito.webdevelop.com>
1997-03-30 0:58 ` Terry L. Ridder
1997-03-30 19:34 ` Richard Henderson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox