tce-load -i Xorg-7.7-dev libjpeg-turbo-dev

cd fltk-1.3.3

patch -Np1 -i ../fl_x_core_font.patch
patch -Np1 -i ../fltk-no-printing.patch [??]

CC="gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --localstatedir=/var --enable-shared --disable-gl --disable-xinerama --disable-xft --disable-xfixes --disable-xcursor

make
sudo make install

Configuration Summary
-------------------------------------------------------------------------
    Directories: prefix=/usr/local
                 bindir=${exec_prefix}/bin
                 datadir=${datarootdir}
                 datarootdir=${prefix}/share
                 exec_prefix=${prefix}
                 includedir=${prefix}/include
                 libdir=${exec_prefix}/lib
                 mandir=${datarootdir}/man
       Graphics: X11+Xdbe
Image Libraries: JPEG=System
                 PNG=System
                 ZLIB=System
    Large Files: YES
         OpenGL: NO
        Threads: YES

Linking fluid-shared...
/tmp/ccMUfLcp.ltrans1.ltrans.o: In function `print_menu_cb(Fl_Widget*, void*)':
<artificial>:(.text._Z13print_menu_cbP9Fl_WidgetPv+0x5d): undefined reference to `Fl_Printer::Fl_Printer()'
<artificial>:(.text._Z13print_menu_cbP9Fl_WidgetPv+0x72): undefined reference to `Fl_Printer::start_job(int, int*, int*)'
<artificial>:(.text._Z13print_menu_cbP9Fl_WidgetPv+0xce): undefined reference to `Fl_Printer::start_page()'
<artificial>:(.text._Z13print_menu_cbP9Fl_WidgetPv+0xdf): undefined reference to `Fl_Printer::printable_rect(int*, int*)'
<artificial>:(.text._Z13print_menu_cbP9Fl_WidgetPv+0x25a): undefined reference to `Fl_Printer::end_job()'
<artificial>:(.text._Z13print_menu_cbP9Fl_WidgetPv+0x262): undefined reference to `Fl_Printer::~Fl_Printer()'
<artificial>:(.text._Z13print_menu_cbP9Fl_WidgetPv+0x2a9): undefined reference to `Fl_Printer::scale(float, float)'
<artificial>:(.text._Z13print_menu_cbP9Fl_WidgetPv+0x2ba): undefined reference to `Fl_Printer::printable_rect(int*, int*)'
<artificial>:(.text._Z13print_menu_cbP9Fl_WidgetPv+0x2e3): undefined reference to `Fl_Printer::origin(int, int)'
<artificial>:(.text._Z13print_menu_cbP9Fl_WidgetPv+0x310): undefined reference to `Fl_Printer::end_page()'
collect2: error: ld returned 1 exit status
Makefile:56: recipe for target 'fluid-shared' failed
make[1]: *** [fluid-shared] Error 1
Makefile:24: recipe for target 'all' failed
make: *** [all] Error 1
