From owner-bug-octave at bevo dot che dot wisc dot edu Sun Nov 24 21:03:19 1996 Subject: [50 character or so descriptive subject here (for reference)] From: jay at elec dot gla dot ac dot uk (J.Sigbrandt) To: bug-octave at che dot utexas dot edu Date: Fri, 1 Nov 96 05:31 GMT To: bug-octave at che dot utexas dot edu Subject: configure gives a warning and compile subsequently fails Bug report for Octave pre-2.0 configured for i486 Debian-1.1 Linux Description: ----------- Didn't manage to compile pre-2.0 out of the box. Firstly I've included the erros generated by the compiler. Later I included config.log A few months ago had trouble due to ncurses being on my system rather than curses,termcap etc... This seems to be related. gcc -o info info.o dir.o display.o doc.o echo_area.o filesys.o info-utils.o infodoc.o infomap.o m-x.o nodes.o search.o session.o signals.o terminal.o tilde.o window.o indices.o xmalloc.o nodemenu.o footnotes.o dribble.o variables.o gc.o error.o getopt.o getopt1.o terminal.o: In function `terminal_begin_using_terminal': terminal.o(.text+0x55): undefined reference to `tputs' terminal.o: In function `terminal_end_using_terminal': terminal.o(.text+0x75): undefined reference to `tputs' terminal.o: In function `terminal_goto_xy': terminal.o(.text+0xb4): undefined reference to `tgoto' terminal.o(.text+0xbd): undefined reference to `tputs' terminal.o: In function `terminal_clear_to_eol': terminal.o(.text+0x172): undefined reference to `tputs' terminal.o: In function `terminal_clear_screen': terminal.o(.text+0x1b2): undefined reference to `tputs' terminal.o: In function `terminal_up_line': terminal.o(.text+0x1f2): undefined reference to `tputs' terminal.o: In function `terminal_down_line': terminal.o(.text+0x232): undefined reference to `tputs' terminal.o(.text+0x272): more undefined references to `tputs' follow terminal.o: In function `terminal_ring_bell': terminal.o(.text+0x368): undefined reference to `tgoto' terminal.o(.text+0x371): undefined reference to `tputs' terminal.o(.text+0x38d): undefined reference to `tputs' terminal.o(.text+0x3e8): undefined reference to `tgoto' terminal.o(.text+0x3f1): undefined reference to `tputs' terminal.o(.text+0x40d): undefined reference to `tputs' terminal.o: In function `terminal_get_screen_size': terminal.o(.text+0x572): undefined reference to `tgetnum' terminal.o(.text+0x5b5): undefined reference to `tgetnum' terminal.o(.text+0x6a2): undefined reference to `tgetent' terminal.o(.text+0x73a): undefined reference to `tgetstr' terminal.o(.text+0x764): undefined reference to `tgetstr' terminal.o(.text+0x774): undefined reference to `tgetstr' terminal.o(.text+0x784): undefined reference to `tgetstr' terminal.o(.text+0x794): undefined reference to `tgetstr' terminal.o(.text+0x7a7): more undefined references to `tgetstr' follow terminal.o: In function `terminal_get_screen_size': terminal.o(.text+0x8f1): undefined reference to `tgetflag' terminal.o(.text+0x902): undefined reference to `tgetflag' terminal.o(.text+0x926): undefined reference to `tgetstr' terminal.o(.text+0x936): undefined reference to `tgetstr' terminal.o(.text+0x96e): undefined reference to `tgetstr' terminal.o(.text+0x97e): undefined reference to `tgetstr' terminal.o(.text+0x98e): undefined reference to `tgetstr' terminal.o(.text+0x99e): more undefined references to `tgetstr' follow make[2]: *** [info] Error 1 make[2]: Leaving directory `/mnt/control/octave/octave-1.90/info' make[1]: *** [info] Error 2 make[1]: Leaving directory `/mnt/control/octave/octave-1.90' make: *** [all] Error 2 This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:842: c++ -E conftest.C configure:896: c++ -E conftest.C >/dev/null 2>conftest.out configure:1051: gcc -E conftest.c configure:1109: gcc -E conftest.c >/dev/null 2>conftest.out configure:1152: sgtty.h: No such file or directory configure:1398: gcc -E conftest.c >/dev/null 2>conftest.out configure:1394: minix/config.h: No such file or directory configure:1476: gcc -o conftest -g -O -g conftest.c -lsun 1>&5 ld: cannot open -lsun: No such file or directory configure:1517: gcc -o conftest -g -O -g conftest.c 1>&5 configure:1549: gcc -o conftest -g -O -g conftest.c 1>&5 configure:1583: gcc -o conftest -g -O -g conftest.c 1>&5 configure:1617: gcc -o conftest -g -O -g conftest.c 1>&5 configure:1650: gcc -o conftest -g -O -g conftest.c 1>&5 configure:1698: gcc -o conftest -g -O -g conftest.c 1>&5 configure:1909: gcc -c -g -O conftest.c 1>&5 configure:2734: gcc -E conftest.c >/dev/null 2>conftest.out configure:2799: gcc -o conftest -g -O -g conftest.c 1>&5 configure:2836: gcc -c -g -O conftest.c 1>&5 configure:2879: gcc -o conftest -g -O -g conftest.c -ldir 1>&5 ld: cannot open -ldir: No such file or directory configure:2953: gcc -c -g -O conftest.c 1>&5 configure:2994: gcc -c -g -O conftest.c 1>&5 configure:3031: gcc -E conftest.c >/dev/null 2>conftest.out configure:3031: gcc -E conftest.c >/dev/null 2>conftest.out configure:3027: curses.h: No such file or directory configure:3031: gcc -E conftest.c >/dev/null 2>conftest.out configure:3031: gcc -E conftest.c >/dev/null 2>conftest.out configure:3031: gcc -E conftest.c >/dev/null 2>conftest.out configure:3027: floatingpoint.h: No such file or directory configure:3031: gcc -E conftest.c >/dev/null 2>conftest.out configure:3031: gcc -E conftest.c >/dev/null 2>conftest.out configure:3031: gcc -E conftest.c >/dev/null 2>conftest.out configure:3031: gcc -E conftest.c >/dev/null 2>conftest.out configure:3027: sgtty.h: No such file or directory configure:3031: gcc -E conftest.c >/dev/null 2>conftest.out configure:3031: gcc -E conftest.c >/dev/null 2>conftest.out configure:3031: gcc -E conftest.c >/dev/null 2>conftest.out configure:3031: gcc -E conftest.c >/dev/null 2>conftest.out configure:3031: gcc -E conftest.c >/dev/null 2>conftest.out configure:3027: sys/select.h: No such file or directory configure:3031: gcc -E conftest.c >/dev/null 2>conftest.out configure:3031: gcc -E conftest.c >/dev/null 2>conftest.out configure:3031: gcc -E conftest.c >/dev/null 2>conftest.out configure:3031: gcc -E conftest.c >/dev/null 2>conftest.out configure:3031: gcc -E conftest.c >/dev/null 2>conftest.out configure:3031: gcc -E conftest.c >/dev/null 2>conftest.out configure:3027: termcap.h: No such file or directory configure:3031: gcc -E conftest.c >/dev/null 2>conftest.out configure:3031: gcc -E conftest.c >/dev/null 2>conftest.out configure:3031: gcc -E conftest.c >/dev/null 2>conftest.out configure:3031: gcc -E conftest.c >/dev/null 2>conftest.out configure:3138: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3138: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3138: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3138: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3138: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3138: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3138: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3138: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3138: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3138: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3138: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3138: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3138: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3138: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3138: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3138: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3138: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3138: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3138: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3138: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3138: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3138: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3138: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3138: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3138: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3138: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3138: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3138: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3138: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3138: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3138: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3138: gcc -o conftest -g -O -g conftest.c 1>&5 /tmp/cca108131.o: In function `t': /tmp/cca108131.o(.text+0x14): undefined reference to `stricmp' configure:3138: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3138: gcc -o conftest -g -O -g conftest.c 1>&5 /tmp/cca108411.o: In function `t': /tmp/cca108411.o(.text+0x14): undefined reference to `strnicmp' configure:3138: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3138: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3138: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3138: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3138: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3138: gcc -o conftest -g -O -g conftest.c 1>&5 configure:3222: gcc -o conftest -g -O -g conftest.c 1>&5 configure: In function `main': configure:3181: warning: assignment makes pointer from integer without a cast configure:3195: warning: assignment makes pointer from integer without a cast configure:3251: gcc -o conftest -g -O -g conftest.c 1>&5 configure: In function `t': configure:3247: parse error before `{' configure: At top level: configure:3248: parse error before `return' configure:3299: gcc -o conftest -g -O -g conftest.c -ldl 1>&5 configure:3354: gcc -o conftest -g -O -g conftest.c -ldl 1>&5 configure:3354: gcc -o conftest -g -O -g conftest.c -ldl 1>&5 configure:3354: gcc -o conftest -g -O -g conftest.c -ldl 1>&5 configure:3354: gcc -o conftest -g -O -g conftest.c -ldl 1>&5 configure:3423: gcc -o conftest -g -O -g conftest.c -ldld -ldl 1>&5 ld: cannot open -ldld: No such file or directory configure:3478: gcc -o conftest -g -O -g conftest.c -ldl 1>&5 /tmp/cca110721.o: In function `t': /tmp/cca110721.o(.text+0x14): undefined reference to `shl_load' configure:3478: gcc -o conftest -g -O -g conftest.c -ldl 1>&5 /tmp/cca110841.o: In function `t': /tmp/cca110841.o(.text+0x14): undefined reference to `shl_findsym' configure:3566: gcc -o conftest -g -O -g conftest.c -ldl 1>&5 configure:3587: gcc -c -g -O conftest.c 1>&5 configure:3633: gcc -o conftest -g -O -g conftest.c -lsunmath -lm -ldl 1>&5 ld: cannot open -lsunmath: No such file or directory configure:3681: gcc -o conftest -g -O -g conftest.c -lm -lc -ldl 1>&5 configure:3673: warning: conflicting types for built-in function `sin' configure:3794: gcc -o conftest -g -O -mieee-fp -g conftest.c -lm -ldl 1>&5 configure:3794: gcc -o conftest -g -O -mieee-fp -g conftest.c -lm -ldl 1>&5 configure:3794: gcc -o conftest -g -O -mieee-fp -g conftest.c -lm -ldl 1>&5 configure:3794: gcc -o conftest -g -O -mieee-fp -g conftest.c -lm -ldl 1>&5 /tmp/cca112011.o: In function `t': /tmp/cca112011.o(.text+0x14): undefined reference to `infinity' configure:3794: gcc -o conftest -g -O -mieee-fp -g conftest.c -lm -ldl 1>&5 /tmp/cca112131.o: In function `t': /tmp/cca112131.o(.text+0x14): undefined reference to `quiet_nan' configure:3852: gcc -o conftest -g -O -mieee-fp -g conftest.c -lm -ldl 1>&5 configure:3852: gcc -o conftest -g -O -mieee-fp -g conftest.c -lm -ldl 1>&5 configure:3852: gcc -o conftest -g -O -mieee-fp -g conftest.c -lm -ldl 1>&5 configure:3852: gcc -o conftest -g -O -mieee-fp -g conftest.c -lm -ldl 1>&5 configure:3852: gcc -o conftest -g -O -mieee-fp -g conftest.c -lm -ldl 1>&5 configure:3893: gcc -c -g -O conftest.c 1>&5 configure:3926: gcc -c -g -O conftest.c 1>&5 configure:3961: gcc -c -g -O conftest.c 1>&5 configure:3994: gcc -c -g -O conftest.c 1>&5 configure:4027: gcc -c -g -O conftest.c 1>&5 configure: In function `t': configure:4023: structure has no member named `tm_zone' configure:4061: gcc -o conftest -g -O -g conftest.c -lm -ldl 1>&5 configure:4095: gcc -o conftest -g -O -g conftest.c -lm -ldl 1>&5 configure:4136: gcc -o conftest -g -O -g conftest.c -ltermcap -lm -ldl 1>&5 ld: cannot open -ltermcap: No such file or directory configure:4136: gcc -o conftest -g -O -g conftest.c -lterminfo -lm -ldl 1>&5 ld: cannot open -lterminfo: No such file or directory configure:4136: gcc -o conftest -g -O -g conftest.c -lncurses -lm -ldl 1>&5 ld: cannot open -lncurses: No such file or directory configure:4136: gcc -o conftest -g -O -g conftest.c -lcurses -lm -ldl 1>&5 ld: cannot open -lcurses: No such file or directory configure:4136: gcc -o conftest -g -O -g conftest.c -ltermlib -lm -ldl 1>&5 ld: cannot open -ltermlib: No such file or directory configure:4173: gcc -o conftest -g -O -g conftest.c -lm -ldl 1>&5 configure: In function `t': configure:4169: dereferencing pointer to incomplete type configure:4169: dereferencing pointer to incomplete type configure:4212: gcc -c -g -O conftest.c 1>&5 configure:4247: gcc -c -g -O conftest.c 1>&5 configure: In function `t': configure:4243: warning: initialization discards `const' from pointer target type configure:4276: gcc -o conftest -g -O -g conftest.c -lm -ldl 1>&5 configure:4586: gcc -o conftest -g -O -g conftest.c -lm -ldl 1>&5 configure:4586: gcc -o conftest -g -O -g conftest.c -lm -ldl 1>&5 configure:4681: gcc -o conftest -g -O -g conftest.c -ll -lm -ldl 1>&5 ld: cannot open -ll: No such file or directory Repeat-By: --------- issued the following two commands > ./configure --enable-lite-kernel --enable-shared > make CXXFLAGS=-O2 CFLAGS=-O2 FFLAGS=-O LDFLAGS= Configuration (please do not edit this section): ----------------------------------------------- uname output: Linux nobelle 2.0.13 #3 Mon Aug 19 22:46:53 BST 1996 i486 Fortran compiler: FFLAGS: -O3 -m486 F2C: f2c F2CFLAGS: FLIBS: -lf2c C compiler: gcc CFLAGS: -DHAVE_CONFIG_H -mieee-fp -O3 -m486 C++ compiler: c++ CXXFLAGS: -DHAVE_CONFIG_H -fno-implicit-templates -mieee-fp -O3 -m486 LDFLAGS: -g DEFS: -DOCTAVE_SOURCE=1 -DOCTAVE_LITE=1 -DSEPCHAR=':' -DSEPCHAR_STR=: -DNPSOL_MISSING=1 -DQPSOL_MISSING=1 -DFSQP_MISSING=1 -DHAVE_STRFTIME=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4 -DIEEE_LITTLE_ENDIAN=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DF77_APPEND_UNDERSCORE=1 -DSTDC_HEADERS=1 -DHAVE_ASSERT_H=1 -DHAVE_FLOAT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_MEMORY_H=1 -DHAVE_PWD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_VARARGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_UTSNAME_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_FCNTL_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_DIRENT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TERMIOS_H=1 -DHAVE_SETVBUF=1 -DHAVE_GETCWD=1 -DHAVE_GETHOSTNAME=1 -DHAVE_BZERO=1 -DHAVE_BCOPY=1 -DHAVE_RINDEX=1 -DHAVE_VFPRINTF=1 -DHAVE_VSPRINTF=1 -DHAVE_STRCASECMP=1 -DHAVE_STRNCASECMP=1 -DHAVE_STRERROR=1 -DHAVE_ATEXIT=1 -DHAVE_ON_EXIT=1 -DHAVE_TEMPNAM=1 -DHAVE_MEMMOVE=1 -DHAVE_PUTENV=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_GETRUSAGE=1 -DHAVE_LIBM=1 -DHAVE_FINITE=1 -DHAVE_ISNAN=1 -DHAVE_ISINF=1 -DHAVE_ACOSH=1 -DHAVE_ASINH=1 -DHAVE_ATANH=1 -DHAVE_ERF=1 -DHAVE_ERFC=1 -DHAVE_LGAMMA=1 -DSIGNGAM_DECLARED=1 -DRETSIGTYPE=void -DSYS_SIGLIST_DECLARED=1 -DHAVE_SYS_SIGLIST=1