Hi Aaron, thank you for your fast reply. I tried three other examples form fltk1.3-doc
$ fltk-config --compile doublebuffer.cxx $ fltk-config --compile bitmap.cxx $ fltk-config --compile buttons.cxx $ fltk-config --compile doublebuffer.cxx g++ -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/freetype2 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -o 'doublebuffer' 'doublebuffer.cxx' -L/usr/lib/x86_64-linux-gnu -lfltk /tmp/cc8At8e6.o: In function `single_blink_window': /home/andy/734977/examples/doublebuffer.cxx:86: undefined reference to `Fl_Single_Window::Fl_Single_Window(int, int, int, int, char const*)' /tmp/cc8At8e6.o: In function `main': /home/andy/734977/examples/doublebuffer.cxx:102: undefined reference to `Fl_Hor_Slider::Fl_Hor_Slider(int, int, int, int, char const*)' /tmp/cc8At8e6.o: In function `double_blink_window': /home/andy/734977/examples/doublebuffer.cxx:93: undefined reference to `Fl_Double_Window::Fl_Double_Window(int, int, int, int, char const*)' /tmp/cc8At8e6.o: In function `main': /home/andy/734977/examples/doublebuffer.cxx:112: undefined reference to `Fl_Hor_Slider::Fl_Hor_Slider(int, int, int, int, char const*)' collect2: error: ld returned 1 exit status $ fltk-config --compile bitmap.cxx g++ -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/freetype2 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -o 'bitmap' 'bitmap.cxx' -L/usr/lib/x86_64-linux-gnu -lfltk /tmp/cc0fW4kf.o: In function `main': /home/andy/734977/test/bitmap.cxx:113: undefined reference to `Fl_Double_Window::Fl_Double_Window(int, int, char const*)' /home/andy/734977/test/bitmap.cxx:116: undefined reference to `Fl_Toggle_Button::Fl_Toggle_Button(int, int, int, int, char const*)' /home/andy/734977/test/bitmap.cxx:118: undefined reference to `Fl_Toggle_Button::Fl_Toggle_Button(int, int, int, int, char const*)' /home/andy/734977/test/bitmap.cxx:120: undefined reference to `Fl_Toggle_Button::Fl_Toggle_Button(int, int, int, int, char const*)' /home/andy/734977/test/bitmap.cxx:122: undefined reference to `Fl_Toggle_Button::Fl_Toggle_Button(int, int, int, int, char const*)' /home/andy/734977/test/bitmap.cxx:124: undefined reference to `Fl_Toggle_Button::Fl_Toggle_Button(int, int, int, int, char const*)' /tmp/cc0fW4kf.o:/home/andy/734977/test/bitmap.cxx:126: more undefined references to `Fl_Toggle_Button::Fl_Toggle_Button(int, int, int, int, char const*)' follow collect2: error: ld returned 1 exit status $ fltk-config --compile buttons.cxx g++ -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/freetype2 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -o 'buttons' 'buttons.cxx' -L/usr/lib/x86_64-linux-gnu -lfltk /tmp/ccz0RaLZ.o: In function `main': /home/andy/734977/test/buttons.cxx:35: undefined reference to `Fl_Return_Button::Fl_Return_Button(int, int, int, int, char const*)' /home/andy/734977/test/buttons.cxx:36: undefined reference to `Fl_Repeat_Button::Fl_Repeat_Button(int, int, int, int, char const*)' collect2: error: ld returned 1 exit status If I compile it without fltk-config I get the same results, regardless if with -O0 or -O2. Can I do something else to help you tracking the problem? -- Andy -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org