Subject: Compiling Ncurses
To: None <port-macppc@netbsd.org>
From: =?iso-8859-1?q?John=20Moore?= <johndanielmoore@yahoo.co.uk>
List: port-macppc
Date: 10/19/2000 15:46:40
When trying to compile Ncurses i get the following
error. Has anybody compiled it with success.  Any help
would be appreciated.

John Moore

substituting autoconf'd values from
../include/ncurses_cfg.h into etip.h
... CPP_HAS_PARAM_INIT 0
... ETIP_NEEDS_MATH_EXCEPTION 0
... ETIP_NEEDS_MATH_H 1
... HAVE_BUILTIN_H 0
... HAVE_GXX_BUILTIN_H 0
... HAVE_GPP_BUILTIN_H 0
... HAVE_TYPEINFO 1
... HAVE_VALUES_H 0
cd ../obj_lo; /usr/pkg/bin/libtool c++ -I../c++
-I../include -I. -DHAVE_CONFIG_H  -DNDEBUG -I.
-I../include -I/usr/pkg/include -g -O2 -c
../c++/cursesf.cc
rm -f .libs/cursesf.lo
c++ -I../c++ -I../include -I. -DHAVE_CONFIG_H -DNDEBUG
-I. -I../include -I/usr/pkg/include -g -O2 -c
../c++/cursesf.cc  -fPIC -DPIC -o .libs/cursesf.lo
c++ -I../c++ -I../include -I. -DHAVE_CONFIG_H -DNDEBUG
-I. -I../include -I/usr/pkg/include -g -O2 -c
../c++/cursesf.cc -o cursesf.o >/dev/null 2>&1
mv -f .libs/cursesf.lo cursesf.lo
cd ../obj_lo; /usr/pkg/bin/libtool c++ -I../c++
-I../include -I. -DHAVE_CONFIG_H  -DNDEBUG -I.
-I../include -I/usr/pkg/include -g -O2 -c
../c++/cursesm.cc
rm -f .libs/cursesm.lo
c++ -I../c++ -I../include -I. -DHAVE_CONFIG_H -DNDEBUG
-I. -I../include -I/usr/pkg/include -g -O2 -c
../c++/cursesm.cc  -fPIC -DPIC -o .libs/cursesm.lo
c++ -I../c++ -I../include -I. -DHAVE_CONFIG_H -DNDEBUG
-I. -I../include -I/usr/pkg/include -g -O2 -c
../c++/cursesm.cc -o cursesm.o >/dev/null 2>&1
mv -f .libs/cursesm.lo cursesm.lo
cd ../obj_lo; /usr/pkg/bin/libtool c++ -I../c++
-I../include -I. -DHAVE_CONFIG_H  -DNDEBUG -I.
-I../include -I/usr/pkg/include -g -O2 -c
../c++/cursesw.cc
rm -f .libs/cursesw.lo
c++ -I../c++ -I../include -I. -DHAVE_CONFIG_H -DNDEBUG
-I. -I../include -I/usr/pkg/include -g -O2 -c
../c++/cursesw.cc  -fPIC -DPIC -o .libs/cursesw.lo
../c++/cursesw.cc: In method `int
NCursesWindow::scanw(const char * ...)':
../c++/cursesw.cc:55: ANSI C++ forbids casting to an
array type
../c++/cursesw.cc: In method `int
NCursesWindow::scanw(int, int, const char * ...)':
../c++/cursesw.cc:77: ANSI C++ forbids casting to an
array type
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.



____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie