namazu-dev(ring)


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

Re: setenv.c



Hideyuki SHIRAI (白井秀行) <shirai@xxxxxxxxxxxxxxxxxxx> wrote:

>おそらくこれが要因だと思うのですが、Solaris 2.4 for SPARC で
>make error になるようになりました。
(snip)

Solaris 2.5.1 for SPARC でも駄目でした。

  gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -Wall -pedantic -c setenv.c
  setenv.c: In function `__add_to_environ':
  setenv.c:172: `__compar_fn_t' undeclared (first use this function)
  setenv.c:172: (Each undeclared identifier is reported only once
  setenv.c:172: for each function it appears in.)
  setenv.c:172: parse error before `strcmp'
  setenv.c:172: warning: ANSI C forbids braced-groups within expressions
  setenv.c:194: parse error before `strcmp'
  setenv.c:226: parse error before `strcmp'
  setenv.c:226: warning: ANSI C forbids braced-groups within expressions
  setenv.c:245: parse error before `strcmp'
  make[2]: *** [setenv.o] Error 1
  make[2]: Leaving directory `/raid/home/satoru-t/cvs/namazu/lib'
  make[1]: *** [all-recursive] Error 1
  make[1]: Leaving directory `/raid/home/satoru-t/cvs/namazu'
  make: *** [all-recursive-am] Error 2

-- Satoru Takabayashi