zsh-workers
 help / color / mirror / code / Atom feed
* 3.0.1-test on cray
@ 1996-09-04 16:18 gene
  1996-09-04 17:04 ` Zefram
  1996-09-04 17:27 ` Zoltan Hidvegi
  0 siblings, 2 replies; 3+ messages in thread
From: gene @ 1996-09-04 16:18 UTC (permalink / raw)
  To: zsh-workers

FYI:

  zsh v3.0.1-test failed to compile on cray-c90 under Unicos 9.0.
  

=================== Error.log

cmd-2429 make: No suffix list.
FORCE: No action was taken.
        cd Src && make CC='cc' CPPFLAGS='' DEFS='-DHAVE_CONFIG_H'  CFLAGS='-Gn' 
LDFLAGS='' LIBS='-ldir -ltermcap'  prefix='/usr/local' exec_prefix='/usr/local' 
bindir='/usr/local/bin'  infodir='/usr/local/info' mandir='/usr/local/man' manex
t='1'
        cc -c -I.. -I. -I.  -DHAVE_CONFIG_H -Gn builtin.c
        cc -c -I.. -I. -I.  -DHAVE_CONFIG_H -Gn compat.c
        cc -c -I.. -I. -I.  -DHAVE_CONFIG_H -Gn cond.c
        cc -c -I.. -I. -I.  -DHAVE_CONFIG_H -Gn exec.c
        cc -c -I.. -I. -I.  -DHAVE_CONFIG_H -Gn glob.c
        cc -c -I.. -I. -I.  -DHAVE_CONFIG_H -Gn hashtable.c
        cc -c -I.. -I. -I.  -DHAVE_CONFIG_H -Gn hist.c
        cc -c -I.. -I. -I.  -DHAVE_CONFIG_H -Gn init.c
        cc -c -I.. -I. -I.  -DHAVE_CONFIG_H -Gn input.c
        cc -c -I.. -I. -I.  -DHAVE_CONFIG_H -Gn jobs.c
        cc -c -I.. -I. -I.  -DHAVE_CONFIG_H -Gn lex.c
        cc -c -I.. -I. -I.  -DHAVE_CONFIG_H -Gn linklist.c
        cc -c -I.. -I. -I.  -DHAVE_CONFIG_H -Gn loop.c
        cc -c -I.. -I. -I.  -DHAVE_CONFIG_H -Gn math.c
        cc -c -I.. -I. -I.  -DHAVE_CONFIG_H -Gn mem.c
        cc -c -I.. -I. -I.  -DHAVE_CONFIG_H -Gn params.c
        cc -c -I.. -I. -I.  -DHAVE_CONFIG_H -Gn parse.c
        cc -c -I.. -I. -I.  -DHAVE_CONFIG_H -Gn signals.c
        cc -c -I.. -I. -I.  -DHAVE_CONFIG_H -Gn subst.c
        cc -c -I.. -I. -I.  -DHAVE_CONFIG_H -Gn text.c
        cc -c -I.. -I. -I.  -DHAVE_CONFIG_H -Gn utils.c
        cc -c -I.. -I. -I.  -DHAVE_CONFIG_H -Gn watch.c
        cc -c -I.. -I. -I.  -DHAVE_CONFIG_H -Gn zle_bindings.c
        cc -c -I.. -I. -I.  -DHAVE_CONFIG_H -Gn zle_hist.c
        cc -c -I.. -I. -I.  -DHAVE_CONFIG_H -Gn zle_main.c
        cc -c -I.. -I. -I.  -DHAVE_CONFIG_H -Gn zle_misc.c
        cc -c -I.. -I. -I.  -DHAVE_CONFIG_H -Gn zle_move.c
        cc -c -I.. -I. -I.  -DHAVE_CONFIG_H -Gn zle_refresh.c
        cc -c -I.. -I. -I.  -DHAVE_CONFIG_H -Gn zle_tricky.c
        cc -c -I.. -I. -I.  -DHAVE_CONFIG_H -Gn zle_utils.c
        cc -c -I.. -I. -I.  -DHAVE_CONFIG_H -Gn zle_vi.c
        cc -c -I.. -I. -I.  -DHAVE_CONFIG_H -Gn zle_word.c
        cc  -o zsh builtin.o compat.o cond.o exec.o glob.o hashtable.o  hist.o init.o input.o jobs.o lex.o linklist.o loop.o  math.o mem.o params.o parse.o sign
