Author Topic: anybody able to compile zroadmap?  (Read 3726 times)

ninsei

  • Jr. Member
  • **
  • Posts: 92
    • View Profile
anybody able to compile zroadmap?
« on: February 09, 2004, 09:29:19 am »
got a valid cross compiler set up on my linux box.  the only src tree i see is zroadmap-1.0rc9.  cant get it to compile at all.

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
anybody able to compile zroadmap?
« Reply #1 on: February 09, 2004, 02:09:21 pm »
Where is a source location?
Cheers,

Michael 'Mickey' Lauer | Embedded Linux Freelancer | www.Vanille-Media.de
Consider donating, if you like the software I contribute to.

Anonymous

  • Guest
anybody able to compile zroadmap?
« Reply #2 on: February 09, 2004, 02:42:10 pm »
https://www.oesf.org/commu...dmap/index.html

i\'m using the 1.0-rc9 one at the bottom of the files section

lucho

  • Jr. Member
  • **
  • Posts: 57
    • View Profile
    • http://
anybody able to compile zroadmap?
« Reply #3 on: February 10, 2004, 09:29:19 am »
ninsei,

Please use the latest roadmap source code available from http://roadmap.saignon.net/download.html. Almost all changes from zroadmap are already integrated back in roadmap. Some files used for the creation of the ipk are missing (e.g. the icons).

You have to change the src/qt/Makefile a bit.

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
anybody able to compile zroadmap?
« Reply #4 on: February 10, 2004, 05:16:38 pm »
Well done! Submitting patches back to upstream == good style.
Cheers,

Michael 'Mickey' Lauer | Embedded Linux Freelancer | www.Vanille-Media.de
Consider donating, if you like the software I contribute to.

Anonymous

  • Guest
anybody able to compile zroadmap?
« Reply #5 on: February 10, 2004, 09:42:29 pm »
as i said, i\'m unable to compile it.  exactly what changes need to be made to the makefile?  using OZ/OPIE.  any help is appreciated.

ninsei

  • Jr. Member
  • **
  • Posts: 92
    • View Profile
anybody able to compile zroadmap?
« Reply #6 on: February 14, 2004, 10:46:09 am »
[root@shlomo src]# make -j2 build
.
.
[root@shlomo src]# cd qt

[root@shlomo qt]# . /opt/dev-arm-qpe.sh
Altered environment for Sharp Zaurus Development ARM

[root@shlomo qt]# make DESKTOP=QPE
make -C .. CFLAGS=\"-O2 -ffast-math -fomit-frame-pointer -g -Wall \" LDFLAGS= runtime
make[1]: Entering directory `/tmp/roadmap/src\'
cc -O2 -ffast-math -fomit-frame-pointer -g -Wall    -c -o roadgps_start.o roadgps_start.c
as: unrecognized option `-Qy\'

any help is appreciated.

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
anybody able to compile zroadmap?
« Reply #7 on: February 14, 2004, 01:04:31 pm »
Looks like you\'ve got mix-ups with your cross-toolchain (some parts are using it some aren\'t).

I\'m surprised to see cc being called and equally surprised to see as reporting the error.

Make sure the cross-toolchain versions (the ones without arm-linux- tacked on the front too) are at the start of your PATH variable (this may mean you need to manually add them even after running the dev-arm-qpe.sh script).

A couple of things:

1) You\'re compiling as root! Danger!
2) Have you altered the dev-arm-qpe.sh file at all? Normally it changes the prompt.
3) Make sure you\'re sourcing the file not running it, it looks like you\'re doing it correctly from what you\'ve posted though.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

ninsei

  • Jr. Member
  • **
  • Posts: 92
    • View Profile
anybody able to compile zroadmap?
« Reply #8 on: February 14, 2004, 10:30:47 pm »
thx for the response.   i got farther, now i get:
.
.
.

g++  -I.. -I/usr/include/qt -I/opt/Qtopia/include -L/opt/lib -L/opt/Qtopia/lib -L/opt/Qtopia/sharp/lib -I/usr/include/glib-1.2 -I/usr/lib/glib/include  -O2 -ffast-math -fomit-frame-pointer -g -Wall  -fno-rtti -fno-exceptions -pipe  -c -o moc_qt_main.o moc_qt_main.cc
moc_qt_main.cc:15:34: private/qucomextra_p.h: No such file or directory
moc_qt_main.cc:17:2: #error \"This file was generated using the moc from 3.0.5. It\"
moc_qt_main.cc:18:2: #error \"cannot be used with the include files from this version of Qt.\"
moc_qt_main.cc:19:2: #error \"(The moc has changed too much.)\"

ninsei

  • Jr. Member
  • **
  • Posts: 92
    • View Profile
anybody able to compile zroadmap?
« Reply #9 on: February 14, 2004, 10:49:34 pm »
sorry for the noise, my path was messed up.  got even farther, but:

g++  -I.. -I/usr/include/qt -I/opt/Qtopia/include -L/opt/lib -L/opt/Qtopia/lib -L/opt/Qtopia/sharp/lib -I/usr/include/glib-1.2 -I/usr/lib/glib/include  -O2 -ffast-math -fomit-frame-pointer -g -Wall  -fno-rtti -fno-exceptions -pipe  -c -o roadmap_fileselection.o roadmap_fileselection.cc
roadmap_fileselection.cc: In function `void roadmap_fileselection_new(const
   char*, const char*, const char*, const char*, void (*)(const char*, const
   char*))\':
roadmap_fileselection.cc:46: error: invalid use of undefined type `struct
   QFileDialog\'
/opt/Qtopia/include/qfiledialog.h:45: error: forward declaration of `struct
   QFileDialog\'
.
.