OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

2 Pages V   1 2 >  
Reply to this topicStart new topic
> Periodic Table (gperiodic) For Pdaxii13
Tron
post 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...
Go to the top of the page
 
+Quote Post
Ling
post 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.
Go to the top of the page
 
+Quote Post
Meanie
post 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...
Go to the top of the page
 
+Quote Post
Drake01
post 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.)
Go to the top of the page
 
+Quote Post
kkazakov13
post 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 smile.gif Or I may try it at some time smile.gif
Go to the top of the page
 
+Quote Post
Tron
post 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 ;-)
Go to the top of the page
 
+Quote Post
Tron
post 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?
Go to the top of the page
 
+Quote Post
kkazakov13
post 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.
Go to the top of the page
 
+Quote Post
Tron
post 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...
Go to the top of the page
 
+Quote Post
kkazakov13
post Feb 22 2007, 02:14 AM
Post #10





Group: Members
Posts: 409
Joined: 3-December 06
Member No.: 13,063



QUOTE(Tron @ Feb 22 2007, 10:41 AM)
But compiling on the Zaurus probably takes ages - the compile took up ~200MB of memory and needed around 10min on my P4 desktop box...
*


Really ??? For a periodic table program ? wow blink.gif
Go to the top of the page
 
+Quote Post
Tron
post 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  blink.gif


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 sad.gif
Go to the top of the page
 
+Quote Post
T3_slider
post 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.
Go to the top of the page
 
+Quote Post
Tron
post 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?
Go to the top of the page
 
+Quote Post
jcabrer
post 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.
Go to the top of the page
 
+Quote Post
Tron
post 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).
Go to the top of the page
 
+Quote Post

2 Pages V   1 2 >
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 28th February 2015 - 10:55 PM