als.o subst.o text.o  utils.o watch.o zle_bindings.o zle_hist.o zle_main.o  zle_
misc.o zle_move.o zle_refresh.o zle_tricky.o zle_utils.o  zle_vi.o zle_word.o -l
dir -ltermcap
 ldr-334 cc: CAUTION 
     File 'libdir.a' cannot be found in any of the search directories.
 ldr-133 cc: WARNING 
     Unsatisfied external references have been encountered.

 Unsatisfied external references
 Entry name      Modules referencing entry 

 nis_list        zle_tricky$c

 ldr-112 cc: WARNING 
     Because of previous errors, file 'zsh' is not executable.
Make: "cc  -o zsh builtin.o compat.o cond.o exec.o glob.o hashtable.o  hist.o in
it.o input.o jobs.o lex.o linklist.o loop.o  math.o mem.o params.o parse.o signa
ls.o subst.o text.o  utils.o watch.o zle_bindings.o zle_hist.o zle_main.o  zle_m
isc.o zle_move.o zle_refresh.o zle_tricky.o zle_utils.o  zle_vi.o zle_word.o -ld
ir -ltermcap": Error code 1
cmd-2436 make: Stop.
Make: "cd Src && make CC='cc' CPPFLAGS='' DEFS='-DHAVE_CONFIG_H'  CFLAGS='-Gn' L
DFLAGS='' LIBS='-ldir -ltermcap'  prefix='/usr/local' exec_prefix='/usr/local' b
indir='/usr/local/bin'  infodir='/usr/local/info' mandir='/usr/local/man' manext
='1'": Error code 1
cmd-2436 make: Stop.

ANd
========================== config.log
TOTAL ERRORS DETECTED IN conftest.c: 1
configure:1724: cc -E  conftest.c >/dev/null 2>conftest.out
configure:1724: cc -E  conftest.c >/dev/null 2>conftest.out
configure:1724: cc -E  conftest.c >/dev/null 2>conftest.out
configure:1724: cc -E  conftest.c >/dev/null 2>conftest.out
configure:1724: cc -E  conftest.c >/dev/null 2>conftest.out
cc-315 cc: ERROR File = configure, Line = 1720
  The include file "libc.h" is unavailable.

TOTAL ERRORS DETECTED IN conftest.c: 1
configure:1724: cc -E  conftest.c >/dev/null 2>conftest.out
configure:1724: cc -E  conftest.c >/dev/null 2>conftest.out
configure:1724: cc -E  conftest.c >/dev/null 2>conftest.out
configure:1724: cc -E  conftest.c >/dev/null 2>conftest.out
configure:1724: cc -E  conftest.c >/dev/null 2>conftest.out
configure:1724: cc -E  conftest.c >/dev/null 2>conftest.out
configure:1764: cc -c  -O  conftest.c 1>&5
configure:1798: cc -c  -O  conftest.c 1>&5
cc-172 cc: WARNING File = configure, Line = 1794
  No code is generated for a superfluous expression.

TOTAL WARNINGS DETECTED IN conftest.c: 1
configure:1873: cc -o conftest  -O   conftest.c  -ldir 1>&5
 ldr-334 cc: CAUTION 
     File 'libdir.a' cannot be found in any of the search directories.
configure:1901: cc -o conftest  -O   conftest.c  -ldir 1>&5
cc-478 cc: ERROR File = configure, Line = 1897
  The identifier "TIOCGWINSZ" is not declared.

