zsh-workers
 help / color / mirror / code / Atom feed
* zsh: there are some unknown limits.  Fix me!
@ 1999-08-11  6:55 Joerg Koenig
  1999-08-11 16:08 ` Bart Schaefer
  0 siblings, 1 reply; 2+ messages in thread
From: Joerg Koenig @ 1999-08-11  6:55 UTC (permalink / raw)
  To: zsh-workers

[-- 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  */

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

* Re: zsh: there are some unknown limits.  Fix me!
  1999-08-11  6:55 zsh: there are some unknown limits. Fix me! Joerg Koenig
@ 1999-08-11 16:08 ` Bart Schaefer
  0 siblings, 0 replies; 2+ messages in thread
From: Bart Schaefer @ 1999-08-11 16:08 UTC (permalink / raw)
  To: Joerg Koenig, zsh-workers

On Aug 11,  8:55am, Joerg Koenig wrote:
} Subject: zsh: there are some unknown limits.  Fix me!
}
} I want to compile zsh-3.0.0, but I get the following error

The first thing to try is compiling zsh-3.0.6, which is the most recent
release.  Go to http://www.zsh.org/ for a list of FTP sites from which
you can pick it up.

If that still gets it wrong, let us know.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com


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

end of thread, other threads:[~1999-08-11 16:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-08-11  6:55 zsh: there are some unknown limits. Fix me! Joerg Koenig
1999-08-11 16:08 ` Bart Schaefer

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