Menu

#857 IceWM fails to build when XRandr is disabled

crash
closed-fixed
nobody
icewm-1.3 (100)
5
2010-01-12
2010-01-12
Anonymous
No

Hello,

IceWM 1.3.5 (and 1.3.6pre3) fails to build when --disable-xrandr has been used.

The build fails with the following linker error (this is for 1.3.5):

CXX yimage_imlib.o
CXX yimage_xpm.o
CXX ytooltip.o
LD icewm
wmmgr.o(.text+0xa89): In function
`YWindowManager::handleConfigure(XConfigureEvent const&)':
/home/simon/i/icewm-1.3.5/src/wmmgr.cc:621: undefined reference to
`YWindowManager::UpdateScreenSize(_XEvent*)'
collect2: ld returned 1 exit status
make[1]: *** [icewm] Error 1
make[1]: Leaving directory `/home/simon/i/icewm-1.3.5/src'
make: *** [base] Error 2

The configure command was:

./configure --disable-xrandr --enable-menus-gnome2

The problem is that YWindowManager::UpdateScreenSize() is called
unconditionally in src/wmmgr.cc, but whether the subroutine is
included is dependant on XRandr been enabled.

Discussion

  • Marko Macek

    Marko Macek - 2010-01-12

    fixed in icewm-1-3-BRANCH

     
  • Marko Macek

    Marko Macek - 2010-01-12
    • status: open --> closed-fixed
     

Log in to post a comment.