Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem compiling FLTK under Solaris 8, gcc 3.1

Status
Not open for further replies.

relz

Technical User
May 5, 2002
23
IL
Hi,
I'm trying to compile a program called FLTK (you can check it out at and I'm getting compilation errors that I don't know how to deal with.
Here's an abstract:
------------------
Code:
checking X11/extensions/Xdbe.h usability... no
checking X11/extensions/Xdbe.h presence... yes
configure: WARNING: X11/extensions/Xdbe.h: present but cannot be compiled
configure: WARNING: X11/extensions/Xdbe.h: check for missing prerequisite headers?
configure: WARNING: X11/extensions/Xdbe.h: proceeding with the preprocessor's result

/usr/openwin/include/X11/Xlib.h:32: warning: ignoring #pragma ident
In file included from ../fltk/x.h:54,
                 from Fl.cxx:28:
/usr/openwin/include/X11/Xutil.h:56: warning: ignoring #pragma ident
...

ld: fatal: Symbol referencing errors. No output written to fluid
collect2: ld returned 1 exit status
make[1]: *** [fluid] Error 1
make[1]: Leaving directory `/usr/local/fltk-2.0.x/fluid'
-------------------------------------------
And the full output of the "build" script is:

Code:
checking for ranlib... ranlib
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 whether we are using the GNU C++ compiler... yes
checking whether gcc accepts -g... yes
checking whether byte ordering is bigendian... yes
checking how to run the C++ preprocessor... gcc -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... no
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 for dirent.h that defines DIR... yes
checking for library containing opendir... no
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for scandir... no
checking for vsnprintf... yes
checking for snprintf... yes
checking for strcasecmp... yes
checking for vsprintf... yes
checking for strtok_r... no
checking for X... libraries /usr/openwin/lib, headers /usr/openwin/include
checking for XOpenDisplay in -lX11... no
checking for XdbeQueryExtension in -lXext... no
checking for glXMakeCurrent in -lGL... no
checking for glXMakeCurrent in -lMesaGL... no
checking png.h usability... no
checking png.h presence... no
checking for png.h... no
checking jpeglib.h usability... no
checking jpeglib.h presence... no
checking for jpeglib.h... no
checking X11/extensions/Xdbe.h usability... no
checking X11/extensions/Xdbe.h presence... yes
configure: WARNING: X11/extensions/Xdbe.h: present but cannot be compiled
configure: WARNING: X11/extensions/Xdbe.h: check for missing prerequisite headers?
configure: WARNING: X11/extensions/Xdbe.h: proceeding with the preprocessor's result
checking for X11/extensions/Xdbe.h... yes
checking "for X overlay visuals"... (cached) no
checking for pthread_create in -lc... no
checking for pthread_create in -lpthread... no
checking for dlopen in -lc... no
checking for dlopen in -ldl... no
Testing if GCC supports -fno-exceptions...
Congratulations - your GCC supports exceptions; disabling them for FLTK...
Testing if GCC supports -fpermissive...
Enabling -fpermissive to work around X header bugs...
checking for dlopen in -lc... no
checking for dlopen in -ldl... no
Testing if GCC supports -fno-exceptions...
Congratulations - your GCC supports exceptions; disabling them for FLTK...
Testing if GCC supports -fpermissive...
Enabling -fpermissive to work around X header bugs...
configure: creating ./config.status
config.status: creating makeinclude
config.status: creating fltk-config
config.status: creating config.h
config.status: config.h is unchanged
make[1]: Entering directory `/usr/local/fltk-2.0.x/src'
make[1]: Leaving directory `/usr/local/fltk-2.0.x/src'
make[1]: Entering directory `/usr/local/fltk-2.0.x/images'
make[1]: Leaving directory `/usr/local/fltk-2.0.x/images'
make[1]: Entering directory `/usr/local/fltk-2.0.x/fluid'
make[1]: Leaving directory `/usr/local/fltk-2.0.x/fluid'
make[1]: Entering directory `/usr/local/fltk-2.0.x/forms'
make[1]: Leaving directory `/usr/local/fltk-2.0.x/forms'
make[1]: Entering directory `/usr/local/fltk-2.0.x/OpenGL'
make[1]: Leaving directory `/usr/local/fltk-2.0.x/OpenGL'
make[1]: Entering directory `/usr/local/fltk-2.0.x/glut'
make[1]: Leaving directory `/usr/local/fltk-2.0.x/glut'
make[1]: Entering directory `/usr/local/fltk-2.0.x/themes'
make[1]: Leaving directory `/usr/local/fltk-2.0.x/themes'
make[1]: Entering directory `/usr/local/fltk-2.0.x/test'
Makefile:100: makedepend: No such file or directory
make[1]: *** No rule to make target `makedepend'.  Stop.
make[1]: Leaving directory `/usr/local/fltk-2.0.x/test'
make[1]: Entering directory `/usr/local/fltk-2.0.x/src'
gcc -M -I.. -O2 -Wall -DFL_SHARED  -I/usr/openwin/include -fno-exceptions -fpermissive 
Fl.cxx Fl_Adjuster.cxx Fl_Align_Group.cxx Fl_Bar.cxx Fl_Bitmap.cxx fl_bmp.cxx Fl_Browse
r.cxx Fl_Box.cxx Fl_Boxtype.cxx Fl_Button.cxx Fl_Check_Button.cxx Fl_Choice.cxx Fl_Cloc
k.cxx Fl_Color_Chooser.cxx Fl_Counter.cxx Fl_Dial.cxx Fl_Double_Window.cxx Fl_FileBrows
er.cxx Fl_FileChooser.cxx Fl_FileChooser2.cxx Fl_FileIcon.cxx Fl_FileIcon2.cxx Fl_FileI
nput.cxx Fl_Float_Input.cxx fl_gif.cxx Fl_Group.cxx Fl_Highlight_Button.cxx Fl_Image.cx
x Fl_Input.cxx Fl_Input_Browser.cxx Fl_Item.cxx Fl_Light_Button.cxx Fl_Menu.cxx Fl_Menu
_.cxx Fl_Menu_add.cxx Fl_Menu_Bar.cxx Fl_Menu_Button.cxx Fl_Menu_Item.cxx Fl_Menu_Windo
w.cxx Fl_Menu_global.cxx Fl_Multi_Image.cxx Fl_Numeric_Input.cxx Fl_Output.cxx Fl_Overl
ay_Window.cxx Fl_Pack.cxx Fl_Pixmap.cxx Fl_ProgressBar.cxx Fl_Radio_Button.cxx Fl_Repea
t_Button.cxx Fl_Return_Button.cxx Fl_RGB_Image.cxx Fl_Roller.cxx Fl_Scroll.cxx Fl_Scrol
lbar.cxx Fl_Shaped_Window.cxx Fl_Single_Window.cxx Fl_Slider.cxx Fl_String_List.cxx Fl_
Style.cxx Fl_Style_Set.cxx Fl_Tabs.cxx Fl_Text_Buffer.cxx Fl_Text_Display.cxx Fl_Text_E
ditor.cxx Fl_Tile.cxx Fl_Tiled_Image.cxx Fl_Tooltip.cxx Fl_Valuator.cxx Fl_Value_Input.
cxx Fl_Value_Output.cxx Fl_Value_Slider.cxx Fl_Widget.cxx Fl_Window.cxx Fl_Window_fulls
creen.cxx Fl_Window_hotspot.cxx Fl_Window_iconize.cxx Fl_abort.cxx Fl_add_idle.cxx Fl_a
rg.cxx Fl_compose.cxx Fl_display.cxx Fl_get_key.cxx Fl_key_name.cxx Fl_lock.cxx Fl_own_
colormap.cxx Fl_visual.cxx filename_absolute.cxx filename_expand.cxx filename_ext.cxx f
ilename_isdir.cxx filename_list.cxx filename_match.cxx filename_setext.cxx fl_arc.cxx f
l_arci.cxx fl_ask.cxx fl_clip.cxx fl_color.cxx fl_cursor.cxx fl_curve.cxx fl_diamond_bo
x.cxx fl_dnd.cxx fl_draw.cxx fl_draw_image.cxx fl_draw_pixmap.cxx fl_engraved_label.cxx
 fl_file_chooser.cxx fl_font.cxx fl_glyph.cxx fl_labeltype.cxx fl_list_fonts.cxx fl_loa
d_plugin.cxx fl_oval_box.cxx fl_overlay.cxx fl_overlay_visual.cxx fl_plastic_box.cxx fl
_rect.cxx fl_round_box.cxx fl_rounded_box.cxx fl_rgb.cxx fl_scroll_area.cxx Fl_Shared_I
mage.cxx fl_shadow_box.cxx fl_show_colormap.cxx fl_symbols.cxx fl_vertex.cxx fl_xpm.cxx
 fltk_theme.cxx scandir.c vsnprintf.c > makedepend
sed -e "s'\.o'\.shared\.o'" makedepend > foo
cat foo >> makedepend
rm foo
make[1]: Leaving directory `/usr/local/fltk-2.0.x/src'
make[1]: Entering directory `/usr/local/fltk-2.0.x/images'
gcc -M -I.. -O2 -Wall -DFL_SHARED  -I/usr/openwin/include -fno-exceptions -fpermissive 
Fl_Guess_Image.cxx fl_jpeg.cxx fl_png.cxx > makedepend
Fl_Guess_Image.cxx fl_jpeg.cxx fl_png.cxx > makedepend
sed -e "s'\.o'\.shared\.o'" makedepend > foo
cat foo >> makedepend
rm foo
make[1]: Leaving directory `/usr/local/fltk-2.0.x/images'
make[1]: Entering directory `/usr/local/fltk-2.0.x/fluid'
gcc -M -I.. -O2 -Wall -DFL_SHARED  -I/usr/openwin/include -fno-exceptions -fpermissive 
Fl_Function_Type.cxx Fl_Menu_Type.cxx Fl_Group_Type.cxx Fl_Widget_Type.cxx Fl_Type.cxx 
Fl_Window_Type.cxx Fluid_Image.cxx Fluid_Plugins.cxx code.cxx factory.cxx file.cxx flui
d.cxx about_panel.cxx widget_panel.cxx alignment_panel.cxx function_panel.cxx coding_st
yle.cxx coding_style_func.cxx   > makedepend
make[1]: Leaving directory `/usr/local/fltk-2.0.x/fluid'
make[1]: Entering directory `/usr/local/fltk-2.0.x/forms'
gcc -M -I.. -O2 -Wall -DFL_SHARED  -I/usr/openwin/include -fno-exceptions -fpermissive 
Fl_Chart.cxx Fl_Positioner.cxx forms_bitmap.cxx forms_compatability.cxx forms_free.cxx 
forms_fselect.cxx forms_pixmap.cxx forms_timer.cxx fl_load_browser.cxx > makedepend
sed -e "s'\.o'\.shared\.o'" makedepend > foo
cat foo >> makedepend
rm foo
make[1]: Leaving directory `/usr/local/fltk-2.0.x/forms'
make[1]: Entering directory `/usr/local/fltk-2.0.x/OpenGL'
gcc -M -I.. -O2 -Wall -DFL_SHARED  -I/usr/openwin/include -fno-exceptions -fpermissive 
Fl_Gl_Choice.cxx Fl_Gl_Overlay.cxx Fl_Gl_Window.cxx gl_draw.cxx gl_start.cxx > makedepe
nd
sed -e "s'\.o'\.shared\.o'" makedepend > foo
cat foo >> makedepend
rm foo
make[1]: Leaving directory `/usr/local/fltk-2.0.x/OpenGL'
make[1]: Entering directory `/usr/local/fltk-2.0.x/glut'
gcc -M -I.. -O2 -Wall -DFL_SHARED  -I/usr/openwin/include -fno-exceptions -fpermissive 
glut_compatability.cxx glut_font.cxx > makedepend
sed -e "s'\.o'\.shared\.o'" makedepend > foo
cat foo >> makedepend
rm foo
make[1]: Leaving directory `/usr/local/fltk-2.0.x/glut'
make[1]: Entering directory `/usr/local/fltk-2.0.x/themes'
gcc -M -I.. -O2 -Wall -DFL_SHARED  -I/usr/openwin/include -fno-exceptions -fpermissive 
  > makedepend
gcc: no input files
make[1]: *** [depend] Error 1
make[1]: Leaving directory `/usr/local/fltk-2.0.x/themes'
make[1]: Entering directory `/usr/local/fltk-2.0.x/src'
Compiling Fl.cxx...
In file included from ../fltk/x.h:53,
                 from Fl.cxx:28:
/usr/openwin/include/X11/Xlib.h:32: warning: ignoring #pragma ident
In file included from ../fltk/x.h:54,
                 from Fl.cxx:28:
/usr/openwin/include/X11/Xutil.h:56: warning: ignoring #pragma ident
Compiling Fl_Adjuster.cxx...
Compiling Fl_Align_Group.cxx...
Compiling Fl_Bar.cxx...
Compiling Fl_Bitmap.cxx...
In file included from ../fltk/x.h:53,
                 from Fl_Bitmap.cxx:27:
/usr/openwin/include/X11/Xlib.h:32: warning: ignoring #pragma ident
In file included from ../fltk/x.h:54,
                 from Fl_Bitmap.cxx:27:
/usr/openwin/include/X11/Xutil.h:56: warning: ignoring #pragma ident
Compiling fl_bmp.cxx...
In file included from ../fltk/x.h:53,
                 from fl_bmp.cxx:35:
/usr/openwin/include/X11/Xlib.h:32: warning: ignoring #pragma ident
In file included from ../fltk/x.h:54,
                 from fl_bmp.cxx:35:
gcc -M -I.. -O2 -Wall -DFL_SHARED  -I/usr/openwin/include -fno-exceptions -fpermissive 
Fl_Gl_Choice.cxx Fl_Gl_Overlay.cxx Fl_Gl_Window.cxx gl_draw.cxx gl_start.cxx > makedepe
nd
sed -e "s'\.o'\.shared\.o'" makedepend > foo
cat foo >> makedepend
rm foo
make[1]: Leaving directory `/usr/local/fltk-2.0.x/OpenGL'
make[1]: Entering directory `/usr/local/fltk-2.0.x/glut'
gcc -M -I.. -O2 -Wall -DFL_SHARED  -I/usr/openwin/include -fno-exceptions -fpermissive 
glut_compatability.cxx glut_font.cxx > makedepend
sed -e "s'\.o'\.shared\.o'" makedepend > foo
cat foo >> makedepend
rm foo
make[1]: Leaving directory `/usr/local/fltk-2.0.x/glut'
make[1]: Entering directory `/usr/local/fltk-2.0.x/themes'
gcc -M -I.. -O2 -Wall -DFL_SHARED  -I/usr/openwin/include -fno-exceptions -fpermissive 
  > makedepend
gcc: no input files
make[1]: *** [depend] Error 1
make[1]: Leaving directory `/usr/local/fltk-2.0.x/themes'
make[1]: Entering directory `/usr/local/fltk-2.0.x/src'
Compiling Fl.cxx...
In file included from ../fltk/x.h:53,
                 from Fl.cxx:28:
/usr/openwin/include/X11/Xlib.h:32: warning: ignoring #pragma ident
In file included from ../fltk/x.h:54,
                 from Fl.cxx:28:
/usr/openwin/include/X11/Xutil.h:56: warning: ignoring #pragma ident
Compiling Fl_Adjuster.cxx...
Compiling Fl_Align_Group.cxx...
Compiling Fl_Bar.cxx...
Compiling Fl_Bitmap.cxx...
In file included from ../fltk/x.h:53,
                 from Fl_Bitmap.cxx:27:
/usr/openwin/include/X11/Xlib.h:32: warning: ignoring #pragma ident
In file included from ../fltk/x.h:54,
                 from Fl_Bitmap.cxx:27:
/usr/openwin/include/X11/Xutil.h:56: warning: ignoring #pragma ident
Compiling fl_bmp.cxx...
In file included from ../fltk/x.h:53,
                 from fl_bmp.cxx:35:
/usr/openwin/include/X11/Xlib.h:32: warning: ignoring #pragma ident
In file included from ../fltk/x.h:54,
                 from fl_bmp.cxx:35:
/usr/openwin/include/X11/Xutil.h:56: warning: ignoring #pragma ident
Compiling Fl_Browser.cxx...
Compiling Fl_Box.cxx...
Compiling Fl_Boxtype.cxx...
In file included from ../fltk/x.h:53,
                 from Fl_Boxtype.cxx:35:
/usr/openwin/include/X11/Xlib.h:32: warning: ignoring #pragma ident
In file included from ../fltk/x.h:54,
                 from Fl_Boxtype.cxx:35:
/usr/openwin/include/X11/Xutil.h:56: warning: ignoring #pragma ident
Compiling Fl_Button.cxx...
Compiling Fl_Check_Button.cxx...
Compiling Fl_Choice.cxx...
Compiling Fl_Clock.cxx...
Compiling Fl_Color_Chooser.cxx...
Compiling Fl_Counter.cxx...
Compiling Fl_Dial.cxx...
Compiling Fl_Double_Window.cxx...
In file included from ../fltk/x.h:53,
                 from Fl_Double_Window.cxx:29:
/usr/openwin/include/X11/Xlib.h:32: warning: ignoring #pragma ident
In file included from ../fltk/x.h:54,
                 from Fl_Double_Window.cxx:29:
/usr/openwin/include/X11/Xutil.h:56: warning: ignoring #pragma ident
Compiling Fl_FileBrowser.cxx...
Compiling Fl_FileChooser.cxx...
Compiling Fl_FileChooser2.cxx...
Compiling Fl_FileIcon.cxx...
Compiling Fl_FileIcon2.cxx...
Compiling Fl_FileInput.cxx...
Compiling Fl_Float_Input.cxx...
Compiling fl_gif.cxx...
In file included from ../fltk/x.h:53,
                 from fl_gif.cxx:51:
/usr/openwin/include/X11/Xlib.h:32: warning: ignoring #pragma ident
In file included from ../fltk/x.h:54,
                 from fl_gif.cxx:51:
/usr/openwin/include/X11/Xutil.h:56: warning: ignoring #pragma ident
Compiling Fl_Group.cxx...
Compiling Fl_Highlight_Button.cxx...
Compiling Fl_Image.cxx...
In file included from ../fltk/x.h:53,
                 from Fl_Image.cxx:28:
/usr/openwin/include/X11/Xlib.h:32: warning: ignoring #pragma ident
In file included from ../fltk/x.h:54,
                 from Fl_Image.cxx:28:
/usr/openwin/include/X11/Xutil.h:56: warning: ignoring #pragma ident
Compiling Fl_Input.cxx...
Compiling Fl_Input_Browser.cxx...
Compiling Fl_Item.cxx...
Compiling Fl_Light_Button.cxx...
Compiling Fl_Menu.cxx...
Compiling Fl_Menu_.cxx...
Compiling Fl_Menu_add.cxx...
Compiling Fl_Menu_Bar.cxx...
Compiling Fl_Menu_Button.cxx...
Compiling Fl_Menu_Item.cxx...
Compiling Fl_Menu_Window.cxx...
In file included from ../fltk/x.h:53,
                 from Fl_Menu_Window.cxx:28:
/usr/openwin/include/X11/Xlib.h:32: warning: ignoring #pragma ident
In file included from ../fltk/x.h:54,
                 from Fl_Menu_Window.cxx:28:
/usr/openwin/include/X11/Xutil.h:56: warning: ignoring #pragma ident
Compiling Fl_Menu_global.cxx...
Compiling Fl_Multi_Image.cxx...
Compiling Fl_Numeric_Input.cxx...
Compiling Fl_Output.cxx...
Compiling Fl_Overlay_Window.cxx...
In file included from ../fltk/x.h:53,
                 from Fl_Overlay_Window.cxx:34:
/usr/openwin/include/X11/Xlib.h:32: warning: ignoring #pragma ident
In file included from ../fltk/x.h:54,
                 from Fl_Overlay_Window.cxx:34:
/usr/openwin/include/X11/Xutil.h:56: warning: ignoring #pragma ident
Compiling Fl_Pack.cxx...
Compiling Fl_Pixmap.cxx...
In file included from ../fltk/x.h:53,
                 from Fl_Pixmap.cxx:34:
/usr/openwin/include/X11/Xlib.h:32: warning: ignoring #pragma ident
In file included from ../fltk/x.h:54,
                 from Fl_Pixmap.cxx:34:
/usr/openwin/include/X11/Xutil.h:56: warning: ignoring #pragma ident
Compiling Fl_ProgressBar.cxx...
Compiling Fl_Radio_Button.cxx...
Compiling Fl_Repeat_Button.cxx...
Compiling Fl_Return_Button.cxx...
Compiling Fl_RGB_Image.cxx...
In file included from ../fltk/x.h:53,
                 from Fl_RGB_Image.cxx:28:
/usr/openwin/include/X11/Xlib.h:32: warning: ignoring #pragma ident
In file included from ../fltk/x.h:54,
                 from Fl_RGB_Image.cxx:28:
/usr/openwin/include/X11/Xutil.h:56: warning: ignoring #pragma ident
Compiling Fl_Roller.cxx...
Compiling Fl_Scroll.cxx...
Compiling Fl_Scrollbar.cxx...
Compiling Fl_Shaped_Window.cxx...
In file included from ../fltk/x.h:53,
                 from Fl_Shaped_Window.cxx:27:
/usr/openwin/include/X11/Xlib.h:32: warning: ignoring #pragma ident
In file included from ../fltk/x.h:54,
                 from Fl_Shaped_Window.cxx:27:
/usr/openwin/include/X11/Xutil.h:56: warning: ignoring #pragma ident
Compiling Fl_Single_Window.cxx...
Compiling Fl_Slider.cxx...
Compiling Fl_String_List.cxx...
Compiling Fl_Style.cxx...
Compiling Fl_Style_Set.cxx...
Compiling Fl_Tabs.cxx...
Compiling Fl_Text_Buffer.cxx...
Compiling Fl_Text_Display.cxx...
Compiling Fl_Text_Editor.cxx...
Compiling Fl_Tile.cxx...
Compiling Fl_Tiled_Image.cxx...
Compiling Fl_Tooltip.cxx...
Compiling Fl_Valuator.cxx...
Compiling Fl_Value_Input.cxx...
Compiling Fl_Value_Output.cxx...
Compiling Fl_Value_Slider.cxx...
Compiling Fl_Widget.cxx...
Compiling Fl_Window.cxx...
In file included from ../fltk/x.h:53,
                 from Fl_Window.cxx:33:
/usr/openwin/include/X11/Xlib.h:32: warning: ignoring #pragma ident
In file included from ../fltk/x.h:54,
                 from Fl_Window.cxx:33:
/usr/openwin/include/X11/Xutil.h:56: warning: ignoring #pragma ident
Compiling Fl_Window_fullscreen.cxx...
In file included from ../fltk/x.h:53,
                 from Fl_Window_fullscreen.cxx:28:
/usr/openwin/include/X11/Xlib.h:32: warning: ignoring #pragma ident
In file included from ../fltk/x.h:54,
                 from Fl_Window_fullscreen.cxx:28:
/usr/openwin/include/X11/Xutil.h:56: warning: ignoring #pragma ident
Compiling Fl_Window_hotspot.cxx...
Compiling Fl_Window_iconize.cxx...
In file included from ../fltk/x.h:53,
                 from Fl_Window_iconize.cxx:27:
/usr/openwin/include/X11/Xlib.h:32: warning: ignoring #pragma ident
In file included from ../fltk/x.h:54,
                 from Fl_Window_iconize.cxx:27:
/usr/openwin/include/X11/Xutil.h:56: warning: ignoring #pragma ident
Compiling Fl_abort.cxx...
Compiling Fl_add_idle.cxx...
Compiling Fl_arg.cxx...
In file included from ../fltk/x.h:53,
                 from Fl_arg.cxx:33:
/usr/openwin/include/X11/Xlib.h:32: warning: ignoring #pragma ident
In file included from ../fltk/x.h:54,
                 from Fl_arg.cxx:33:
/usr/openwin/include/X11/Xutil.h:56: warning: ignoring #pragma ident
Compiling Fl_compose.cxx...
Compiling Fl_display.cxx...
Compiling Fl_get_key.cxx...
In file included from ../fltk/x.h:53,
                 from Fl_get_key.cxx:35:
/usr/openwin/include/X11/Xlib.h:32: warning: ignoring #pragma ident
In file included from ../fltk/x.h:54,
                 from Fl_get_key.cxx:35:
/usr/openwin/include/X11/Xutil.h:56: warning: ignoring #pragma ident
Compiling Fl_key_name.cxx...
In file included from ../fltk/x.h:53,
                 from Fl_key_name.cxx:32:
/usr/openwin/include/X11/Xlib.h:32: warning: ignoring #pragma ident
In file included from ../fltk/x.h:54,
                 from Fl_key_name.cxx:32:
/usr/openwin/include/X11/Xutil.h:56: warning: ignoring #pragma ident
Compiling Fl_lock.cxx...
Compiling Fl_own_colormap.cxx...
In file included from ../fltk/x.h:53,
                 from Fl_own_colormap.cxx:36:
/usr/openwin/include/X11/Xlib.h:32: warning: ignoring #pragma ident
In file included from ../fltk/x.h:54,
                 from Fl_own_colormap.cxx:36:
/usr/openwin/include/X11/Xutil.h:56: warning: ignoring #pragma ident
Compiling Fl_visual.cxx...
In file included from ../fltk/x.h:53,
                 from Fl_visual.cxx:30:
/usr/openwin/include/X11/Xlib.h:32: warning: ignoring #pragma ident
In file included from ../fltk/x.h:54,
                 from Fl_visual.cxx:30:
/usr/openwin/include/X11/Xutil.h:56: warning: ignoring #pragma ident
Compiling filename_absolute.cxx...
Compiling filename_expand.cxx...
Compiling filename_ext.cxx...
Compiling filename_isdir.cxx...
Compiling filename_list.cxx...
Compiling filename_match.cxx...
Compiling filename_setext.cxx...
Compiling fl_arc.cxx...
Compiling fl_arci.cxx...
In file included from ../fltk/x.h:53,
                 from fl_arci.cxx:37:
/usr/openwin/include/X11/Xlib.h:32: warning: ignoring #pragma ident
In file included from ../fltk/x.h:54,
                 from fl_arci.cxx:37:
/usr/openwin/include/X11/Xutil.h:56: warning: ignoring #pragma ident
Compiling fl_ask.cxx...
Compiling fl_clip.cxx...
In file included from ../fltk/x.h:53,
                 from fl_clip.cxx:28:
/usr/openwin/include/X11/Xlib.h:32: warning: ignoring #pragma ident
In file included from ../fltk/x.h:54,
                 from fl_clip.cxx:28:
/usr/openwin/include/X11/Xutil.h:56: warning: ignoring #pragma ident
Compiling fl_color.cxx...
In file included from ../fltk/x.h:53,
                 from fl_color_x.cxx:29,
                 from fl_color.cxx:106:
/usr/openwin/include/X11/Xlib.h:32: warning: ignoring #pragma ident
In file included from ../fltk/x.h:54,
                 from fl_color_x.cxx:29,
                 from fl_color.cxx:106:
/usr/openwin/include/X11/Xutil.h:56: warning: ignoring #pragma ident
Compiling fl_cursor.cxx...
In file included from ../fltk/x.h:53,
                 from fl_cursor.cxx:34:
/usr/openwin/include/X11/Xlib.h:32: warning: ignoring #pragma ident
In file included from ../fltk/x.h:54,
                 from fl_cursor.cxx:34:
/usr/openwin/include/X11/Xutil.h:56: warning: ignoring #pragma ident
Compiling fl_curve.cxx...
Compiling fl_diamond_box.cxx...
Compiling fl_dnd.cxx...
In file included from ../fltk/x.h:53,
                 from fl_dnd_x.cxx:28,
                 from fl_dnd.cxx:29:
/usr/openwin/include/X11/Xlib.h:32: warning: ignoring #pragma ident
In file included from ../fltk/x.h:54,
                 from fl_dnd_x.cxx:28,
                 from fl_dnd.cxx:29:
/usr/openwin/include/X11/Xutil.h:56: warning: ignoring #pragma ident
Compiling fl_draw.cxx...
Compiling fl_draw_image.cxx...
In file included from ../fltk/x.h:53,
                 from fl_draw_image.cxx:29:
/usr/openwin/include/X11/Xlib.h:32: warning: ignoring #pragma ident
In file included from ../fltk/x.h:54,
                 from fl_draw_image.cxx:29:
/usr/openwin/include/X11/Xutil.h:56: warning: ignoring #pragma ident
Compiling fl_draw_pixmap.cxx...
Compiling fl_engraved_label.cxx...
Compiling fl_file_chooser.cxx...
Compiling fl_font.cxx...
In file included from ../fltk/x.h:53,
                 from fl_font_x.cxx:28,
                 from fl_font.cxx:41:
/usr/openwin/include/X11/Xlib.h:32: warning: ignoring #pragma ident
In file included from ../fltk/x.h:54,
                 from fl_font_x.cxx:28,
                 from fl_font.cxx:41:
/usr/openwin/include/X11/Xutil.h:56: warning: ignoring #pragma ident
Compiling fl_glyph.cxx...
Compiling fl_labeltype.cxx...
Compiling fl_list_fonts.cxx...
In file included from ../fltk/x.h:53,
                 from fl_list_fonts_x.cxx:41,
                 from fl_list_fonts.cxx:34:
/usr/openwin/include/X11/Xlib.h:32: warning: ignoring #pragma ident
In file included from ../fltk/x.h:54,
                 from fl_list_fonts_x.cxx:41,
                 from fl_list_fonts.cxx:34:
/usr/openwin/include/X11/Xutil.h:56: warning: ignoring #pragma ident
Compiling fl_load_plugin.cxx...
Compiling fl_oval_box.cxx...
Compiling fl_overlay.cxx...
In file included from ../fltk/x.h:53,
                 from fl_overlay.cxx:31:
/usr/openwin/include/X11/Xlib.h:32: warning: ignoring #pragma ident
In file included from ../fltk/x.h:54,
                 from fl_overlay.cxx:31:
/usr/openwin/include/X11/Xutil.h:56: warning: ignoring #pragma ident
Compiling fl_overlay_visual.cxx...
Compiling fl_plastic_box.cxx...
Compiling fl_rect.cxx...
In file included from ../fltk/x.h:53,
                 from fl_rect.cxx:28:
/usr/openwin/include/X11/Xlib.h:32: warning: ignoring #pragma ident
In file included from ../fltk/x.h:54,
                 from fl_rect.cxx:28:
/usr/openwin/include/X11/Xutil.h:56: warning: ignoring #pragma ident
Compiling fl_round_box.cxx...
Compiling fl_rounded_box.cxx...
Compiling fl_rgb.cxx...
In file included from ../fltk/x.h:53,
                 from fl_rgb.cxx:24:
/usr/openwin/include/X11/Xlib.h:32: warning: ignoring #pragma ident
In file included from ../fltk/x.h:54,
                 from fl_rgb.cxx:24:
/usr/openwin/include/X11/Xutil.h:56: warning: ignoring #pragma ident
Compiling fl_scroll_area.cxx...
In file included from ../fltk/x.h:53,
                 from fl_scroll_area.cxx:32:
/usr/openwin/include/X11/Xlib.h:32: warning: ignoring #pragma ident
In file included from ../fltk/x.h:54,
                 from fl_scroll_area.cxx:32:
/usr/openwin/include/X11/Xutil.h:56: warning: ignoring #pragma ident
Compiling Fl_Shared_Image.cxx...
In file included from ../fltk/x.h:53,
                 from Fl_Shared_Image.cxx:34:
/usr/openwin/include/X11/Xlib.h:32: warning: ignoring #pragma ident
In file included from ../fltk/x.h:54,
                 from Fl_Shared_Image.cxx:34:
/usr/openwin/include/X11/Xutil.h:56: warning: ignoring #pragma ident
Compiling fl_shadow_box.cxx...
Compiling fl_show_colormap.cxx...
Compiling fl_symbols.cxx...
Compiling fl_vertex.cxx...
In file included from ../fltk/x.h:53,
                 from fl_vertex.cxx:29:
/usr/openwin/include/X11/Xlib.h:32: warning: ignoring #pragma ident
In file included from ../fltk/x.h:54,
                 from fl_vertex.cxx:29:
/usr/openwin/include/X11/Xutil.h:56: warning: ignoring #pragma ident
Compiling fl_xpm.cxx...
In file included from ../fltk/x.h:53,
                 from fl_xpm.cxx:32:
/usr/openwin/include/X11/Xlib.h:32: warning: ignoring #pragma ident
In file included from ../fltk/x.h:54,
                 from fl_xpm.cxx:32:
/usr/openwin/include/X11/Xutil.h:56: warning: ignoring #pragma ident
Compiling fltk_theme.cxx...
Compiling scandir.c...
Compiling vsnprintf.c...
gcc -Wl,-h,libfltk.so.2 -G -o libfltk.so.2 ...
make[1]: Leaving directory `/usr/local/fltk-2.0.x/src'
make[1]: Entering directory `/usr/local/fltk-2.0.x/images'
Compiling Fl_Guess_Image.cxx...
In file included from ../fltk/x.h:53,
                 from Fl_Guess_Image.cxx:34:
/usr/openwin/include/X11/Xlib.h:32: warning: ignoring #pragma ident
In file included from ../fltk/x.h:54,
                 from Fl_Guess_Image.cxx:34:
/usr/openwin/include/X11/Xutil.h:56: warning: ignoring #pragma ident
Compiling fl_jpeg.cxx...
In file included from ../fltk/x.h:53,
                 from fl_jpeg.cxx:30:
/usr/openwin/include/X11/Xlib.h:32: warning: ignoring #pragma ident
In file included from ../fltk/x.h:54,
                 from fl_jpeg.cxx:30:
/usr/openwin/include/X11/Xutil.h:56: warning: ignoring #pragma ident
Compiling fl_png.cxx...
In file included from ../fltk/x.h:53,
                 from fl_png.cxx:31:
/usr/openwin/include/X11/Xlib.h:32: warning: ignoring #pragma ident
In file included from ../fltk/x.h:54,
                 from fl_png.cxx:31:
/usr/openwin/include/X11/Xutil.h:56: warning: ignoring #pragma ident
gcc -Wl,-h,libfltk_images.so.2 -G  -o libfltk_images.so.2 Fl_Guess_Image.shared.o fl_jp
eg.shared.o fl_png.shared.o  
mv libfltk_images.so.2 ../lib/libfltk_images.so.2
make[1]: Leaving directory `/usr/local/fltk-2.0.x/images'
make[1]: Entering directory `/usr/local/fltk-2.0.x/fluid'
Compiling Fl_Function_Type.cxx...
Compiling Fl_Menu_Type.cxx...
Compiling Fl_Group_Type.cxx...
Compiling Fl_Widget_Type.cxx...
Fl_Widget_Type.cxx: In member function `virtual void 
   Fl_Widget_Type::read_property(const char*)':
