bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

build fails on sv1-cray-unicos


From: Ted Stern
Subject: build fails on sv1-cray-unicos
Date: Wed, 25 Sep 2002 12:21:37 -0700
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (sparc-sun-solaris2.8)

stern@ice:0 14:20 bash-2.05b> make

          ***********************************************************
          *                                                         *
          * GNU bash, version 2.05b.0(1)-release (sv1-cray-unicos10.0.X)
          *                                                         *
          ***********************************************************

making lib/sh/libsh.a in ./lib/sh
make[1]: Entering directory `/ptmp/stern/bash-2.05b/lib/sh'
cc -c  -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHE
LL  -g   getenv.c
CC-147 cc: ERROR File = getenv.c, Line = 157
  Declaration is incompatible with "int setenv(char *, char *, int)" (declared
          at line 136 of "/usr/include/stdlib.h").

  setenv (name, value, rewrite)
  ^

CC-513 cc: WARNING File = getenv.c, Line = 172
  A value of type "const char *" cannot be assigned to an entity of type "char *
"
          .

    v = value;
      ^

CC-147 cc: ERROR File = getenv.c, Line = 211
  Declaration is incompatible with "void unsetenv(char *)" (declared at line 137
          of "/usr/include/stdlib.h").

  unsetenv (name)
  ^

Total warnings detected in getenv.c: 1
Total errors detected in getenv.c: 2
make[1]: *** [getenv.o] Error 1
make[1]: Leaving directory `/ptmp/stern/bash-2.05b/lib/sh'
make: *** [lib/sh/libsh.a] Error 1

-- 
 Ted Stern                           Engineering Applications
 Cray Inc.                                http://www.cray.com
 411 First Avenue South, Suite 600               206-701-2182
 Seattle, WA 98104-2860                     FAX: 206-701-2500
 Debuggers' motto:  Frango ut patefaciam -- I break in order to reveal




reply via email to

[Prev in Thread] Current Thread [Next in Thread]