help:make ncurses error

liuke liuke at mail.cnwa.com
Thu Mar 4 11:20:47 PST 2004


I use KNOPPIX_V3.3-2003-11-19-EN to make my LFS 5,when I make 
ncurses-5.3,I get the following compile error :

make[1]: Entering directory `/mnt/lfs/source/ncurses-5.3/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_GPP_BUILTIN_H 0
... HAVE_GXX_BUILTIN_H 0
... HAVE_STRSTREAM_H 0
... HAVE_TYPEINFO 1
... HAVE_VALUES_H 0
... USE_STRSTREAM_VSCAN 0
... USE_STRSTREAM_VSCAN_CAST 0
cd ../obj_s;  g++ -I../c++ -I../include -I. -DHAVE_CONFIG_H  -DNDEBUG 
-D_GNU_SOURCE -I. -I../include -I/tools/include -O2 -fPIC -c 
../c++/cursesf.cc
cd ../obj_s;  g++ -I../c++ -I../include -I. -DHAVE_CONFIG_H  -DNDEBUG 
-D_GNU_SOURCE -I. -I../include -I/tools/include -O2 -fPIC -c 
../c++/cursesm.cc
cd ../obj_s;  g++ -I../c++ -I../include -I. -DHAVE_CONFIG_H  -DNDEBUG 
-D_GNU_SOURCE -I. -I../include -I/tools/include -O2 -fPIC -c 
../c++/cursesw.cc
cd ../obj_s;  g++ -I../c++ -I../include -I. -DHAVE_CONFIG_H  -DNDEBUG 
-D_GNU_SOURCE -I. -I../include -I/tools/include -O2 -fPIC -c 
../c++/cursespad.cc
cd ../obj_s;  g++ -I../c++ -I../include -I. -DHAVE_CONFIG_H  -DNDEBUG 
-D_GNU_SOURCE -I. -I../include -I/tools/include -O2 -fPIC -c 
../c++/cursesp.cc
cd ../obj_s;  g++ -I../c++ -I../include -I. -DHAVE_CONFIG_H  -DNDEBUG 
-D_GNU_SOURCE -I. -I../include -I/tools/include -O2 -fPIC -c 
../c++/cursslk.cc
cd ../obj_s;  g++ -I../c++ -I../include -I. -DHAVE_CONFIG_H  -DNDEBUG 
-D_GNU_SOURCE -I. -I../include -I/tools/include -O2 -fPIC -c 
../c++/cursesapp.cc
cd ../obj_s;  g++ -I../c++ -I../include -I. -DHAVE_CONFIG_H  -DNDEBUG 
-D_GNU_SOURCE -I. -I../include -I/tools/include -O2 -fPIC -c 
../c++/cursesmain.cc
ar rv ../lib/libncurses++.a ../obj_s/cursesf.o ../obj_s/cursesm.o 
../obj_s/cursesw.o ../obj_s/cursespad.o ../obj_s/cursesp.o 
../obj_s/cursslk.o ../obj_s/cursesapp.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;  g++ -I../c++ -I../include -I. -DHAVE_CONFIG_H  -DNDEBUG 
-D_GNU_SOURCE -I. -I../include -I/tools/include -O2 -fPIC -c ../c++/demo.cc
g++  -o demo ../obj_s/demo.o -L../lib -lncurses++ -L../lib -lform -lmenu 
-lpanel -lncurses -Wl,-rpath,/mnt/lfs/source/ncurses-5.3/lib
/lib/libc.so.6: undefined reference to `_dl_tls_symaddr at GLIBC_PRIVATE'
collect2: ld returned 1 exit status
make[1]: *** [demo] Error 1
make[1]: Leaving directory `/mnt/lfs/source/ncurses-5.3/c++'
make: *** [all] Error 2

Can anyone help me?

thanks!




More information about the lfs-support mailing list