Fl_Widget_Type.cxx:2020: warning: passing `double' for argument 1 of `void 
   Fl_Valuator::linesize(short unsigned int)'
Fl_Widget_Type.cxx:2022: warning: passing `double' for argument 1 of `void 
Fl_Widget_Type.cxx:2022: warning: passing `double' for argument 1 of `void 
/usr/openwin/include/X11/Xutil.h:56: warning: ignoring #pragma ident
Compiling fl_png.cxx...
In file included from ../fltk/x.h:53,
                 from fl_png.cxx:31:
/usr/openwin/include/X11/Xlib.h:32: warning: ignoring #pragma ident
In file included from ../fltk/x.h:54,
                 from fl_png.cxx:31:
/usr/openwin/include/X11/Xutil.h:56: warning: ignoring #pragma ident
gcc -Wl,-h,libfltk_images.so.2 -G  -o libfltk_images.so.2 Fl_Guess_Image.shared.o fl_jp
eg.shared.o fl_png.shared.o  
mv libfltk_images.so.2 ../lib/libfltk_images.so.2
make[1]: Leaving directory `/usr/local/fltk-2.0.x/images'
make[1]: Entering directory `/usr/local/fltk-2.0.x/fluid'
Compiling Fl_Function_Type.cxx...
Compiling Fl_Menu_Type.cxx...
Compiling Fl_Group_Type.cxx...
Compiling Fl_Widget_Type.cxx...
Fl_Widget_Type.cxx: In member function `virtual void 
   Fl_Widget_Type::read_property(const char*)':
Fl_Widget_Type.cxx:2020: warning: passing `double' for argument 1 of `void 
   Fl_Valuator::linesize(short unsigned int)'
