Compilation error
Closed this issue · 3 comments
Deleted user commented
sudo make clean install [sudo] password for ritikesh: rm -f dwm dwm-msg drw.o dwm.o util.o dwm-6.2.tar.gz dwm build options: CFLAGS = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/yajl -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=2 -DVERSION="6.2" -DXINERAMA LDFLAGS = -L/usr/X11R6/lib -lX11 -lXinerama -lfontconfig -lXft -lyajl CC = cc cc -c -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/yajl -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=2 -DVERSION=\"6.2\" -DXINERAMA drw.c cc -c -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/yajl -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=2 -DVERSION=\"6.2\" -DXINERAMA dwm.c cc -c -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/yajl -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=2 -DVERSION=\"6.2\" -DXINERAMA util.c cc -o dwm drw.o dwm.o util.o -L/usr/X11R6/lib -lX11 -lXinerama -lfontconfig -lXft -lyajl /usr/bin/ld: dwm.o: undefined reference to symbol 'XRenderFindVisualFormat' /usr/bin/ld: /usr/lib/libXrender.so.1: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status make: *** [Makefile:26: dwm] Error 1
Deleted user commented
i have patched dwm several times this is the first time i got something like this
bakkeby commented
For what it is worth the above error was in relation to using the alpha patch and not having -lXrender
in config.mk. The user that opened this issue has been deleted so this can be closed.
mihirlad55 commented
Thanks for the info!