TOTAL ERRORS DETECTED IN conftest.c: 1
configure:1932: cc -o conftest  -O   conftest.c  -ldir 1>&5
 ldr-334 cc: CAUTION 
     File 'libdir.a' cannot be found in any of the search directories.
configure:1963: cc -E  conftest.c >/dev/null 2>conftest.out
cc-315 cc: ERROR File = configure, Line = 1959
  The include file "sys/ptem.h" is unavailable.

TOTAL ERRORS DETECTED IN conftest.c: 1
configure:2013: cc -o conftest  -O   conftest.c -ltermcap   -ldir 1>&5
 ldr-334 cc: CAUTION 
     File 'libdir.a' cannot be found in any of the search directories.
configure:2064: cc -o conftest  -O   conftest.c  -ldir -ltermcap 1>&5
 ldr-334 cc: CAUTION 
     File 'libdir.a' cannot be found in any of the search directories.
configure:2152: cc -o conftest  -O   conftest.c  -ldir -ltermcap 1>&5
cc-478 cc: ERROR File = configure, Line = 2148
  The identifier "ospeed" is not declared.

TOTAL ERRORS DETECTED IN conftest.c: 1
configure:2179: cc -o conftest  -O   conftest.c  -ldir -ltermcap 1>&5
 ldr-334 cc: CAUTION 
     File 'libdir.a' cannot be found in any of the search directories.
configure:2221: cc -o conftest  -O   conftest.c  -ldir -ltermcap 1>&5
 ldr-334 cc: CAUTION 
     File 'libdir.a' cannot be found in any of the search directories.
configure:2262: cc -c  -O  conftest.c 1>&5
configure:2451: cc -c  -O  conftest.c 1>&5
configure:2483: cc -c  -O  conftest.c 1>&5
configure:2565: cc -o conftest  -O   conftest.c  -ldir -ltermcap 1>&5
 ldr-334 cc: CAUTION 
     File 'libdir.a' cannot be found in any of the search directories.
configure:2620: cc -o conftest  -O   conftest.c  -ldir -ltermcap 1>&5
 ldr-334 cc: CAUTION 
     File 'libdir.a' cannot be found in any of the search directories.
configure:2620: cc -o conftest  -O   conftest.c  -ldir -ltermcap 1>&5
 ldr-334 cc: CAUTION 
     File 'libdir.a' cannot be found in any of the search directories.
configure:2620: cc -o conftest  -O   conftest.c  -ldir -ltermcap 1>&5
 ldr-334 cc: CAUTION 
     File 'libdir.a' cannot be found in any of the search directories.
configure:2620: cc -o conftest  -O   conftest.c  -ldir -ltermcap 1>&5
 ldr-334 cc: CAUTION 
     File 'libdir.a' cannot be found in any of the search directories.
configure:2620: cc -o conftest  -O   conftest.c  -ldir -ltermcap 1>&5
 ldr-334 cc: CAUTION 
     File 'libdir.a' cannot be found in any of the search directories.
configure:2620: cc -o conftest  -O   conftest.c  -ldir -ltermcap 1>&5
 ldr-334 cc: CAUTION 
     File 'libdir.a' cannot be found in any of the search directories.
configure:2620: cc -o conftest  -O   conftest.c  -ldir -ltermcap 1>&5
 ldr-334 cc: CAUTION 
     File 'libdir.a' cannot be found in any of the search directories.
configure:2620: cc -o conftest  -O   conftest.c  -ldir -ltermcap 1>&5
 ldr-334 cc: CAUTION 
     File 'libdir.a' cannot be found in any of the search directories.
configure:2620: cc -o conftest  -O   conftest.c  -ldir -ltermcap 1>&5
 ldr-334 cc: CAUTION 
     File 'libdir.a' cannot be found in any of the search directories.
configure:2620: cc -o conftest  -O   conftest.c  -ldir -ltermcap 1>&5
 ldr-334 cc: CAUTION 
     File 'libdir.a' cannot be found in any of the search directories.
