zsh-users
 help / color / mirror / code / Atom feed
* Re: Compile error on Solaris 8
  2002-10-24  0:41 Compile error on Solaris 8 alnesbit
@ 2002-10-23 16:34 ` Bart Schaefer
  2002-10-24  6:52   ` Andrew Nesbit
  2002-10-27  6:00   ` Andrew Nesbit
  0 siblings, 2 replies; 4+ messages in thread
From: Bart Schaefer @ 2002-10-23 16:34 UTC (permalink / raw)
  To: alnesbit, zsh-users

On Oct 24, 10:41am, alnesbit@optushome.com.au wrote:
} Subject: Compile error on Solaris 8
}
} params.epro:45: previous declaration of `hashchar'

What does that line of params.epro look like?

The .epro files are automatically generated, so the most likely problem
is with the awk script that generates those files (or the way your awk
interprets the script).

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

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   


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

* Compile error on Solaris 8
@ 2002-10-24  0:41 alnesbit
  2002-10-23 16:34 ` Bart Schaefer
  0 siblings, 1 reply; 4+ messages in thread
From: alnesbit @ 2002-10-24  0:41 UTC (permalink / raw)
  To: zsh-users

Hi, I'm trying to compile zsh 4.0.6 on Solaris8/Sparc.  I simply unpacked
the tarball, did ./configure and then make.  I get the following compile
errors:

[snip]

gcc -c -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H
-Wall -Wmissing-prototypes -O2  -o params.o params.c
params.c:97: conflicting types for `hashchar'
params.epro:45: previous declaration of `hashchar'
make[1]: *** [params.o] Error 1
make[1]: Leaving directory `/tmp/zsh-4.0.6/Src'
make: *** [modobjs] Error 2

gcc version is 3.2.

Any help appreciated.  Thankyou.

Andrew.



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

* Re: Compile error on Solaris 8
  2002-10-23 16:34 ` Bart Schaefer
@ 2002-10-24  6:52   ` Andrew Nesbit
  2002-10-27  6:00   ` Andrew Nesbit
  1 sibling, 0 replies; 4+ messages in thread
From: Andrew Nesbit @ 2002-10-24  6:52 UTC (permalink / raw)
  To: Bart Schaefer; +Cc: zsh-users

On Thursday, October 24, 2002, at 02:34 AM, Bart Schaefer wrote:

> On Oct 24, 10:41am, alnesbit@optushome.com.au wrote:
> } Subject: Compile error on Solaris 8
> }
> } params.epro:45: previous declaration of `hashchar'
>
> What does that line of params.epro look like?

params.c has this:

unsigned char hatchar, hashchar;

but params.epro has this:

extern unsigned hashchar;

> The .epro files are automatically generated, so the most likely problem
> is with the awk script that generates those files (or the way your awk
> interprets the script).

AWK is defined in the Makefile as gawk.

$ gawk -V
Gnu Awk (gawk) 2.11, patchlevel 1

[BTW, it also fails on our Solaris 7 machines, which have the same gawk 
version.]

Thanks.

Andrew.


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

* Re: Compile error on Solaris 8
  2002-10-23 16:34 ` Bart Schaefer
  2002-10-24  6:52   ` Andrew Nesbit
@ 2002-10-27  6:00   ` Andrew Nesbit
  1 sibling, 0 replies; 4+ messages in thread
From: Andrew Nesbit @ 2002-10-27  6:00 UTC (permalink / raw)
  To: zsh-users

> The .epro files are automatically generated, so the most likely problem
> is with the awk script that generates those files (or the way your awk
> interprets the script).

I've now fixed the problem; just thought I'd let the list know, in case 
anyone else has similar problems. The problem was the old gawk (2.11, 
patchlevel 1). It compiles fine against gawk 3.1.1.

Andrew.


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

end of thread, other threads:[~2002-10-27  6:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-24  0:41 Compile error on Solaris 8 alnesbit
2002-10-23 16:34 ` Bart Schaefer
2002-10-24  6:52   ` Andrew Nesbit
2002-10-27  6:00   ` Andrew Nesbit

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