|
|
发表于 2005-1-21 23:33:21
|
显示全部楼层
Post by txkss
我的操作如下
[root@localhost fltk-1.0.11]# ./install-sh
install: no input file specified
[root@localhost fltk-1.0.11]# ./configure
loading cache ./config.cache
checking for ranlib... (cached) ranlib
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for c++... (cached) c++
checking whether the C++ compiler (c++ ) works... yes
checking whether the C++ compiler (c++ ) is a cross-compiler... no
checking whether we are using GNU C++... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking for nroff... (cached) /usr/bin/nroff
checking for htmldoc... no
checking whether byte ordering is bigendian... (cached) no
checking size of short... (cached) 2
checking size of int... (cached) 4
checking size of long... (cached) 4
checking for dirent.h that defines DIR... (cached) yes
checking for opendir in -ldir... (cached) no
checking how to run the C preprocessor... (cached) gcc -E
checking for sys/select.h... (cached) yes
checking for sys/stdtypes.h... (cached) no
checking for scandir... (cached) yes
checking for vsnprintf... (cached) yes
checking for snprintf... (cached) yes
checking for vsprintf... (cached) yes
checking for strings.h... (cached) yes
checking for strcasecmp... (cached) yes
checking for X... (cached) libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for dnet_ntoa in -ldnet... (cached) no
checking for dnet_ntoa in -ldnet_stub... (cached) no
checking for gethostbyname... (cached) yes
checking for connect... (cached) yes
checking for remove... (cached) yes
checking for shmat... (cached) yes
checking for IceConnectionNumber in -lICE... (cached) yes
configure: warning: Ignoring libraries " -lSM -lICE" requested by configure.
checking for GL/gl.h... (cached) yes
checking for glXMakeCurrent in -lGL... (cached) yes
checking for GL/glu.h... (cached) yes
checking for X11/extensions/Xdbe.h... (cached) yes
checking for X overlay visuals... (cached) no
checking Testing if GCC supports -fno-exceptions...... yes; disabling them for FLTK...
creating ./config.status
creating makeinclude
creating config.h
config.h is unchanged
[root@localhost fltk-1.0.11]#
第二步make的时候产生了错误
(unsigned char, int, int, int, int, char const*)':
: undefined reference to `operator new(unsigned int)'
../lib/libfltk.a(forms_compatability.o)(.gnu.linkonce.t._ZN12Fl_FormsTextD0Ev+0x21): In function `Fl_FormsText::~Fl_FormsText()':
: undefined reference to `operator delete(void*)'
../lib/libfltk.a(forms_compatability.o)(.gnu.linkonce.d._ZTI12Fl_FormsText+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
../lib/libfltk.a(fl_draw_image.o)(.text+0xf93): In function `innards(unsigned char const*, int, int, int, int, int, int, int, void (*)(void*, int, int, int, unsigned char*), void*)':
: undefined reference to `operator new[](unsigned int)'
../lib/libfltk.a(fl_draw_image.o)(.text+0x114f): In function `innards(unsigned char const*, int, int, int, int, int, int, int, void (*)(void*, int, int, int, unsigned char*), void*)':
: undefined reference to `operator delete[](void*)'
collect2: ld returned 1 exit status
make[1]: *** [fluid] Error 1
make[1]: Leaving directory `/tmp/fltk-1.0.11/fluid'
[root@localhost fltk-1.0.11]#
最后去安装prozgui时也同样遇到先前的错误
请兄弟帮忙
You cannot install prozgui unless your fltk is successfully installed.
I do not encounter this problem in Debian. Can you describe more about your system and the compiler flags? |
|