Albrecht wrote:

> Thanks for this hint. How did you find this? Did you run a debugger? Can you 
> give
> us more information, where the crash occurs? It would be really helpful, if we
> could get more information. Can you compile FLTK with debugging enabled, run 
> the
> program with a debugger and post a stackdump?
>
> You could also give us more info about your system. Do you also use Gentoo 
> Linux?
> To make it as easy as possible, please cut'n'paste the following commands to 
> show
> us something about your config:
>
> uname -a
> cat /proc/cpuinfo
> locale
> gcc --version
> autoconf --version
>
> Then please run configure with the default options an post the output here:
>
> cd <fltk-dir>
> make distclean
> autoconf
> ../configure
>
> Last, but not least, I'd like to see all error messages and warning (either 
> with
> two or three lines before each or completely) from:
>
> make
>
> Thanks in advance for your help to find the cause of this crash.


OK,I have done it. Configure without --disable-xft(if I configure with 
--disable-xft ,It's no crash)


[r...@localhost fltk-1.3.x-r6592]# uname -a
Linux localhost.localdomain 2.4.20-8smp #1 SMP Thu Mar 13 17:45:54 EST 2003 
i686 i686 i386 GNU/Linux


[r...@localhost fltk-1.3.x-r6592]# cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 6
model name      : Intel(R) Core(TM)2 Duo CPU     T8300  @ 2.40GHz
stepping        : 8
cpu MHz         : 2393.798
cache size      : 0 KB
physical id     : 0
siblings        : 1
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss
bogomips        : 4797.23



[r...@localhost fltk-1.3.x-r6592]# locale
LANG=zh_CN.GB18030
LC_CTYPE="zh_CN.GB18030"
LC_NUMERIC="zh_CN.GB18030"
LC_TIME="zh_CN.GB18030"
LC_COLLATE="zh_CN.GB18030"
LC_MONETARY="zh_CN.GB18030"
LC_MESSAGES="zh_CN.GB18030"
LC_PAPER="zh_CN.GB18030"
LC_NAME="zh_CN.GB18030"
LC_ADDRESS="zh_CN.GB18030"
LC_TELEPHONE="zh_CN.GB18030"
LC_MEASUREMENT="zh_CN.GB18030"
LC_IDENTIFICATION="zh_CN.GB18030"
LC_ALL=


[r...@localhost fltk-1.3.x-r6592]# gcc --version
gcc (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[r...@localhost fltk-1.3.x-r6592]# autoconf --version
autoconf (GNU Autoconf) 2.57
Written by David J. MacKenzie and Akim Demaille.

Copyright 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.



below is configure:


[r...@localhost fltk-1.3.x-r6592]# make distclean
=== cleaning src ===
=== cleaning fluid ===
=== cleaning test ===
=== cleaning documentation ===


[r...@localhost fltk-1.3.x-r6592]# autoconf


[r...@localhost fltk-1.3.x-r6592]# ./configure
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for nroff... /usr/bin/nroff
checking for htmldoc... no
checking for doxygen... /usr/bin/doxygen
checking for ranlib... ranlib
checking for ar... /usr/bin/ar
checking whether byte ordering is bigendian... no
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for short... yes
checking size of short... 2
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking whether the compiler recognizes bool as a built-in type... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/stdtypes.h usability... no
checking sys/stdtypes.h presence... no
checking for sys/stdtypes.h... no
checking for scandir... yes
checking for vsnprintf... yes
checking for snprintf... yes
checking for strings.h... (cached) yes
checking for strcasecmp... yes
checking for strlcat... no
checking for strlcpy... no
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for localeconv... yes
checking for library containing pow... -lm
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGE_FILES value needed for large files... no
checking for long long int... yes
checking for strtoll... yes
checking for library containing dlsym... -ldl
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking alsa/asoundlib.h usability... no
checking alsa/asoundlib.h presence... no
checking for alsa/asoundlib.h... no
checking for jpeg_CreateCompress in -ljpeg... yes
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking for gzgets in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for png_read_info in -lpng... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking libpng/png.h usability... yes
checking libpng/png.h presence... yes
checking for libpng/png.h... yes
checking for png_get_valid in -lpng... yes
checking for png_set_tRNS_to_alpha in -lpng... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_create using -lpthreads... no
checking for pthread_create using -lpthread... yes
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
configure: WARNING: Ignoring libraries " -lSM -lICE" requested by configure.
checking for library containing dlopen... none required
checking GL/gl.h usability... yes
checking GL/gl.h presence... yes
checking for GL/gl.h... yes
checking for glXMakeCurrent in -lGL... yes
checking for glXGetProcAddressARB in -lGL... yes
checking GL/glu.h usability... yes
checking GL/glu.h presence... yes
checking for GL/glu.h... yes
checking for XineramaIsActive in -lXinerama... no
checking for freetype-config... /usr/bin/freetype-config
checking X11/Xft/Xft.h usability... yes
checking X11/Xft/Xft.h presence... yes
checking for X11/Xft/Xft.h... yes
checking for XftDrawCreate in -lXft... yes
checking for X11/extensions/Xdbe.h... yes
checking for XdbeQueryExtension in -lXext... yes
checking for xprop... /usr/X11R6/bin/xprop
checking for X overlay visuals... no
checking if GCC supports -fno-exceptions... yes
checking if GCC supports -fno-strict-aliasing... yes

Configuration Summary
-------------------------------------------------------------------------
    Directories: prefix=/usr/local
                 bindir=${exec_prefix}/bin
                 datadir=${prefix}/share
                 datarootdir=
                 exec_prefix=${prefix}
                 includedir=${prefix}/include
                 libdir=${exec_prefix}/lib
                 mandir=${prefix}/man
       Graphics: X11+Xft+Xdbe+Xinerama
Image Libraries: JPEG=System
                 PNG=System
                 ZLIB=System
    Large Files: YES
         OpenGL: YES
        Threads: YES
configure: creating ./config.status
config.status: creating makeinclude
config.status: creating fltk.list
config.status: creating fltk-config
config.status: creating fltk.spec
config.status: creating FL/Makefile
config.status: creating config.h



[r...@localhost fltk-1.3.x-r6592]# make
=== making src ===
/*...*/
Compiling Fl_x.cxx...
Fl_x.cxx:341:2: warning: #warning XFT support here
Fl_x.cxx:453:2: warning: #warning XFT support here
/*.....*/
Compiling fl_font.cxx...
In file included from fl_font.cxx:56:
fl_font_xft.cxx:557:2: warning: #warning Need to improve this XFT right to left
draw function
/*....*/
Compiling xutf8/utf8Input.c...
xutf8/lcUniConv/big5.h:4103: warning: `big5_wctomb' defined but not used
xutf8/lcUniConv/gb2312.h:2518: warning: `gb2312_wctomb' defined but not used
xutf8/lcUniConv/jisx0201.h:30: warning: `jisx0201_wctomb' defined but not used
xutf8/lcUniConv/jisx0208.h:2360: warning: `jisx0208_wctomb' defined but not 
usedxutf8/lcUniConv/jisx0212.h:2135: warning: `jisx0212_wctomb' defined but not 
usedxutf8/lcUniConv/ksc5601.h:2966: warning: `ksc5601_wctomb' defined but not 
used
Compiling xutf8/utf8Utils.c...
Compiling xutf8/utf8Wrap.c...
xutf8/lcUniConv/big5.h:1857: warning: `big5_mbtowc' defined but not used
xutf8/lcUniConv/gb2312.h:1065: warning: `gb2312_mbtowc' defined but not used
xutf8/lcUniConv/iso8859_10.h:30: warning: `iso8859_10_mbtowc' defined but not 
used
xutf8/lcUniConv/iso8859_11.h:30: warning: `iso8859_11_mbtowc' defined but not 
used
xutf8/lcUniConv/iso8859_13.h:30: warning: `iso8859_13_mbtowc' defined but not 
used
xutf8/lcUniConv/iso8859_14.h:30: warning: `iso8859_14_mbtowc' defined but not 
used
xutf8/lcUniConv/iso8859_15.h:18: warning: `iso8859_15_mbtowc' defined but not 
used
xutf8/lcUniConv/iso8859_2.h:30: warning: `iso8859_2_mbtowc' defined but not 
usedxutf8/lcUniConv/iso8859_2.h:79: warning: `iso8859_2_wctomb' defined but not 
usedxutf8/lcUniConv/iso8859_3.h:30: warning: `iso8859_3_mbtowc' defined but not 
usedxutf8/lcUniConv/iso8859_4.h:30: warning: `iso8859_4_mbtowc' defined but not 
usedxutf8/lcUniConv/iso8859_5.h:30: warning: `iso8859_5_mbtowc' defined but not 
usedxutf8/lcUniConv/iso8859_6.h:30: warning: `iso8859_6_mbtowc' defined but not 
usedxutf8/lcUniConv/iso8859_7.h:30: warning: `iso8859_7_mbtowc' defined but not 
usedxutf8/lcUniConv/iso8859_8.h:30: warning: `iso8859_8_mbtowc' defined but not 
usedxutf8/lcUniConv/iso8859_9.h:21: warning: `iso8859_9_mbtowc' defined but not 
usedxutf8/lcUniConv/jisx0201.h:9: warning: `jisx0201_mbtowc' defined but not 
used
xutf8/lcUniConv/jisx0208.h:996: warning: `jisx0208_mbtowc' defined but not used
xutf8/lcUniConv/jisx0212.h:897: warning: `jisx0212_mbtowc' defined but not used
xutf8/lcUniConv/koi8_r.h:38: warning: `koi8_r_mbtowc' defined but not used
xutf8/lcUniConv/koi8_u.h:38: warning: `koi8_u_mbtowc' defined but not used
xutf8/lcUniConv/ksc5601.h:1172: warning: `ksc5601_mbtowc' defined but not used
xutf8/lcUniConv/cp1251.h:36: warning: `cp1251_mbtowc' defined but not used
/usr/bin/ar cr ../lib/libfltk.a ...
Compiling forms_compatability.cxx...
Compiling forms_bitmap.cxx...
Compiling forms_free.cxx...
Compiling forms_fselect.cxx...
Compiling forms_pixmap.cxx...
Compiling forms_timer.cxx...
/usr/bin/ar cr ../lib/libfltk_forms.a ...
Compiling Fl_Gl_Choice.cxx...
Compiling Fl_Gl_Overlay.cxx...
Compiling Fl_Gl_Window.cxx...
Compiling freeglut_geometry.cxx...
Compiling freeglut_stroke_mono_roman.cxx...
Compiling freeglut_stroke_roman.cxx...
Compiling freeglut_teapot.cxx...
Compiling gl_draw.cxx...
gl_draw.cxx:78:6: warning: #warning We really need a glXUseXftFont 
implementation here...
Compiling gl_start.cxx...
Compiling glut_compatability.cxx...
Compiling glut_font.cxx...
glut_font.cxx:118:2: warning: #warning FIXME This needs to be UTF aware now
/usr/bin/ar cr ../lib/libfltk_gl.a ...
Compiling fl_images_core.cxx...
Compiling Fl_BMP_Image.cxx...
Compiling Fl_File_Icon2.cxx...
Compiling Fl_GIF_Image.cxx...
Compiling Fl_Help_Dialog.cxx...
Compiling Fl_JPEG_Image.cxx...
Compiling Fl_PNG_Image.cxx...
Compiling Fl_PNM_Image.cxx...
/usr/bin/ar cr ../lib/libfltk_images.a ...
=== making fluid ===
Compiling CodeEditor.cxx...
Compiling Fl_Function_Type.cxx...
Compiling Fl_Group_Type.cxx...
Compiling Fl_Menu_Type.cxx...
Compiling Fl_Type.cxx...
Compiling Fl_Widget_Type.cxx...
Compiling Fl_Window_Type.cxx...
Compiling Fluid_Image.cxx...
Compiling about_panel.cxx...
Compiling align_widget.cxx...
Compiling alignment_panel.cxx...
Compiling code.cxx...
Compiling factory.cxx...
Compiling file.cxx...
Compiling fluid.cxx...
Compiling function_panel.cxx...
Compiling template_panel.cxx...
Compiling undo.cxx...
Compiling widget_panel.cxx...
Linking fluid...








_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to