Can't update WM Reproducible: Always Steps to Reproduce: Actual Results: After compile, linking fails mkdir .libs i686-pc-linux-gnu-gcc -O2 -march=pentium4 -pipe -DNDEBUG -o server server.o ../../WINGs/libWUtil.a -L/usr/lib i686-pc-linux-gnu-gcc -O2 -march=pentium4 -pipe -DNDEBUG -o connect connect.o ../../WINGs/libWUtil.a -L/usr/lib ../../WINGs/libWUtil.a(string.o): In function `wstrdup': string.c:(.text+0x16): undefined reference to `assert' ../../WINGs/libWUtil.a(string.o): In function `wstrndup': string.c:(.text+0x155): undefined reference to `assert' collect2: ld returned 1 exit status make[2]: *** [server] Error 1 make[2]: *** Waiting for unfinished jobs.... ../../WINGs/libWUtil.a(string.o): In function `wstrdup': string.c:(.text+0x16): undefined reference to `assert' ../../WINGs/libWUtil.a(string.o): In function `wstrndup': string.c:(.text+0x155): undefined reference to `assert' collect2: ld returned 1 exit status make[2]: *** [connect] Error 1 i686-pc-linux-gnu-gcc -O2 -march=pentium4 -pipe -DNDEBUG -o .libs/fontl fontl.o ../../WINGs/libWINGs.a ../../wrlib/.libs/libwraster.so -L/usr/lib /usr/lib/libtiff.so -lc /usr/lib/libXpm.so /usr/lib/libpng12.so /usr/lib/libjpeg.so /usr/lib/libgif.so /usr/lib/libSM.so /usr/lib/libICE.so /usr/lib/libXext.so -lm /usr/lib/libXft.so /usr/lib/libXrender.so /usr/lib/libfontconfig.so /usr/lib/libexpat.so /usr/lib/libfreetype.so -lz /usr/lib/libX11.so /usr/lib/libXau.so /usr/lib/libXdmcp.so -ldl i686-pc-linux-gnu-gcc -O2 -march=pentium4 -pipe -DNDEBUG -o .libs/puzzle puzzle.o ../../WINGs/libWINGs.a ../../wrlib/.libs/libwraster.so -L/usr/lib /usr/lib/libtiff.so -lc /usr/lib/libXpm.so /usr/lib/libpng12.so /usr/lib/libjpeg.so /usr/lib/libgif.so /usr/lib/libSM.so /usr/lib/libICE.so /usr/lib/libXext.so -lm /usr/lib/libXft.so /usr/lib/libXrender.so /usr/lib/libfontconfig.so /usr/lib/libexpat.so /usr/lib/libfreetype.so -lz /usr/lib/libX11.so /usr/lib/libXau.so /usr/lib/libXdmcp.so -ldl ../../WINGs/libWINGs.a(string.o): In function `wstrdup': string.c:(.text+0x16): undefined reference to `assert' ../../WINGs/libWINGs.a(string.o): In function `wstrndup': string.c:(.text+0x155): undefined reference to `assert' collect2: ld returned 1 exit status make[2]: *** [fontl] Error 1 ../../WINGs/libWINGs.a(string.o): In function `wstrdup': string.c:(.text+0x16): undefined reference to `assert' ../../WINGs/libWINGs.a(string.o): In function `wstrndup': string.c:(.text+0x155): undefined reference to `assert' collect2: ld returned 1 exit status make[2]: *** [puzzle] Error 1 make[2]: Leaving directory `/home/tmp/portage/x11-wm/windowmaker-0.92.0-r4/work/WindowMaker-0.92.0/WINGs/Examples' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/tmp/portage/x11-wm/windowmaker-0.92.0-r4/work/WindowMaker-0.92.0/WINGs' make: *** [all-recursive] Error 1
Please post the output of "emerge --info" Also, does the stable windowmaker-0.92.0-r3 work fine?
Created attachment 131153 [details] emerge --info
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer -DNDEBUG" Could you remove the -DNDEBUG and try again?
Yes, it helped.
clean your CFLAGS, it's not healthy to put such defines in there.