[Insight-users] Error message related to fltk.

Linglan Edwards Linglan Edwards <linglan at nlm . nih . gov>
Tue, 16 Jul 2002 13:28:35 -0400 (EDT)


Hi,

I got the following error message when I tried to compile Insight. It seems to 
have problems with the fltk library I compiled. (I used fltk-1.0.11, and I had 
no trouble compiling and installing it.) Has anybody have similar problem 
before? Any suggestions?

Thanks!

Linglan
---------> cut here <--------------
Undefined                       first referenced
 symbol                             in file
XKeycodeToKeysym                    /home/linglan/lib/libfltk.a(Fl_x.o)  (symbol 
belongs to implicit dependency /usr/lib/libX11.so.4)
XDrawPoint                          /home/linglan/lib/libfltk.a(fl_rect.o)  
(symbol belongs to implicit dependency /usr/lib/libX11.so.4)
XDrawRectangle                      /home/linglan/lib/libfltk.a(fl_overlay.o)  
(symbol belongs to implicit dependency /usr/lib/libX11.so.4)
XFreeColors                         /home/linglan/lib/libfltk.a(fl_color.o)  
(symbol belongs to implicit dependency /usr/lib/libX11.so.4)
XFreePixmap                         /home/linglan/lib/libfltk.a(Fl_Bitmap.o)  
(symbol belongs to implicit dependency /usr/lib/libX11.so.4)
XBell                               /home/linglan/lib/libfltk.a(fl_ask.o)  
(symbol belongs to implicit dependency /usr/lib/libX11.so.4)
XOpenDisplay                        /home/linglan/lib/libfltk.a(Fl_x.o)  (symbol 
belongs to implicit dependency /usr/lib/libX11.so.4)
XQueryColors                        /home/linglan/lib/libfltk.a(fl_color.o)  
(symbol belongs to implicit dependency /usr/lib/libX11.so.4)
XNextEvent                          /home/linglan/lib/libfltk.a(Fl_x.o)  (symbol 
belongs to implicit dependency /usr/lib/libX11.so.4)
XChangeProperty                     /home/linglan/lib/libfltk.a(Fl_arg.o)  
(symbol belongs to implicit dependency /usr/lib/libX11.so.4)
XGetWindowProperty                  /home/linglan/lib/libfltk.a(Fl_cutpaste.o)  
(symbol belongs to implicit dependency /usr/lib/libX11.so.4)
XCopyArea                           
/home/linglan/lib/libfltk.a(fl_scroll_area.o)  (symbol belongs to implicit 
dependency /usr/lib/libX11.so.4)
XSetRegion                          /home/linglan/lib/libfltk.a(fl_rect.o)  
(symbol belongs to implicit dependency /usr/lib/libX11.so.4)
XClearWindow                        
/home/linglan/lib/libfltk.a(Fl_Menu_Window.o)  (symbol belongs to implicit 
dependency /usr/lib/libX11.so.4)
XCreatePixmapCursor                 /home/linglan/lib/libfltk.a(fl_cursor.o)  
(symbol belongs to implicit dependency /usr/lib/libX11.so.4)
XListFonts                          /home/linglan/lib/libfltk.a(fl_font.o)  
(symbol belongs to implicit dependency /usr/lib/libX11.so.4)
XDrawString                         /home/linglan/lib/libfltk.a(fl_font.o)  
(symbol belongs to implicit dependency /usr/lib/libX11.so.4)
XDestroyRegion                      /home/linglan/lib/libfltk.a(Fl.o)  (symbol 
belongs to implicit dependency /usr/lib/libX11.so.4)
XUngrabKeyboard                     /home/linglan/lib/libfltk.a(Fl_grab.o)  
(symbol belongs to implicit dependency /usr/lib/libX11.so.4)
XIntersectRegion                    /home/linglan/lib/libfltk.a(fl_rect.o)  
(symbol belongs to implicit dependency /usr/lib/libX11.so.4)
XGetVisualInfo                      /home/linglan/lib/libfltk.a(Fl_visual.o)  
(symbol belongs to implicit dependency /usr/lib/libX11.so.4)
XFlush                              /home/linglan/lib/libfltk.a(Fl.o)  (symbol 
belongs to implicit dependency /usr/lib/libX11.so.4)
XSetTransientForHint                /home/linglan/lib/libfltk.a(Fl_x.o)  (symbol 
belongs to implicit dependency /usr/lib/libX11.so.4)
XCreateRegion                       /home/linglan/lib/libfltk.a(fl_rect.o)  
(symbol belongs to implicit dependency /usr/lib/libX11.so.4)
XUngrabPointer                      /home/linglan/lib/libfltk.a(Fl_grab.o)  
(symbol belongs to implicit dependency /usr/lib/libX11.so.4)
XGrabKeyboard                       /home/linglan/lib/libfltk.a(Fl_grab.o)  
(symbol belongs to implicit dependency /usr/lib/libX11.so.4)
XSetWMHints                         /home/linglan/lib/libfltk.a(Fl_x.o)  (symbol 
belongs to implicit dependency /usr/lib/libX11.so.4)
XInstallColormap                    
/home/linglan/lib/libfltk.a(Fl_Menu_Window.o)  (symbol belongs to implicit 
dependency /usr/lib/libX11.so.4)
XClipBox                            /home/linglan/lib/libfltk.a(fl_rect.o)  
(symbol belongs to implicit dependency /usr/lib/libX11.so.4)
XGetDefault                         
/home/linglan/lib/libfltk.a(Fl_get_system_colors.o)  (symbol belongs to implicit 
dependency /usr/lib/libX11.so.4)
XGetErrorDatabaseText               /home/linglan/lib/libfltk.a(Fl_x.o)  (symbol 
belongs to implicit dependency /usr/lib/libX11.so.4)
XCreateWindow                       /home/linglan/lib/libfltk.a(Fl_x.o)  (symbol 
belongs to implicit dependency /usr/lib/libX11.so.4)
XDisplayName                        /home/linglan/lib/libfltk.a(Fl_x.o)  (symbol 
belongs to implicit dependency /usr/lib/libX11.so.4)
XDefineCursor                       /home/linglan/lib/libfltk.a(fl_cursor.o)  
(symbol belongs to implicit dependency /usr/lib/libX11.so.4)
XLoadQueryFont                      /home/linglan/lib/libfltk.a(fl_font.o)  
(symbol belongs to implicit dependency /usr/lib/libX11.so.4)
XFreeCursor                         /home/linglan/lib/libfltk.a(fl_cursor.o)  
(symbol belongs to implicit dependency /usr/lib/libX11.so.4)
XSetTSOrigin                        /home/linglan/lib/libfltk.a(Fl_Bitmap.o)  
(symbol belongs to implicit dependency /usr/lib/libX11.so.4)
XAllocColor                         /home/linglan/lib/libfltk.a(fl_color.o)  
(symbol belongs to implicit dependency /usr/lib/libX11.so.4)
XSetStipple                         /home/linglan/lib/libfltk.a(Fl_Bitmap.o)  
(symbol belongs to implicit dependency /usr/lib/libX11.so.4)
XQLength                            /home/linglan/lib/libfltk.a(Fl_x.o)  (symbol 
belongs to implicit dependency /usr/lib/libX11.so.4)
XDrawLine                           /home/linglan/lib/libfltk.a(fl_rect.o)  
(symbol belongs to implicit dependency /usr/lib/libX11.so.4)
XGrabPointer                        /home/linglan/lib/libfltk.a(Fl_grab.o)  
(symbol belongs to implicit dependency /usr/lib/libX11.so.4)
XEventsQueued                       /home/linglan/lib/libfltk.a(Fl_x.o)  (symbol 
belongs to implicit dependency /usr/lib/libX11.so.4)
XRecolorCursor                      /home/linglan/lib/libfltk.a(fl_cursor.o)  
(symbol belongs to implicit dependency /usr/lib/libX11.so.4)
XSetForeground                      /home/linglan/lib/libfltk.a(fl_color.o)  
(symbol belongs to implicit dependency /usr/lib/libX11.so.4)
XKeysymToKeycode                    /home/linglan/lib/libfltk.a(Fl_get_key.o)  
(symbol belongs to implicit dependency /usr/lib/libX11.so.4)
XMapWindow                          /home/linglan/lib/libfltk.a(Fl.o)  (symbol 
belongs to implicit dependency /usr/lib/libX11.so.4)
XFree                               /home/linglan/lib/libfltk.a(Fl_cutpaste.o)  
(symbol belongs to implicit dependency /usr/lib/libX11.so.4)
XLookupString                       /home/linglan/lib/libfltk.a(Fl_x.o)  (symbol 
belongs to implicit dependency /usr/lib/libX11.so.4)
XSetFont                            /home/linglan/lib/libfltk.a(fl_font.o)  
(symbol belongs to implicit dependency /usr/lib/libX11.so.4)
XDestroyWindow                      /home/linglan/lib/libfltk.a(Fl.o)  (symbol 
belongs to implicit dependency /usr/lib/libX11.so.4)
XMoveResizeWindow                   /home/linglan/lib/libfltk.a(Fl_x.o)  (symbol 
belongs to implicit dependency /usr/lib/libX11.so.4)
XSendEvent                          /home/linglan/lib/libfltk.a(Fl_cutpaste.o)  
(symbol belongs to implicit dependency /usr/lib/libX11.so.4)
XFillPolygon                        /home/linglan/lib/libfltk.a(fl_rect.o)  
(symbol belongs to implicit dependency /usr/lib/libX11.so.4)
XFillRectangle                      /home/linglan/lib/libfltk.a(Fl_Bitmap.o)  
(symbol belongs to implicit dependency /usr/lib/libX11.so.4)
XFillArc                            /home/linglan/lib/libfltk.a(fl_vertex.o)  
(symbol belongs to implicit dependency /usr/lib/libX11.so.4)
XVisualIDFromVisual                 /home/linglan/lib/libfltk.a(Fl_x.o)  (symbol 
belongs to implicit dependency /usr/lib/libX11.so.4)
XConvertSelection                   /home/linglan/lib/libfltk.a(Fl_cutpaste.o)  
(symbol belongs to implicit dependency /usr/lib/libX11.so.4)
XUnmapWindow                        /home/linglan/lib/libfltk.a(Fl.o)  (symbol 
belongs to implicit dependency /usr/lib/libX11.so.4)
XRectInRegion                       /home/linglan/lib/libfltk.a(fl_rect.o)  
(symbol belongs to implicit dependency /usr/lib/libX11.so.4)
XRefreshKeyboardMapping             /home/linglan/lib/libfltk.a(Fl_x.o)  (symbol 
belongs to implicit dependency /usr/lib/libX11.so.4)
XDrawArc                            /home/linglan/lib/libfltk.a(fl_vertex.o)  
(symbol belongs to implicit dependency /usr/lib/libX11.so.4)
XCreateFontCursor                   /home/linglan/lib/libfltk.a(fl_cursor.o)  
(symbol belongs to implicit dependency /usr/lib/libX11.so.4)
XCreateColormap                     /home/linglan/lib/libfltk.a(Fl_visual.o)  
(symbol belongs to implicit dependency /usr/lib/libX11.so.4)
XCloseDisplay                       /home/linglan/lib/libfltk.a(Fl_x.o)  (symbol 
belongs to implicit dependency /usr/lib/libX11.so.4)
XQueryKeymap                        /home/linglan/lib/libfltk.a(Fl_get_key.o)  
(symbol belongs to implicit dependency /usr/lib/libX11.so.4)
XSetClipMask                        /home/linglan/lib/libfltk.a(fl_rect.o)  
(symbol belongs to implicit dependency /usr/lib/libX11.so.4)
XMoveWindow                         /home/linglan/lib/libfltk.a(Fl_x.o)  (symbol 
belongs to implicit dependency /usr/lib/libX11.so.4)
XCreateGC                           
/home/linglan/lib/libfltk.a(Fl_Menu_Window.o)  (symbol belongs to implicit 
dependency /usr/lib/libX11.so.4)
XParseGeometry                      /home/linglan/lib/libfltk.a(Fl_arg.o)  
(symbol belongs to implicit dependency /usr/lib/libX11.so.4)
XParseColor                         
/home/linglan/lib/libfltk.a(Fl_get_system_colors.o)  (symbol belongs to implicit 
dependency /usr/lib/libX11.so.4)
XSetWMNormalHints                   /home/linglan/lib/libfltk.a(Fl_x.o)  (symbol 
belongs to implicit dependency /usr/lib/libX11.so.4)
XFreeFont                           /home/linglan/lib/libfltk.a(fl_font.o)  
(symbol belongs to implicit dependency /usr/lib/libX11.so.4)
XMapRaised                          /home/linglan/lib/libfltk.a(Fl_x.o)  (symbol 
belongs to implicit dependency /usr/lib/libX11.so.4)
XSetSelectionOwner                  /home/linglan/lib/libfltk.a(Fl_cutpaste.o)  
(symbol belongs to implicit dependency /usr/lib/libX11.so.4)
XKeysymToString                     /home/linglan/lib/libfltk.a(fl_shortcut.o)  
(symbol belongs to implicit dependency /usr/lib/libX11.so.4)
XSetErrorHandler                    /home/linglan/lib/libfltk.a(Fl_x.o)  (symbol 
belongs to implicit dependency /usr/lib/libX11.so.4)
XQueryPointer                       /home/linglan/lib/libfltk.a(Fl_x.o)  (symbol 
belongs to implicit dependency /usr/lib/libX11.so.4)
XCreateSimpleWindow                 /home/linglan/lib/libfltk.a(Fl_cutpaste.o)  
(symbol belongs to implicit dependency /usr/lib/libX11.so.4)
XSetFunction                        /home/linglan/lib/libfltk.a(fl_overlay.o)  
(symbol belongs to implicit dependency /usr/lib/libX11.so.4)
XUnionRectWithRegion                /home/linglan/lib/libfltk.a(Fl.o)  (symbol 
belongs to implicit dependency /usr/lib/libX11.so.4)
XSetFillStyle                       /home/linglan/lib/libfltk.a(Fl_Bitmap.o)  
(symbol belongs to implicit dependency /usr/lib/libX11.so.4)
XDrawPoints                         /home/linglan/lib/libfltk.a(fl_vertex.o)  
(symbol belongs to implicit dependency /usr/lib/libX11.so.4)
XGetErrorText                       /home/linglan/lib/libfltk.a(Fl_x.o)  (symbol 
belongs to implicit dependency /usr/lib/libX11.so.4)
XWindowEvent                        
/home/linglan/lib/libfltk.a(fl_scroll_area.o)  (symbol belongs to implicit 
dependency /usr/lib/libX11.so.4)
XSetIOErrorHandler                  /home/linglan/lib/libfltk.a(Fl_x.o)  (symbol 
belongs to implicit dependency /usr/lib/libX11.so.4)
XCreateBitmapFromData               /home/linglan/lib/libfltk.a(Fl_Bitmap.o)  
(symbol belongs to implicit dependency /usr/lib/libX11.so.4)
XDrawLines                          /home/linglan/lib/libfltk.a(fl_rect.o)  
(symbol belongs to implicit dependency /usr/lib/libX11.so.4)
XInternAtom                         /home/linglan/lib/libfltk.a(Fl_cutpaste.o)  
(symbol belongs to implicit dependency /usr/lib/libX11.so.4)
ld: fatal: Symbol referencing errors. No output written to SurfaceGenerator
collect2: ld returned 1 exit status
*** Error code 1
The following command caused the error:
c++  -g -O2 -ftemplate-depth-50 SurfaceGeneratorGUI.o  CriticalPoint.o  
SurfaceGeneratorBase.o  SurfaceGenerator.o  main.o 
-L/Development/ITK/Insight/Utilities/zlib 
-L/Development/ITK/Insight/Utilities/png -L/Development/ITK/Insight/Code/Common 
-L/Development/ITK/Insight/Code/IO -L/Development/ITK/Insight/Code/Numerics/vxl 
-L/Development/ITK/Insight/Code/BasicFilters 
-L/Development/ITK/Insight/Code/Algorithms 
-L/Development/ITK/Insight/Auxiliary/FltkImageViewer 
-L/Development/ITK/Insight/Auxiliary/MetaImage/IView 
-L/Development/ITK/Insight/Examples/SurfaceGenerator -L/home/linglan/lib 
-lpthread -ldl -lVXLNumerics -lITKCommon -lITKBasicFilters -lm -lITKCommon 
-lITKBasicFilters -lITKIO -lIView -litkpng -litkzlib -lFltkImageViewer -lfltk 
-lGL -lGLU -lm -lpthread -ldl -lVXLNumerics -lITKCommon -lITKBasicFilters -lm 
-lITKCommon -lITKBasicFilters -lITKIO -lIView -litkpng -litkzlib 
-lFltkImageViewer -lfltk -lGL -lGLU -lm 
-Wl,-R,/Development/ITK/Insight/Utilities/zlib:/Development/ITK/Insight/Utilitie
s/png:/Development/ITK/Insight/Code/Common:/Development/ITK/Insight/Code/IO:/Dev
elopment/ITK/Insight/Code/Numerics/vxl:/Development/ITK/Insight/Code/BasicFilter
s:/Development/ITK/Insight/Code/Algorithms:/Development/ITK/Insight/Auxiliary/Fl
tkImageViewer:/Development/ITK/Insight/Auxiliary/MetaImage/IView:/Development/IT
K/Insight/Examples/SurfaceGenerator:/home/linglan/lib  -o SurfaceGenerator
make: Fatal error: Command failed for target `SurfaceGenerator'
Current working directory /Development/ITK/Insight/Examples/SurfaceGenerator
*** Error code 1
The following command caused the error:
make -  all
make: Fatal error: Command failed for target `default_target'
Current working directory /Development/ITK/Insight/Examples/SurfaceGenerator
*** Error code 1
The following command caused the error:
cd /Development/ITK/Insight/Examples/SurfaceGenerator; make - default_target
make: Fatal error: Command failed for target `default_target_SurfaceGenerator'
Current working directory /Development/ITK/Insight/Examples
*** Error code 1
The following command caused the error:
make -  all
make: Fatal error: Command failed for target `default_target'
Current working directory /Development/ITK/Insight/Examples
*** Error code 1
The following command caused the error:
cd /Development/ITK/Insight/Examples; make - default_target
make: Fatal error: Command failed for target `default_target_Examples'
Current working directory /Development/ITK/Insight
*** Error code 1
The following command caused the error:
make -  all
make: Fatal error: Command failed for target `default_target'
-------> cut here <-----------
============================
Linglan Edwards, Ph.D.
Senior Software Engineer
National Library of Medicine
Phone: (301) 435-3147
Email: linglan@nlm.nih.gov