bug-ncurses
[Top][All Lists]
Advanced

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

problems compiling/installing ncurses-5.2 on Solaris 8 (64bit)


From: Osborn Sayers
Subject: problems compiling/installing ncurses-5.2 on Solaris 8 (64bit)
Date: Mon, 26 Aug 2002 15:40:40 -0400
User-agent: Mutt/1.4i

 Hi,
 How are you doing? My name is Osborn and I am having problems 
compiling/installing ncurses-5.2 on Solaris 8 w/64 bit kernel. Below I will 
describe briefly the environment that I am working in:

hardware: Sun Ultra 10 w/512Mb memory
compiler: gcc-2.95.3 w/libgcc-3.0.3 and glibc 1.2.10
other: gettext.0.11.2 and libiconv-1.8

Here is a snippet of where the compile breaks(seems to be during 
libncurses++.a):
make[1]: Entering directory `/export/home/osborn/ncurses-5.2/c++'
cp ./etip.h.in etip.h
sh ./edit_cfg.sh ../include/ncurses_cfg.h etip.h
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_s;  c++ -I../c++ -I../include -I. -DHAVE_CONFIG_H  -DNDEBUG -I. 
-I../i                                                                          
   
nclude -I/usr/local/include -O2 -fPIC -c ../c++/cursesf.cc
cd ../obj_s;  c++ -I../c++ -I../include -I. -DHAVE_CONFIG_H  -DNDEBUG -I. 
-I../i                                                                          
   
nclude -I/usr/local/include -O2 -fPIC -c ../c++/cursesm.cc
cd ../obj_s;  c++ -I../c++ -I../include -I. -DHAVE_CONFIG_H  -DNDEBUG -I. 
-I../i                                                                          
   
nclude -I/usr/local/include -O2 -fPIC -c ../c++/cursesw.cc
cd ../obj_s;  c++ -I../c++ -I../include -I. -DHAVE_CONFIG_H  -DNDEBUG -I. 
-I../i                                                                          
   
nclude -I/usr/local/include -O2 -fPIC -c ../c++/cursespad.cc
cd ../obj_s;  c++ -I../c++ -I../include -I. -DHAVE_CONFIG_H  -DNDEBUG -I. 
-I../i                                                                          
   
nclude -I/usr/local/include -O2 -fPIC -c ../c++/cursesp.cc
cd ../obj_s;  c++ -I../c++ -I../include -I. -DHAVE_CONFIG_H  -DNDEBUG -I. 
-I../i                                                                          
   
nclude -I/usr/local/include -O2 -fPIC -c ../c++/cursslk.cc
cd ../obj_s;  c++ -I../c++ -I../include -I. -DHAVE_CONFIG_H  -DNDEBUG -I. 
-I../i                                                                          
   
nclude -I/usr/local/include -O2 -fPIC -c ../c++/cursesapp.cc
cd ../obj_s;  c++ -I../c++ -I../include -I. -DHAVE_CONFIG_H  -DNDEBUG -I. 
-I../i                                                                          
   
nclude -I/usr/local/include -O2 -fPIC -c ../c++/cursesmain.cc
ar rv ../lib/libncurses++.a ../obj_s/cursesf.o ../obj_s/cursesm.o 
../obj_s/curse                                                                  
           
sw.o ../obj_s/cursespad.o ../obj_s/cursesp.o ../obj_s/cursslk.o 
../obj_s/cursesa                                                                
             
pp.o ../obj_s/cursesmain.o
a - ../obj_s/cursesf.o
a - ../obj_s/cursesm.o
a - ../obj_s/cursesw.o
a - ../obj_s/cursespad.o
a - ../obj_s/cursesp.o
a - ../obj_s/cursslk.o
a - ../obj_s/cursesapp.o
a - ../obj_s/cursesmain.o
ranlib ../lib/libncurses++.a
cd ../obj_s;  c++ -I../c++ -I../include -I. -DHAVE_CONFIG_H  -DNDEBUG -I. 
-I../i                                                                          
   
nclude -I/usr/local/include -O2 -fPIC -c ../c++/demo.cc
c++  -o demo ../obj_s/demo.o -L../lib -L/usr/local/lib -lncurses++ -L../lib 
-L/u                                                                            
 
sr/local/lib -lform -lmenu -lpanel -lncurses -R 
/export/home/osborn/ncurses-5.2/                                                
                             
lib:/usr/local/lib -lstdc++ 
../lib/libncurses++.a(cursesw.o): In function `NCursesWindow::scanw(char const 
*                                                                             
,...)':
cursesw.o(.text+0x4c): undefined reference to `streambuf::streambuf(int)'
cursesw.o(.text+0x54): undefined reference to `strstreambuf virtual table'
cursesw.o(.text+0x58): undefined reference to `strstreambuf virtual table'
cursesw.o(.text+0x70): undefined reference to `strstreambuf::init_static(char 
*,                                                                             
 int, char *)'
cursesw.o(.text+0x8c): undefined reference to `streambuf::~streambuf(void)'
cursesw.o(.text+0xac): undefined reference to `streambuf::vscan(char const *, 
vo                                                                            
id *, ios *)'
cursesw.o(.text+0xc8): undefined reference to 
`strstreambuf::~strstreambuf(void)                                              
                              
'
cursesw.o(.text+0xd8): undefined reference to 
`strstreambuf::~strstreambuf(void)                                              
                              
'
../lib/libncurses++.a(cursesw.o): In function `NCursesWindow::scanw(int, int, 
ch                                                                            
ar const *,...)':
cursesw.o(.text+0x14c): undefined reference to `streambuf::streambuf(int)'
cursesw.o(.text+0x154): undefined reference to `strstreambuf virtual table'
cursesw.o(.text+0x158): undefined reference to `strstreambuf virtual table'
cursesw.o(.text+0x170): undefined reference to `strstreambuf::init_static(char 
*                                                                            
, int, char *)'
cursesw.o(.text+0x18c): undefined reference to `streambuf::~streambuf(void)'
cursesw.o(.text+0x1ac): undefined reference to `streambuf::vscan(char const *, 
v                                                                            
oid *, ios *)'
cursesw.o(.text+0x1c8): undefined reference to 
`strstreambuf::~strstreambuf(void                                               
                             
)'
cursesw.o(.text+0x1d8): undefined reference to 
`strstreambuf::~strstreambuf(void                                               
                             
)'
collect2: ld returned 1 exit status
make[1]: *** [demo] Error 1
make[1]: Leaving directory `/export/home/osborn/ncurses-5.2/c++'
make: *** [all] Error 2


I have attached a copy of the config.cache...let me know what other info you 
need to investigate...I am 99% sure that I did not give enough...just let me 
know.


Thank you in advance for your help and insight,
Osborn

Attachment: config.cache
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]