configure:2620: cc -o conftest  -O   conftest.c  -ldir -ltermcap 1>&5
 ldr-334 cc: CAUTION 
     File 'libdir.a' cannot be found in any of the search directories.
configure:2620: cc -o conftest  -O   conftest.c  -ldir -ltermcap 1>&5
 ldr-334 cc: CAUTION 
     File 'libdir.a' cannot be found in any of the search directories.
configure:2620: cc -o conftest  -O   conftest.c  -ldir -ltermcap 1>&5
 ldr-334 cc: CAUTION 
     File 'libdir.a' cannot be found in any of the search directories.
 ldr-133 cc: WARNING 
     Unsatisfied external references have been encountered.

 Unsatisfied external references
 Entry name      Modules referencing entry 

 wait3           conftest$c

 ldr-112 cc: WARNING 
     Because of previous errors, file 'conftest' is not executable.
configure:2620: cc -o conftest  -O   conftest.c  -ldir -ltermcap 1>&5
 ldr-334 cc: CAUTION 
     File 'libdir.a' cannot be found in any of the search directories.
configure:2620: cc -o conftest  -O   conftest.c  -ldir -ltermcap 1>&5
 ldr-334 cc: CAUTION 
     File 'libdir.a' cannot be found in any of the search directories.
configure:2620: cc -o conftest  -O   conftest.c  -ldir -ltermcap 1>&5
 ldr-334 cc: CAUTION 
     File 'libdir.a' cannot be found in any of the search directories.
configure:2620: cc -o conftest  -O   conftest.c  -ldir -ltermcap 1>&5
 ldr-334 cc: CAUTION 
     File 'libdir.a' cannot be found in any of the search directories.
configure:2620: cc -o conftest  -O   conftest.c  -ldir -ltermcap 1>&5
 ldr-334 cc: CAUTION 
     File 'libdir.a' cannot be found in any of the search directories.
configure:2620: cc -o conftest  -O   conftest.c  -ldir -ltermcap 1>&5
 ldr-334 cc: CAUTION 
     File 'libdir.a' cannot be found in any of the search directories.
configure:2620: cc -o conftest  -O   conftest.c  -ldir -ltermcap 1>&5
 ldr-334 cc: CAUTION 
     File 'libdir.a' cannot be found in any of the search directories.
configure:2620: cc -o conftest  -O   conftest.c  -ldir -ltermcap 1>&5
 ldr-334 cc: CAUTION 
     File 'libdir.a' cannot be found in any of the search directories.
 ldr-133 cc: WARNING 
     Unsatisfied external references have been encountered.

 Unsatisfied external references
 Entry name      Modules referencing entry 

 getrlimit       conftest$c

 ldr-112 cc: WARNING 
     Because of previous errors, file 'conftest' is not executable.
configure:2620: cc -o conftest  -O   conftest.c  -ldir -ltermcap 1>&5
 ldr-334 cc: CAUTION 
     File 'libdir.a' cannot be found in any of the search directories.
configure:2620: cc -o conftest  -O   conftest.c  -ldir -ltermcap 1>&5
 ldr-334 cc: CAUTION 
     File 'libdir.a' cannot be found in any of the search directories.
configure:2620: cc -o conftest  -O   conftest.c  -ldir -ltermcap 1>&5
 ldr-334 cc: CAUTION 
     File 'libdir.a' cannot be found in any of the search directories.
configure:2620: cc -o conftest  -O   conftest.c  -ldir -ltermcap 1>&5
 ldr-334 cc: CAUTION 
     File 'libdir.a' cannot be found in any of the search directories.
configure:2620: cc -o conftest  -O   conftest.c  -ldir -ltermcap 1>&5
 ldr-334 cc: CAUTION 
     File 'libdir.a' cannot be found in any of the search directories.
 ldr-133 cc: WARNING 
     Unsatisfied external references have been encountered.

 Unsatisfied external references
 Entry name      Modules referencing entry 

 setresuid       conftest$c

 ldr-112 cc: WARNING 
     Because of previous errors, file 'conftest' is not executable.
