IIRC it wasn't the rotation code, but general code that used some private fltk symbol, requiring static linking.
you're right about the rotation, i just downloaded the latest snapshot from Mr Bill and also
bbidulock for comparison and Rotated.C has been removed from both.
Maybe you can check this:
I copied from
commit 7dbb70 and didn't remove any line from Frame.C but filled the blank lines.
465-470
#if FL_MAJOR_VERSION < 2 && FL_MINOR_VERSION < 3
// fltk bug: it does not clear these pointers when window is deleted,
// causing flwm to crash on window close sometimes:
extern Fl_Window *fl_xfocus;
extern Fl_Window *fl_xmousewin;
#endif
480-485
#if FL_MAJOR_VERSION < 2 && FL_MINOR_VERSION < 3
// fix fltk bug:
fl_xfocus = 0;
fl_xmousewin = 0;
Fl::focus_ = 0;
#endif
compileit
#!/bin/sh -e
CXXFLAGS="$CXXFLAGS `fltk-config --cxxflags`"
CXXFLAGS="$CXXFLAGS -Wall -ffunction-sections -fdata-sections -Wno-strict-aliasing"
LDFLAGS="$LDFLAGS `fltk-config --ldflags --use-images`"
LDFLAGS="$LDFLAGS -Wl,-gc-sections"
echo Building flwm_topside...
g++ -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe -fno-exceptions -fno-rtti -o flwm_topside -DTOPSIDE *.C $CXXFLAGS $LDFLAGS
sstrip flwm_topside
echo Building flwm...
g++ -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe -fno-exceptions -fno-rtti -o flwm *.C $CXXFLAGS $LDFLAGS
sstrip flwm
the last issue only for the left side , i have no idea
/tmp/ccHTkiVw.ltrans0.ltrans.o: In function `draw_rot90(char const*, int, int, int) [clone .lto_priv.58]':
ccHTkiVw.ltrans0.o:(.text._ZL10draw_rot90PKciii.lto_priv.58+0x37): undefined reference to `Fl_XFont_On_Demand::value()'
ccHTkiVw.ltrans0.o:(.text._ZL10draw_rot90PKciii.lto_priv.58+0x6f): undefined reference to `Fl_XFont_On_Demand::value()'
collect2: error: ld returned 1 exit status
Maybe you also can check this
commitThanks