Page 1 of 3 123 LastLast
Results 1 to 10 of 24

Thread: nGhost 2.0.2 on Ubuntu 9.0.4 - 'make' issue

  1. #1
    Constant Bitrate
    Join Date
    May 2008
    Posts
    116

    nGhost 2.0.2 on Ubuntu 9.0.4 - 'make' issue

    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:

    Code:
    root@Heaven:/home/god/nGhost_Stuff/nghost2-2.0.2# sudo make
    make  all-recursive
    make[1]: Entering directory `/home/god/nGhost_Stuff/nghost2-2.0.2'
    Making all in src
    make[2]: Entering directory `/home/god/nGhost_Stuff/nghost2-2.0.2/src'
    Making all in nscan
    make[3]: 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[3]: *** [nscan-nscan.o] Error 1
    make[3]: Leaving directory `/home/god/nGhost_Stuff/nghost2-2.0.2/src/nscan'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/home/god/nGhost_Stuff/nghost2-2.0.2/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/god/nGhost_Stuff/nghost2-2.0.2'
    make: *** [all] Error 2
    root@Heaven:/home/god/nGhost_Stuff/nghost2-2.0.2#
    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?

  2. #2
    Constant Bitrate
    Join Date
    May 2008
    Posts
    116
    Oh yeah, the good news is this was posted from my carputer, so at least I am getting SOMEWHERE!

  3. #3
    licensed to kill - FKA kev000
    Auto Apps:loading...
    tripzero's Avatar
    Join Date
    Aug 2006
    Location
    16.40618, 120.61106
    Posts
    2,494
    Download nghost from svn. The svn code has been updated to compile against the newer GCC versions (plus you get more cool features).
    Former author of LinuxICE, nghost, nobdy.
    Current author of Automotive Message Broker (AMB).
    Works on Tizen IVI. Does not represent anyone or anything but himself.

  4. #4
    Constant Bitrate
    Join Date
    May 2008
    Posts
    116
    Hey Kev - Thanks for the response - I did that...still the same problem. Could you post the code to DL it in case I got it wrong?

  5. #5
    Constant Bitrate
    Join Date
    May 2008
    Posts
    116
    Anyone else got advice on this? I'm not sure what I need to do...I thought I did what Kev has suggested.

  6. #6
    Newbie
    Join Date
    May 2009
    Posts
    1
    I'm having the exact same problem. I'm very new to Linux in general and so I have no clue what to do. Hoping someone can help shed some light on this.

  7. #7
    licensed to kill - FKA kev000
    Auto Apps:loading...
    tripzero's Avatar
    Join Date
    Aug 2006
    Location
    16.40618, 120.61106
    Posts
    2,494
    Do the following:

    Code:
    sudo apt-get install subversion
    
    svn checkout https://nghost.svn.sourceforge.net/svnroot/nghost/libnghost libnghost
    svn checkout https://nghost.svn.sourceforge.net/svnroot/nghost/nghost2 nghost2
    
    cd libnghost
    
    ./autogen.sh
    ./configure
    make
    sudo make install
    
    cd ..
    cd nghost2/
    ./autogen.sh
    ./configure
    make
    sudo make install
    Former author of LinuxICE, nghost, nobdy.
    Current author of Automotive Message Broker (AMB).
    Works on Tizen IVI. Does not represent anyone or anything but himself.

  8. #8
    Constant Bitrate
    Join Date
    May 2008
    Posts
    116
    I have downloaded and run the install from subversion but there are a couple things in the code I did differently. I will try that on Monday. If I run these commands over the current install, will they overwrite any issues or do I need to somehow uninstall the current stuff I've done?

    Thanks a ton!

  9. #9
    licensed to kill - FKA kev000
    Auto Apps:loading...
    tripzero's Avatar
    Join Date
    Aug 2006
    Location
    16.40618, 120.61106
    Posts
    2,494
    yeah, uninstalling any existing is a good idea. It may not matter though if you install to the same dir... the new stuff should overwrite the old stuff.
    Former author of LinuxICE, nghost, nobdy.
    Current author of Automotive Message Broker (AMB).
    Works on Tizen IVI. Does not represent anyone or anything but himself.

  10. #10
    Constant Bitrate
    Join Date
    May 2008
    Posts
    116
    ok, so I'll try that, one stupid question though...how do you "uninstall" something in Linux? I'm very new to it!

Page 1 of 3 123 LastLast

Similar Threads

  1. Linux Ice and Nghost looking for developers
    By wirelessdreamer in forum LinuxICE
    Replies: 5
    Last Post: 08-16-2009, 07:05 AM
  2. Ubuntu Mobile - the next gen Car PC frontend!?
    By wywywywy in forum Unix, Linux, BSD, Etc
    Replies: 27
    Last Post: 06-23-2009, 12:31 PM
  3. nGhost 2.0.2 is baked and released
    By tripzero in forum LinuxICE
    Replies: 14
    Last Post: 05-31-2009, 06:06 PM
  4. Indexing music in 1.0.9.8 Failed
    By hovalistic in forum StreetDeck
    Replies: 0
    Last Post: 07-07-2007, 12:19 PM
  5. False floor
    By i3igmind in forum Fabrication
    Replies: 29
    Last Post: 02-04-2006, 11:28 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •