Ok, as the title states I am installing nGhost on Ubuntu 9.0.4 and am having some issues. After running through the library install (libnghost) and installing all dependencies and packages I finally got it to configure, make and install. Then I went on to nGhost itself, it configured fine, but when I run make I get the following error:
I have tried everything I can think of but this is too generic of an error to find on Google. I received the same message when I ran make on the libraries, but I found that it was because I wasn't root and upon sudo'ing the command it worked fine. As you can see in this situation I am already root, so I'm lost. I really wanted to get this fixed before I left today but I guess it will have to wait until Monday.
Anyway, any ideas?
[email protected]:/home/god/nGhost_Stuff/nghost2-2.0.2# sudo make make all-recursive make: Entering directory `/home/god/nGhost_Stuff/nghost2-2.0.2' Making all in src make: Entering directory `/home/god/nGhost_Stuff/nghost2-2.0.2/src' Making all in nscan make: Entering directory `/home/god/nGhost_Stuff/nghost2-2.0.2/src/nscan' g++ -DHAVE_CONFIG_H -I. -I../.. -Wall -Werror -I/usr/include/taglib -DPLUGIN_DIR=\"/usr/local/lib/nghost\" -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/local/include/nghost -I/usr/local/include/nghost -I/usr/local/include/nghost -I/usr/local/include/nghost -I/usr/include/taglib -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/local/include/nghost -I/usr/include/SDL -g -O2 -MT nscan-nscan.o -MD -MP -MF .deps/nscan-nscan.Tpo -c -o nscan-nscan.o `test -f 'nscan.cpp' || echo './'`nscan.cpp cc1plus: warnings being treated as errors nscan.cpp: In function ‘void daemonize()’: nscan.cpp:320: error: ignoring return value of ‘int dup(int)’, declared with attribute warn_unused_result nscan.cpp:321: error: ignoring return value of ‘int dup(int)’, declared with attribute warn_unused_result make: *** [nscan-nscan.o] Error 1 make: Leaving directory `/home/god/nGhost_Stuff/nghost2-2.0.2/src/nscan' make: *** [all-recursive] Error 1 make: Leaving directory `/home/god/nGhost_Stuff/nghost2-2.0.2/src' make: *** [all-recursive] Error 1 make: Leaving directory `/home/god/nGhost_Stuff/nghost2-2.0.2' make: *** [all] Error 2 [email protected]:/home/god/nGhost_Stuff/nghost2-2.0.2#
Anyway, any ideas?