From: Joerg Koenig <Joerg.Christian.Koenig@informatik.tu-muenchen.de>
To: zsh-workers@math.gatech.edu
Subject: zsh: there are some unknown limits. Fix me!
Date: Wed, 11 Aug 1999 08:55:50 +0200 (MEST) [thread overview]
Message-ID: <XFMail.990811085550.Joerg.Christian.Koenig@in.tum.de> (raw)
[-- Attachment #1: Type: text/plain, Size: 1924 bytes --]
Hello,
I want to compile zsh-3.0.0, but I get the following error during
compilation:
------------------------------------------------------------------------
viviane:/opt/src/zsh-3.0.0 # make
cd Src && make CC='gcc' CPPFLAGS='' DEFS='-DHAVE_CONFIG_H' CFLAGS='-Wall
-Wno-implicit -Wmissing-prototypes -O2' LDFLAGS='' LIBS='-ltermcap'
prefix='/usr' exec_prefix='/usr' bindir='/usr/bin' infodir='/usr/info'
mandir='/usr/man' manext='1'
make[1]: Entering directory `/opt/src/zsh-3.0.0/Src'
gcc -c -I.. -I. -I. -DHAVE_CONFIG_H -Wall -Wno-implicit
-Wmissing-prototypes -O2 builtin.c
builtin.c:3639: #error there are some unknown limits. Fix me!
make[1]: *** [builtin.o] Error 1
make[1]: Leaving directory `/opt/src/zsh-3.0.0/Src'
make: *** [Src] Error 2
[3]+ Done xless /usr/include/sys/resource.h
viviane:/opt/src/zsh-3.0.0 #
------------------------------------------------------------------------
Then I read the README file!! ;-)
OK ! Here is my /usr/include/sys/resource.h (Attachment)
My maschine: Pentium MMX 200
OS : RedHat Linux 6.0 (Kernel 2.2.5)
I hope you can help me!!
----------------------------------------------------------------------
Joerg Christian Koenig /dev-Software GmbH
TU-Munich, Germany Gabelsberger Str. 51
eM@il: KoenigJ@in.tum.de D-80333 Munich
Tel. : (089) 52 29 04 Germany
http://www.in.tum.de/~koenigj/ Tel: +49 89/28 65 98 43
Fax: +49 89/28 65 98 45
eM@il: jck@devsoft.com
http://www.devsoft.com
----------------------------------------------------------------------
Running Windows on a Pentium is like having a brand new Porsche but only
be able to drive backwards with the handbrake on.
(Unknown source)
[-- Attachment #2: resource.h --]
[-- Type: application/octet-stream, Size: 3185 bytes --]
/* Copyright (C) 1992, 1994, 1996, 1997, 1998 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public License as
published by the Free Software Foundation; either version 2 of the
License, or (at your option) any later version.
The GNU C Library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public
License along with the GNU C Library; see the file COPYING.LIB. If not,
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
#ifndef _SYS_RESOURCE_H
#define _SYS_RESOURCE_H 1
#include <features.h>
/* Get the system-dependent definitions of structures and bit values. */
#include <bits/resource.h>
__BEGIN_DECLS
/* Put the soft and hard limits for RESOURCE in *RLIMITS.
Returns 0 if successful, -1 if not (and sets errno). */
#ifndef __USE_FILE_OFFSET64
extern int getrlimit __P ((enum __rlimit_resource __resource,
struct rlimit *__rlimits));
#else
# ifdef __REDIRECT
extern int __REDIRECT (getrlimit, __P ((enum __rlimit_resource __resource,
struct rlimit *__rlimits)),
getrlimit64);
# else
# define getrlimit getrlimit64
# endif
#endif
#ifdef __USE_LARGEFILE64
extern int getrlimit64 __P ((enum __rlimit_resource __resource,
struct rlimit64 *__rlimits));
#endif
/* Set the soft and hard limits for RESOURCE to *RLIMITS.
Only the super-user can increase hard limits.
Return 0 if successful, -1 if not (and sets errno). */
#ifndef __USE_FILE_OFFSET64
extern int setrlimit __P ((enum __rlimit_resource __resource,
__const struct rlimit *__rlimits));
#else
# ifdef __REDIRECT
extern int __REDIRECT (setrlimit, __P ((enum __rlimit_resource __resource,
__const struct rlimit *__rlimits)),
setrlimit64);
# else
# define setrlimit setrlimit64
# endif
#endif
#ifdef __USE_LARGEFILE64
extern int setrlimit64 __P ((enum __rlimit_resource __resource,
__const struct rlimit64 *__rlimits));
#endif
/* Return resource usage information on process indicated by WHO
and put it in *USAGE. Returns 0 for success, -1 for failure. */
extern int getrusage __P ((enum __rusage_who __who, struct rusage *__usage));
/* Return the highest priority of any process specified by WHICH and WHO
(see above); if WHO is zero, the current process, process group, or user
(as specified by WHO) is used. A lower priority number means higher
priority. Priorities range from PRIO_MIN to PRIO_MAX (above). */
extern int getpriority __P ((enum __priority_which __which, int __who));
/* Set the priority of all processes specified by WHICH and WHO (see above)
to PRIO. Returns 0 on success, -1 on errors. */
extern int setpriority __P ((enum __priority_which __which, int __who,
int __prio));
__END_DECLS
#endif /* sys/resource.h */
next reply other threads:[~1999-08-11 6:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-08-11 6:55 Joerg Koenig [this message]
1999-08-11 16:08 ` Bart Schaefer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=XFMail.990811085550.Joerg.Christian.Koenig@in.tum.de \
--to=joerg.christian.koenig@informatik.tu-muenchen.de \
--cc=Joerg.Christian.Koenig@in.tum.de \
--cc=zsh-workers@math.gatech.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).