I'm trying to install Nitrogen, but I got this error.
Code:
g++ -o nitrogen main.o SetBG.o Thumbview.o Config.o NWindow.o md5.o ArgParser.o ImageCombo.o Inotify.o Util.o NPrefsWindow.o -lglib-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 -lgtkmm-2.4 -latkmm-1.6 -lgdkmm-2.4 -lgiomm-2.4 -lpangomm-1.4 -lgtk-x11-2.0 -lglibmm-2.4 -lcairomm-1.0 -lsigc-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 -pthread -lgthread-2.0 -lrt -lglib-2.0 -lXinerama
/usr/bin/ld: SetBG.o: undefined reference to symbol 'XSetCloseDownMode'
/usr/bin/ld: note: 'XSetCloseDownMode' is defined in DSO /usr/lib/../lib64/libX11.so.6 so try adding it to the linker command line
/usr/lib/../lib64/libX11.so.6: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
I tried to google it, and found some similar errors but for other packages. Their solutions was to add something to the make command, or to edit the Makefile, but I don't understand from it what I should do with this package.