Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: zsh-4.0.1-pre-4



        Problems on Solaris 2.7 with HAVE_CURSES_H not getting defined 
correctly.  This may just be my particular gcc install (the SMCgcc
2.95.2 package from sunfreeware).


gcc -c -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H
-DMODULE -Wall -Wno-implicit -Wmissing-prototypes -O2 -fpic -o
termcap..o termcap.c
termcap.c: In function `scantermcap':
termcap.c:327: `boolcodes' undeclared (first use in this function)
termcap.c:327: (Each undeclared identifier is reported only once
termcap.c:327: for each function it appears in.)
termcap.c:336: `numcodes' undeclared (first use in this function)
termcap.c:345: `strcodes' undeclared (first use in this function)
termcap.c:256: warning: `capcode' might be used uninitialized in this function
make[3]: *** [termcap..o] Error 1


        Configure'd with just `./configure --prefix=/usr/local'.
Looking config.log shows:

configure:3336: gcc -c  -Wall -Wno-implicit -Wmissing-prototypes -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c 1>&5
In file included from /usr/include/curses.h:23,
                 from /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/include/curses.h:5,
                 from configure:3329:
/usr/include/widec.h:42: warning: `getwc' redefined
/usr/include/wchar.h:326: warning: this is the location of the previous definition
/usr/include/widec.h:43: warning: `putwc' redefined
/usr/include/wchar.h:329: warning: this is the location of the previous definition
/usr/include/widec.h:44: warning: `getwchar' redefined
/usr/include/wchar.h:327: warning: this is the location of the previous definition
/usr/include/widec.h:45: warning: `putwchar' redefined
/usr/include/wchar.h:330: warning: this is the location of the previous definition


        If I edit config.h and define HAVE_CURSES_H by hand everything
compiles fine.


zsh configuration
-----------------
zsh version               : 4.0.1-pre-4
host operating system     : sparc-sun-solaris2.7
source code location      : .
compiler                  : gcc
preprocessor flags        : -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
executable compiler flags :  -Wall -Wno-implicit -Wmissing-prototypes
-O2
module compiler flags     :  -Wall -Wno-implicit -Wmissing-prototypes
-O2 -fpic
executable linker flags   :   -s
module linker flags       :   -s -G
library flags             : -lsocket -ldl -lnsl -lcurses -lm  -lc
installation basename     : zsh
binary install path       : /usr/local/bin
man page install path     : /usr/local/man
info install path         : /usr/local/info
functions install path    : /usr/local/share/zsh/4.0.1-pre-4/functions
See config.modules for installed modules and functions.


-- 
Fletch                | "If you find my answers frightening,       __`'/|
fletch@xxxxxxxxxxxx   |  Vincent, you should cease askin'          \ o.O'
770 933-0600 x211(w)  |  scary questions." -- Jules                =(___)=
                      |                                               U



Messages sorted by: Reverse Date, Date, Thread, Author