configure:2620: cc -o conftest  -O   conftest.c  -ldir -ltermcap 1>&5
 ldr-334 cc: CAUTION 
     File 'libdir.a' cannot be found in any of the search directories.
configure:2656: cc -o conftest  -O   conftest.c  -ldir -ltermcap 1>&5
 ldr-334 cc: CAUTION 
     File 'libdir.a' cannot be found in any of the search directories.
configure:2849: cc -c  -O  conftest.c 1>&5
cc-428 cc: ERROR File = configure, Line = 2842
  The type of "brk" is not compatible with its previously declared type.

TOTAL ERRORS DETECTED IN conftest.c: 1
configure:2882: cc -c  -O  conftest.c 1>&5
cc-428 cc: ERROR File = configure, Line = 2875
  The type of "sbrk" is not compatible with its previously declared type.

TOTAL ERRORS DETECTED IN conftest.c: 1
========================================================


Gene
gene@bear.com

--
*******************************************************************************
Bear Stearns is not responsible for any recommendation, solicitation, offer or
agreement or any information about any transaction, customer account or account
activity contained in this communication.
*******************************************************************************


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

* Re: 3.0.1-test on cray
  1996-09-04 16:18 3.0.1-test on cray gene
@ 1996-09-04 17:04 ` Zefram
  1996-09-04 17:27 ` Zoltan Hidvegi
  1 sibling, 0 replies; 3+ messages in thread
From: Zefram @ 1996-09-04 17:04 UTC (permalink / raw)
  To: gene; +Cc: zsh-workers

>        cc  -o zsh builtin.o compat.o cond.o exec.o glob.o hashtable.o  hist.o init.o input.o jobs.o lex.o linklist.o loop.o  math.o mem.o params.o parse.o sign
>als.o subst.o text.o  utils.o watch.o zle_bindings.o zle_hist.o zle_main.o  zle_
>misc.o zle_move.o zle_refresh.o zle_tricky.o zle_utils.o  zle_vi.o zle_word.o -l
>dir -ltermcap
> ldr-334 cc: CAUTION 
>     File 'libdir.a' cannot be found in any of the search directories.

-ldir doesn't exist but it's being used anyway.  This happens because
the compiler only gives a warning for this type of failure.  Difficult
to avoid, but not fatal.

> ldr-133 cc: WARNING 
>     Unsatisfied external references have been encountered.
>
> Unsatisfied external references
> Entry name      Modules referencing entry 
>
> nis_list        zle_tricky$c

That means it thinks you have NIS, but you don't have the library for
it.  configure checks for existence of ypcat; I think it should check
for the library functions instead.

-zefram


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

* Re: 3.0.1-test on cray
  1996-09-04 16:18 3.0.1-test on cray gene
  1996-09-04 17:04 ` Zefram
@ 1996-09-04 17:27 ` Zoltan Hidvegi
  1 sibling, 0 replies; 3+ messages in thread
From: Zoltan Hidvegi @ 1996-09-04 17:27 UTC (permalink / raw)
  To: gene; +Cc: zsh-workers

> FYI:
> 
>   zsh v3.0.1-test failed to compile on cray-c90 under Unicos 9.0.
...
>  ldr-334 cc: CAUTION 
>      File 'libdir.a' cannot be found in any of the search directories.

