zsh-workers
 help / color / mirror / code / Atom feed
* Compile problem
@ 2000-02-05 13:27 Oliver Kiddle
  0 siblings, 0 replies; 2+ messages in thread
From: Oliver Kiddle @ 2000-02-05 13:27 UTC (permalink / raw)
  To: Zsh workers

I get the following problem when trying to compile on my Suse 6.1 PC (gcc = egcs 2.91.66).

gcc -c -I.  -DHAVE_CONFIG_H -DMODULE -O2 -m486 -I/usr/local/include -fpic -o compresult..o compresult.c
compresult.c: In function `calclist':
compresult.c:1169: size of array `mlens' is too large
make[3]: *** [compresult..o] Error 1

I was able to compile it by using #undef HAVE_VARIABLE_LENGTH_ARRAYS in config.h.

Oliver Kiddle


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

* Re: Compile problem
@ 2000-02-07  9:07 Sven Wischnowsky
  0 siblings, 0 replies; 2+ messages in thread
From: Sven Wischnowsky @ 2000-02-07  9:07 UTC (permalink / raw)
  To: zsh-workers


Oliver Kiddle wrote:

> I get the following problem when trying to compile on my Suse 6.1 PC (gcc = egcs 2.91.66).
> 
> gcc -c -I.  -DHAVE_CONFIG_H -DMODULE -O2 -m486 -I/usr/local/include -fpic -o compresult..o compresult.c
> compresult.c: In function `calclist':
> compresult.c:1169: size of array `mlens' is too large
> make[3]: *** [compresult..o] Error 1
> 
> I was able to compile it by using #undef HAVE_VARIABLE_LENGTH_ARRAYS in config.h.

I had the same problem after installing RedHat 6.1 last week but
forcing a re-configuration (even calling autoconf and autoheader by
hand) solved that for me. This is with gcc-2.95.2, btw.

Bye
 Sven


--
Sven Wischnowsky                         wischnow@informatik.hu-berlin.de


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

end of thread, other threads:[~2000-02-07 12:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-02-05 13:27 Compile problem Oliver Kiddle
2000-02-07  9:07 Sven Wischnowsky

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