![]() ![]() |
Feb 18 2007, 09:43 AM
Post
#1
|
|
|
Group: Members Posts: 47 Joined: 28-February 06 Member No.: 9,244 |
Hello all,
I'm looking for a periodic table of the elements for pdaxrom (well, xpaxii13, actually) and want to use my favorite linux application, gperiodic. As it is a gtk+-Application, I did expect it to work. It compiles fine on the Zaurus (C3100 with gcc 3.4.6), but when I try to run the executable all I get is 100% CPU load. Maybe someone came across the same problem or one of the experts here has the time to take a quick look... |
|
|
|
Feb 18 2007, 09:56 AM
Post
#2
|
|
|
Group: Members Posts: 352 Joined: 3-June 04 From: Virginia, US Member No.: 3,563 |
If you look at the Want Compiled thread, Meanie posted earlier today that the standard gcc on the Z (w/ pdaXii13) will not work. I think that he said version 2.5.9 is needed, but not sure, check it out.
|
|
|
|
Feb 18 2007, 07:41 PM
Post
#3
|
|
![]() Group: Members Posts: 2,808 Joined: 21-March 05 From: Sydney, Australia Member No.: 6,686 |
QUOTE(Ling @ Feb 19 2007, 03:56 AM) If you look at the Want Compiled thread, Meanie posted earlier today that the standard gcc on the Z (w/ pdaXii13) will not work. I think that he said version 2.5.9 is needed, but not sure, check it out. I didn't say that at all. the gcc compiler on the Z is fine for compiling apps, but not for compiling kernel modules because we are still using an older kernel which needs an older compiler... |
|
|
|
Feb 19 2007, 04:55 PM
Post
#4
|
|
|
Group: Members Posts: 226 Joined: 29-March 06 Member No.: 9,483 |
QUOTE(Meanie @ Feb 18 2007, 10:41 PM) I didn't say that at all. the gcc compiler on the Z is fine for compiling apps, but not for compiling kernel modules because we are still using an older kernel which needs an older compiler... That's great news! I have to say that I miss my period table app from my old PDA. It was surprising how many times we'd be in the backyard drinking beer by the moonlight when suddenly the course of the conversation would turn and we'd desperately need to know the melting point of tin or the atomic weight of uranium or some other ridiculous item. (I'm being serious... I don't understand it, either.) |
|
|
|
Feb 19 2007, 09:57 PM
Post
#5
|
|
![]() Group: Members Posts: 409 Joined: 3-December 06 Member No.: 13,063 |
You may try also compiling gelemental
|
|
|
|
Feb 21 2007, 01:30 AM
Post
#6
|
|
|
Group: Members Posts: 47 Joined: 28-February 06 Member No.: 9,244 |
Thanks for the feedback. Although gelemental is based on gperiodic, I'll give it a try ;-)
|
|
|
|
Feb 21 2007, 01:12 PM
Post
#7
|
|
|
Group: Members Posts: 47 Joined: 28-February 06 Member No.: 9,244 |
It seems, I'm not smart enough for cross-compiling (on the Zaurus I ran out of memory).
On my linux box I get: /usr/lib/libglibmm-2.4.so: could not read symbols: File in wrong format Compiling for x86 gives me a functional executable - I've got no idea what might be wrong here. The library in question is installed correctly. Any ideas? |
|
|
|
Feb 21 2007, 02:37 PM
Post
#8
|
|
![]() Group: Members Posts: 409 Joined: 3-December 06 Member No.: 13,063 |
It's trying to link to x86 library, but it has to be arm library.
On zaurus you can setup swap file/partition (256mb/512mb) and you won't run out of memory. |
|
|
|
Feb 21 2007, 11:41 PM
Post
#9
|
|
|
Group: Members Posts: 47 Joined: 28-February 06 Member No.: 9,244 |
QUOTE(kkazakov13 @ Feb 22 2007, 12:37 AM) It's trying to link to x86 library, but it has to be arm library. Ah, so I need to get the missing library for the arm architecture from somewhere and integrate it into my cross-compile environment. QUOTE On zaurus you can setup swap file/partition (256mb/512mb) and you won't run out of memory. Yes, I thought about that already - I guess I'll dump the OZ that's still on hd anyway and use one partition as swap. Using a file as swap never occurred to me, does not sound bad either. But compiling on the Zaurus probably takes ages - the compile took up ~200MB of memory and needed around 10min on my P4 desktop box... |
|
|
|
Feb 22 2007, 02:14 AM
Post
#10
|
|
![]() Group: Members Posts: 409 Joined: 3-December 06 Member No.: 13,063 |
|
|
|
|
Feb 22 2007, 11:38 PM
Post
#11
|
|
|
Group: Members Posts: 47 Joined: 28-February 06 Member No.: 9,244 |
QUOTE(kkazakov13 @ Feb 22 2007, 12:14 PM) Really ??? For a periodic table program ? wow Yup, I'm not really sure why. I got it running on my linux box (really nice program, I have to say), just not on the Z. Cross-compiling I'm still missing a few arm-libraries (I wonder what gelemental needs those for anyway) and if I compile directly on the Z with a swapfile enabled I finally get an "internal compiler error" and am told to submit a bug report - great |
|
|
|
Feb 23 2007, 10:50 AM
Post
#12
|
|
|
Group: Members Posts: 125 Joined: 26-December 06 Member No.: 13,449 |
I took a (brief) try at compiling gelemental on my C3200 (beta 3) but it looks like it needs gtkmm which is not included in Meanie's zgcc 3.4.6 and I can't find it for the Z (and I don't think I really want to compile that for the Z, but we'll see).
So unless someone better at this than me gives it a shot (which is most people), it looks like too big of a job for a periodic table program. |
|
|
|
Mar 6 2007, 12:17 PM
Post
#13
|
|
|
Group: Members Posts: 47 Joined: 28-February 06 Member No.: 9,244 |
QUOTE(T3_slider @ Feb 23 2007, 08:50 PM) but it looks like it needs gtkmm which is not included in Meanie's zgcc 3.4.6 and I can't find it for the Z Well, yes, that's the point where I get stuck, too. Does anyone know where to get that or has compiled it for the Zaurus? |
|
|
|
Mar 6 2007, 05:56 PM
Post
#14
|
|
|
Group: Members Posts: 161 Joined: 23-June 05 Member No.: 7,429 |
Check the app in interactive mode:
# gperiodic -i I compiled on Tosa today, and trying to run the gui does seem to hang. I'm going to look in the code if I get a chance later tonight. For now, it does run in interactive mode, which is ok I guess. I'll post my results and ipks (gperiodic and termcap-devel) later. |
|
|
|
Mar 7 2007, 05:49 AM
Post
#15
|
|
|
Group: Members Posts: 47 Joined: 28-February 06 Member No.: 9,244 |
Did you compile version 2.0.8? The one I did does not recognize the "-i" option, just "-v" (does nothing), "-D" (dumps the periodic table as text, this one works) and "-c <temp>" (different coloration according to phase).
|
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 21st May 2013 - 01:40 PM |