This is probably because your cc runs successfully even if a given library
is missing which makes configure think that you have a `dir' library.

>  ldr-133 cc: WARNING 
>      Unsatisfied external references have been encountered.
> 
>  Unsatisfied external references
>  Entry name      Modules referencing entry 
> 
>  nis_list        zle_tricky$c

If that happens with 3.0.1-test, then compilation of 3.0.0 should also
fail.  Does your system have NIS+?  Do you have HAVE_NIS_PLUS defined in
the zsh-3.0.0 config.h?  In that case, how was zsh-3.0.0 linked?  If the
libraries linked with 3.0.0 is different from 3.0.1, what are the
differences in config.log?

There was no change in configure since 3.0.0.

Anyway, the patch below does not hurt anyone and it should fix this, but
the real problem is probably a missing library which should be linked to
zsh.  You can use nm to find a library which defines nis_list and we may
add a configure test for that library.

Zoltan


--- configure	1996/08/15 17:37:46	2.21
+++ configure	1996/09/04 17:13:51
@@ -2585,7 +2585,7 @@
 for ac_func in strftime waitpid select tcsetpgrp tcgetattr strstr lstat \
               getlogin setpgid gettimeofday gethostname mkfifo wait3 difftime \
               sigblock sigsetmask sigrelse sighold killpg sigaction getrlimit \
-              sigprocmask setuid seteuid setreuid setresuid strerror
+              sigprocmask setuid seteuid setreuid setresuid strerror nis_list
 do
 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
@@ -2769,7 +2769,8 @@
 if eval "test \"`echo '$''{'zsh_cv_sys_nis_plus'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
-  test -f /usr/bin/nisls && /usr/bin/nisls > /dev/null 2>&1 && \
+  test $ac_cv_func_nis_list = yes && test -f /usr/bin/nisls && \
+ /usr/bin/nisls > /dev/null 2>&1 && \
 zsh_cv_sys_nis_plus=yes || zsh_cv_sys_nis_plus=no
 fi
 
@@ -2836,7 +2837,7 @@
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 2840 "configure"
+#line 2841 "configure"
 #include "confdefs.h"
 #include <unistd.h>
 double brk();
@@ -2845,7 +2846,7 @@
 int i;
 ; return 0; }
 EOF
-if { (eval echo configure:2849: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:2850: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*
   zsh_cv_header_unistd_h_brk_proto=no
 else
@@ -2869,7 +2870,7 @@
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 2873 "configure"
+#line 2874 "configure"
 #include "confdefs.h"
 #include <unistd.h>
 double sbrk();
@@ -2878,7 +2879,7 @@
 int i;
 ; return 0; }
 EOF
-if { (eval echo configure:2882: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:2883: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*
   zsh_cv_header_unistd_h_sbrk_proto=no
 else
--- configure.in	1996/08/15 17:37:46	2.20
+++ configure.in	1996/09/04 17:13:18
@@ -425,7 +425,7 @@
 AC_CHECK_FUNCS(strftime waitpid select tcsetpgrp tcgetattr strstr lstat \
               getlogin setpgid gettimeofday gethostname mkfifo wait3 difftime \
               sigblock sigsetmask sigrelse sighold killpg sigaction getrlimit \
-              sigprocmask setuid seteuid setreuid setresuid strerror)
+              sigprocmask setuid seteuid setreuid setresuid strerror nis_list)
 
 dnl  Checking for working strcoll
 AC_CACHE_CHECK(for working strcoll, zsh_cv_func_strcoll,
@@ -508,7 +508,8 @@
 dnl CHECK FOR NISPLUS
 dnl -----------------
 AC_CACHE_CHECK(for NIS+, zsh_cv_sys_nis_plus,
-[test -f /usr/bin/nisls && /usr/bin/nisls > /dev/null 2>&1 && \
+[test $ac_cv_func_nis_list = yes && test -f /usr/bin/nisls && \
+ /usr/bin/nisls > /dev/null 2>&1 && \
 zsh_cv_sys_nis_plus=yes || zsh_cv_sys_nis_plus=no])
 if test $zsh_cv_sys_nis_plus = yes; then
   AC_DEFINE(HAVE_NIS_PLUS)


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

end of thread, other threads:[~1996-09-04 17:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-09-04 16:18 3.0.1-test on cray gene
1996-09-04 17:04 ` Zefram
1996-09-04 17:27 ` Zoltan Hidvegi

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