Compile problem

Josip Deanovic <[email protected]>
Newsgroups gmane.compw.window-managers.windowmaker.devel
Message-ID <1658937.T3xAgoyFAj@libria>
Hi everyone!

I am trying to compile the newest Windowmaker source from next branch but
I am having problems so I would kindly ask some help.


This is my configure command:
./configure --prefix=/usr/local/windowmaker-0.95.5 --libdir=/usr/local/windowmaker-0.95.5/lib --enable-modelock --enable-randr --enable-xinerama --enable-usermenu


Window Maker was configured as follows:

Installation path prefix            : /usr/local/windowmaker-0.95.5
Installation path for binaries      : /usr/local/windowmaker-0.95.5/bin
Installation path for libraries     : /usr/local/windowmaker-0.95.5/lib
Installation path for WPrefs.app    : /usr/local/windowmaker-0.95.5
Supported core features:            : Animations MWMHints XDnD
Supported X extensions:             : XShape XShm Xinerama RandR
Supported graphic format libraries  : XPM PNG JPEG GIF TIFF WebP Magick builtin-PPM
Unsupported features                :
Antialiased text support in WINGs   : yes
Pango text layout support in WINGs  : no
Translated languages to support     : disabled


Everything looks fine and then I get this:

$ make
Generating config-paths.h
make  all-recursive
make[1]: Entering directory `/home/djosip/download/novi_wmaker/wmaker-crm.next'
Making all in wrlib
make[2]: Entering directory `/home/djosip/download/novi_wmaker/wmaker-crm.next/wrlib'
Making all in .
make[3]: Entering directory `/home/djosip/download/novi_wmaker/wmaker-crm.next/wrlib'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/local/windowmaker-0.95.5/include   -DNDEBUG -D_XOPEN_SOURCE=600 -D_POSIX_C_SOURCE=200809L -fopenmp -I/usr/include/ImageMagick -g -O2 -Wall -Wextra -Wno-sign-compare -Wno-deprecated -Wno-deprecated-declarations -MT raster.lo -MD -MP -MF .deps/raster.Tpo -c -o raster.lo raster.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/windowmaker-0.95.5/include -DNDEBUG -D_XOPEN_SOURCE=600 -D_POSIX_C_SOURCE=200809L -fopenmp -I/usr/include/ImageMagick -g -O2 -Wall -Wextra -Wno-sign-compare -Wno-deprecated -Wno-deprecated-declarations -MT raster.lo -MD -MP -MF .deps/raster.Tpo -c raster.c  -fPIC -DPIC -o .libs/raster.o
In file included from raster.c:29:
wraster.h:182: error: wrong number of arguments specified for 'deprecated' attribute
make[3]: *** [raster.lo] Error 1
make[3]: Leaving directory `/home/djosip/download/novi_wmaker/wmaker-crm.next/wrlib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/djosip/download/novi_wmaker/wmaker-crm.next/wrlib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/djosip/download/novi_wmaker/wmaker-crm.next'
make: *** [all] Error 2


If I open the file wrlib/wraster.h and replace this:
        unsigned int use_shared_pixmap:1;
        unsigned int optimize_for_speed:1
            __wrlib_deprecated("Flag optimize_for_speed in RContext is not used anymore "
                               "and will be removed in future version, please do not use");
with this:
        unsigned int use_shared_pixmap:1;
        unsigned int optimize_for_speed:1;

After that I can continue compiling the source until I get to the next problem:
/bin/sh ../libtool  --tag=CC   --mode=link gcc -fopenmp -I/usr/include/ImageMagick -g -O2 -Wall -Wextra -Wno-sign-compare -Wno-deprecated -Wno-deprecated-declarations -version-info 5:0:0 -Wl,--version-script=libwraster.map  -o libwraster.la -rpath /usr/local/windowmaker-0.95.5/lib raster.lo alpha_combine.lo draw.lo color.lo load.lo save.lo gradient.lo xpixmap.lo convert.lo context.lo misc.lo scale.lo rotate.lo flip.lo convolve.lo save_xpm.lo xutil.lo load_ppm.lo load_gif.lo load_jpeg.lo load_png.lo load_tiff.lo load_xpm.lo  load_webp.lo load_magick.lo -L/usr/local/windowmaker-0.95.5/lib   -lXpm -lpng -ljpeg -lgif -ltiff -lwebp -lMagickWand -lMagickCore   -lX11  -lXext -lXmu -lm 
libtool: link: gcc -shared  .libs/raster.o .libs/alpha_combine.o .libs/draw.o .libs/color.o .libs/load.o .libs/save.o .libs/gradient.o .libs/xpixmap.o .libs/convert.o .libs/context.o .libs/misc.o .libs/scale.o .libs/rotate.o .libs/flip.o .libs/convolve.o .libs/save_xpm.o .libs/xutil.o .libs/load_ppm.o .libs/load_gif.o .libs/load_jpeg.o .libs/load_png.o .libs/load_tiff.o .libs/load_xpm.o .libs/load_webp.o .libs/load_magick.o   -L/usr/local/windowmaker-0.95.5/lib -lXpm -lpng -ljpeg -lgif -ltiff -lwebp -lMagickWand -lMagickCore -lX11 -lXext -lXmu -lm  -Wl,--version-script=libwraster.map   -Wl,-soname -Wl,libwraster.so.5 -o .libs/libwraster.so.5.0.0
/usr/bin/ld: cannot open linker script file libwraster.map: No such file or directory
collect2: ld returned 1 exit status
make[3]: *** [libwraster.la] Error 1
make[3]: Leaving directory `/home/djosip/download/novi_wmaker/wmaker-crm.next/wrlib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/djosip/download/novi_wmaker/wmaker-crm.next/wrlib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/djosip/download/novi_wmaker/wmaker-crm.next'
make: *** [all] Error 2


Does anyone have a solution for this?
Also, please let me know if a more detailed output would be of help.

arch: x86_64
autoconf-2.69-12.2
automake-1.11.1-4
libtool-2.2.6-15.5


Thanks in advance

-- 
Josip Deanovic


-- 
To unsubscribe, send mail to [email protected].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.