Results 1 to 4 of 4

Thread: Problem compiling under Ubuntu 9.04

  1. #1
    Newbie
    Join Date
    Aug 2009
    Posts
    15

    Problem compiling under Ubuntu 9.04

    I followed the thread on here for doing this exact thing but it's not working for me. This is on an Asus eeePC 900A with Easy Peasy distro upgraded to Ubuntu 9.04:

    dents@datalog:~/Desktop/obdgpslogger/build$ cmake ..
    -- The C compiler identification is GNU
    -- The CXX compiler identification is GNU
    -- Check for working C compiler: /usr/bin/gcc
    -- Check for working C compiler: /usr/bin/gcc -- works
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Check for working CXX compiler: /usr/bin/c++
    -- Check for working CXX compiler: /usr/bin/c++ -- works
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so
    -- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so - found
    -- Looking for gethostbyname
    -- Looking for gethostbyname - found
    -- Looking for connect
    -- Looking for connect - found
    -- Looking for remove
    -- Looking for remove - found
    -- Looking for shmat
    -- Looking for shmat - found
    -- Looking for IceConnectionNumber in ICE
    -- Looking for IceConnectionNumber in ICE - found
    -- Found X11: /usr/lib/libX11.so
    -- Found FLTK: fltk_images;fltk;fltk_gl;fltk_forms;/usr/lib/libSM.so;/usr/lib/libICE.so;/usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libm.so
    -- Found GPSD: /usr/lib/libgps.so,/usr/lib/libgps.so
    -- Found DBUS: /lib/libdbus-1.so,/lib/libdbus-1.so
    -- Looking for include files HAVE_SIGNAL_H
    -- Looking for include files HAVE_SIGNAL_H - found
    -- Looking for sigaction
    -- Looking for sigaction - found
    -- Looking for signal
    -- Looking for signal - found
    -- Looking for ptsname_r
    -- Looking for ptsname_r - found
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /home/dents/Desktop/obdgpslogger/build
    dents@datalog:~/Desktop/obdgpslogger/build$ make
    Scanning dependencies of target ckobdinfo
    [ 2%] Building C object src/obdinfo/CMakeFiles/ckobdinfo.dir/obdrevconvertfunctions.o
    [ 4%] Building C object src/obdinfo/CMakeFiles/ckobdinfo.dir/obdservicecommands.o
    [ 7%] Building C object src/obdinfo/CMakeFiles/ckobdinfo.dir/obdconvertfunctions.o
    Linking C static library libckobdinfo.a
    [ 7%] Built target ckobdinfo
    Scanning dependencies of target ckobdconfigfile
    [ 9%] Building C object src/conf/CMakeFiles/ckobdconfigfile.dir/obdconfigfile.o
    Linking C static library libckobdconfigfile.a
    [ 9%] Built target ckobdconfigfile
    Scanning dependencies of target cksqlite
    [ 11%] Building C object libs/sqlite3/CMakeFiles/cksqlite.dir/sqlite3.o
    Linking C static library libcksqlite.a
    [ 11%] Built target cksqlite
    Scanning dependencies of target obdgpslogger
    [ 14%] Building C object src/logger/CMakeFiles/obdgpslogger.dir/main.o
    /home/dents/Desktop/obdgpslogger/src/logger/main.c: In function ‘main’:
    /home/dents/Desktop/obdgpslogger/src/logger/main.c:203: warning: assignment discards qualifiers from pointer target type
    /home/dents/Desktop/obdgpslogger/src/logger/main.c:424: error: storage size of ‘msg_ret’ isn’t known
    /home/dents/Desktop/obdgpslogger/src/logger/main.c:425: error: ‘OBD_DBUS_NOMESSAGE’ undeclared (first use in this function)
    /home/dents/Desktop/obdgpslogger/src/logger/main.c:425: error: (Each undeclared identifier is reported only once
    /home/dents/Desktop/obdgpslogger/src/logger/main.c:425: error: for each function it appears in.)
    /home/dents/Desktop/obdgpslogger/src/logger/main.c:427: error: ‘OBD_DBUS_STARTTRIP’ undeclared (first use in this function)
    /home/dents/Desktop/obdgpslogger/src/logger/main.c:434: error: ‘OBD_DBUS_ENDTRIP’ undeclared (first use in this function)
    make[2]: *** [src/logger/CMakeFiles/obdgpslogger.dir/main.o] Error 1
    make[1]: *** [src/logger/CMakeFiles/obdgpslogger.dir/all] Error 2
    make: *** [all] Error 2

    Which dumb thing did I do?

  2. #2
    SuperMod - OBDII GPS Logger forum
    Auto Apps:loading...

    Join Date
    Mar 2009
    Location
    Los Angeles
    Posts
    924
    Ooops, my bad. I added some code the other day to do some useful dbus things, but forgot to wrap it with an #ifdef HAVE_DBUS guard.

    That's resolved in svn, now.

    Do an svn update and you'll be set. Or enable dbus support. Or do both!

    Thanks,
    Gary (-;
    OBDGPSLogger, for logging OBDII and/or GPS data
    OBDSim, an OBDII/ELM327 software simulator
    mp3car forums: obdgpslogger, obdsim

  3. #3
    Newbie
    Join Date
    Aug 2009
    Posts
    15
    And there was much rejoicing! Thanks it works now.

  4. #4
    SuperMod - OBDII GPS Logger forum
    Auto Apps:loading...

    Join Date
    Mar 2009
    Location
    Los Angeles
    Posts
    924
    I wish all problems were this easy to fix :-D

    Gary (-;
    OBDGPSLogger, for logging OBDII and/or GPS data
    OBDSim, an OBDII/ELM327 software simulator
    mp3car forums: obdgpslogger, obdsim

Similar Threads

  1. M2-ATX power off with ubuntu 9.04
    By cmonty in forum M2-ATX
    Replies: 3
    Last Post: 08-25-2009, 02:13 AM
  2. compiling on ubuntu 9.04
    By tripzero in forum OBDII GPS Logger
    Replies: 12
    Last Post: 08-02-2009, 02:45 PM
  3. How-To: Ubuntu 9.04: build, configure, and run
    By smokeybreeze in forum OBDII GPS Logger
    Replies: 13
    Last Post: 07-20-2009, 09:17 PM
  4. Ubuntu Mobile - the next gen Car PC frontend!?
    By wywywywy in forum Unix, Linux, BSD, Etc
    Replies: 27
    Last Post: 06-23-2009, 11:31 AM
  5. reconnected puter and now audio problem..
    By NYCdesignkid in forum Car Audio
    Replies: 2
    Last Post: 05-30-2006, 11:09 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
  •