Fl_Widget_Type.cxx:2022: warning: passing `double' for argument 1 of `void 
   Fl_Valuator::pagesize(short unsigned int)'
Compiling Fl_Type.cxx...
Compiling Fl_Window_Type.cxx...
Compiling Fluid_Image.cxx...
Compiling Fluid_Plugins.cxx...
Compiling code.cxx...
Compiling factory.cxx...
Compiling file.cxx...
Compiling fluid.cxx...
Compiling about_panel.cxx...
Compiling widget_panel.cxx...
Compiling alignment_panel.cxx...
Compiling function_panel.cxx...
Compiling coding_style.cxx...
Compiling coding_style_func.cxx...
gcc -o fluid Fl_Function_Type.o Fl_Menu_Type.o Fl_Group_Type.o Fl_Widget_Type.o Fl_Type
o Fl_Window_Type.o Fluid_Image.o Fluid_Plugins.o code.o factory.o file.o fluid.o about
_panel.o widget_panel.o alignment_panel.o function_panel.o coding_style.o coding_style_
func.o  ../lib/libfltk_images.so.2 -L/usr/openwin/lib -R/usr/openwin/lib ../lib/libfltk
so.2  -lX11 -lXext -lm   
Undefined                       first referenced
 symbol                             in file
__cxa_pure_virtual                  Fl_Widget_Type.o
vtable for __cxxabiv1::__si_class_type_infoFl_Function_Type.o
operator new[](unsigned)            Fl_Function_Type.o
vtable for __cxxabiv1::__class_type_infoFl_Function_Type.o
operator delete(void*)              Fl_Function_Type.o
operator new(unsigned)              Fl_Function_Type.o
operator delete[](void*)            Fl_Function_Type.o
ld: fatal: Symbol referencing errors. No output written to fluid
collect2: ld returned 1 exit status
make[1]: *** [fluid] Error 1
make[1]: Leaving directory `/usr/local/fltk-2.0.x/fluid'
(END)
------------------------------------

Please help me if you can.
 
it's a program for linux ... doesn't look like they've bothered porting it to solaris happily ...

i guess you could get all the linux libraries and everything compiled for solaris, and all the X stuff ... blah blah blah ...

do you really need it?
 
Sadly enough YES I do need this to work. What I'm aiming at is a free graphical DICOM client(that's a format of medical images like CAT scan MRI UltraSound and so on). The only free graphical Dicom client I found is based on the fltk tool kit. If you can find me a different Dicom client that doesn't need this annoying fltk, I'll be gratefull. In the meantime I've got to get this working.

From the documentation I understood that it has been compiled on Solaris, I just can't seem to get it to work.
Any suggestions?
 
It works now!

I went back to version 1.1.Oct3 and changed the flag
"-KPIC" to "-fPIC" in the configure file,
and now it works, thank god.

Thanks for the response jad.

R.E.L
 
congrats ... the configure script is a wonderful piece of magic, but sometimes flawed, eh? :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top