zsh-workers
 help / color / mirror / code / Atom feed
From: "Bart Schaefer" <schaefer@candle.brasslantern.com>
To: Vin Shelton <shelton@icd.teradyne.com>, zsh-workers@sunsite.dk
Subject: Re: Make Failure on SunOS-4.1
Date: Wed, 25 Apr 2001 04:13:07 +0000	[thread overview]
Message-ID: <1010425041307.ZM10317@candle.brasslantern.com> (raw)
In-Reply-To: <54566fu13tt.fsf@icd.teradyne.com>

On Apr 24,  3:43pm, Vin Shelton wrote:
}
} Using the latest CVS sources, I can build fine against SunOS-5.5, but
} building under 4.1 gives me the following errors:

First, just to cover all the bases:  Did you remove config.cache and re-run
Util/preconfig before running configure?

} gcc -c -I.  -DHAVE_CONFIG_H -Wall -Wno-implicit -Wmissing-prototypes -O2  -o termcap.o /u/shelton/new/src/zsh-2001-04-24/Src/Modules/termcap.c
} In file included from /usr/include/sgtty.h:6,
}                  from /u/shelton/new/SunOS-4.1/gcc-2.95.3-test5/lib/gcc-lib/sparc-sun-sunos4.1.4/2.95.3/include/curses.h:20,
}                  from /u/shelton/new/src/zsh-2001-04-24/Src/Modules/termcap.c:51:
} /usr/include/sys/ioctl.h:23: warning: `ECHO' redefined
} /u/shelton/new/SunOS-4.1/gcc-2.95.3-test5/lib/gcc-lib/sparc-sun-sunos4.1.4/2.95.3/include/termios.h:169: warning: this is the location of the previous definition

If you did the configure cleanly and still are getting those errors, try
replacing

# if defined(HAVE_CURSES_H) && defined(HAVE_TERM_H)
#  ifdef HAVE_TERMIO_H
#   include <termio.h>
#  endif

with

# if defined(HAVE_CURSES_H) && defined(HAVE_TERM_H)
#  ifdef VINTR
#   undef VINTR
#  endif
#  ifdef offsetof
#   undef offsetof
#  endif

in Src/Modules/termcap.c.  However, this part worries me:

} /u/shelton/new/src/zsh-2001-04-24/Src/Modules/termcap.c: In function `bin_echotc':
} /u/shelton/new/src/zsh-2001-04-24/Src/Modules/termcap.c:100: warning: assignment makes pointer from integer without a cast

That's tgetstr(), which should have been declared somewhere.  I suspect
perhaps that the `defined(HAVE_CURSES_H) && defined(HAVE_TERM_H)' test
is inadequate.

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


  reply	other threads:[~2001-04-25  4:14 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-24 19:43 Vin Shelton
2001-04-25  4:13 ` Bart Schaefer [this message]
2001-04-25  9:55   ` Peter Stephenson
2001-04-25 14:41     ` Bart Schaefer
2001-04-25 14:57       ` Clint Adams
2001-04-25 14:29   ` Vin Shelton
2001-04-25 14:58     ` Bart Schaefer
2001-04-25 18:03       ` Vin Shelton
2001-04-26  4:27         ` Bart Schaefer
2001-04-26  4:35           ` Make Failure on SunOS-4.1 (correction) Bart Schaefer
2001-04-26 12:50             ` Vin Shelton
2001-04-26 13:06               ` Or on ReliantUNIX ... " Andrej Borsenkow
2001-04-26 13:15                 ` Clint Adams
2001-04-26 13:25                   ` Andrej Borsenkow
2001-04-26 13:30                     ` Clint Adams
2001-04-26 14:02                       ` Andrej Borsenkow
2001-04-26 14:20                         ` Clint Adams
2001-04-26 14:35                 ` Bart Schaefer
2001-04-26 14:52                   ` Andrej Borsenkow
2001-04-26 14:58                     ` Clint Adams
2001-04-26 15:32                       ` Bart Schaefer
2001-04-26 15:52                         ` Clint Adams

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=1010425041307.ZM10317@candle.brasslantern.com \
    --to=schaefer@candle.brasslantern.com \
    --cc=shelton@icd.teradyne.com \
    --cc=zsh-workers@sunsite.dk \
    /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).