OESF Portables Forum
Everything Else => General Support and Discussion => Zaurus General Forums => Archived Forums => Software => Topic started by: ninsei 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.
-
Where is a source location?
-
https://www.oesf.org/commu...dmap/index.html (https://www.oesf.org/community/66.180.235.230/projects/zroadmap/index.html)
i\'m using the 1.0-rc9 one at the bottom of the files section
-
ninsei,
Please use the latest roadmap source code available from http://roadmap.saignon.net/download.html (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.
-
Well done! Submitting patches back to upstream == good style.
-
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.
-
[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.
-
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
-
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.)\"
-
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\'
.
.