Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > Engine Management, OBD-II, Engine Diagnostics, etc. > OBDII GPS Logger


Reply
 
Share Thread Tools Display Modes
Old 08-23-2009, 07:04 PM   #1
Newbie
 
Join Date: Aug 2009
Posts: 14
dents is an unknown quantity at this point
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?
dents is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 08-23-2009, 07:39 PM   #2
Mod - OBDII GPS Logger forum
 
Join Date: Mar 2009
Location: Los Angeles
Posts: 404
chunkyks is on a distinguished road
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 (-;
chunkyks is online now   Reply With Quote
Old 08-23-2009, 11:42 PM   #3
Newbie
 
Join Date: Aug 2009
Posts: 14
dents is an unknown quantity at this point
And there was much rejoicing! Thanks it works now.
dents is offline   Reply With Quote
Old 08-24-2009, 12:31 AM   #4
Mod - OBDII GPS Logger forum
 
Join Date: Mar 2009
Location: Los Angeles
Posts: 404
chunkyks is on a distinguished road
I wish all problems were this easy to fix :-D

Gary (-;
chunkyks is online now   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
M2-ATX power off with ubuntu 9.04 cmonty Power Supplies 3 08-25-2009 03:13 AM
compiling on ubuntu 9.04 kev000 OBDII GPS Logger 12 08-02-2009 03:45 PM
How-To: Ubuntu 9.04: build, configure, and run smokeybreeze OBDII GPS Logger 13 07-20-2009 10:17 PM
Ubuntu Mobile - the next gen Car PC frontend!? wywywywy Unix, Linux, BSD, Etc 27 06-23-2009 12:31 PM
reconnected puter and now audio problem.. NYCdesignkid Car Audio 2 05-31-2006 12:09 AM



All times are GMT -5. The time now is 03:45 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics