Author Topic: Compiling libSDL from zports CVS  (Read 5794 times)

008

  • Newbie
  • *
  • Posts: 24
    • View Profile
    • http://
Compiling libSDL from zports CVS
« on: June 09, 2004, 11:17:03 pm »
I\'ve run into a snag in compiling libSDL 1.2.6 from zports:
Code: [Select]
...

SDL_blit_arm.S: Assembler messages:

SDL_blit_arm.S:58: Error: bad instruction `pld [r0]\'

SDL_blit_arm.S:59: Error: bad instruction `pld [r0]\'

SDL_blit_arm.S:60: Error: bad instruction `pld [r0]\'

SDL_blit_arm.S:61: Error: bad instruction `pld [r0]\'

SDL_blit_arm.S:113: Error: bad instruction `pld [r2]\'

SDL_blit_arm.S:219: Error: bad instruction `pld [r0]\'

...


Any ideas?  Or has anyone tried succesfully and would like to post the binaries?  Such as: libSDL.a, libSDL-1.2.so.0.0.6, libSDL.la, libSDLmain.a?

BTW I\'m using the gcc from the zgcc2.9.5 cramfs image, and installed binutils for autoconf/automake.

Thanks

_Psycho

  • Full Member
  • ***
  • Posts: 114
    • View Profile
    • http://zports.sf.net
Compiling libSDL from zports CVS
« Reply #1 on: June 10, 2004, 07:56:04 am »
You trying to compile it on your zaurus or on a pc ?

I never tried directly from a zaurus. But if you only need the .a and .la etc, I probably have them on my pc
(Or i can do it for you). I will probably have time this weekend to build you that, Hope your not in a hurry
Zaurus Porting Project :
http://zports.sf.net
Conics:
http://www.conics.net

008

  • Newbie
  • *
  • Posts: 24
    • View Profile
    • http://
Compiling libSDL from zports CVS
« Reply #2 on: June 12, 2004, 02:27:00 am »
On the zaurus :-)

Anyway, it is okay, as I was able to compile SDL 1.2.7 from CVS, and use those libSDL.la and libSDLmain.a..

Now I am able to play Open Transport Tycoon in its 640x480 glory, even though there is an issue with sprite loading.. :-)

_Psycho

  • Full Member
  • ***
  • Posts: 114
    • View Profile
    • http://zports.sf.net
Compiling libSDL from zports CVS
« Reply #3 on: June 13, 2004, 11:35:12 am »
Hmm sound great, I have to check that
Zaurus Porting Project :
http://zports.sf.net
Conics:
http://www.conics.net

yzord

  • Full Member
  • ***
  • Posts: 162
    • View Profile
    • http://
Compiling libSDL from zports CVS
« Reply #4 on: June 13, 2004, 01:16:53 pm »
Quote
On the zaurus :-)
...
Now I am able to play Open Transport Tycoon in its 640x480 glory, even though there is an issue with sprite loading.. :-)


Whoa nelly! You compiled OTT for the Z?! You gotta make that publicly available man, this is NEWS!

Saw the screenshots on the OTT forums:
http://ttforums.owenrudge.net/viewtopic.php?t=8207

You wouldnt happen to be blakeyez or kenny would you?

Yz

008

  • Newbie
  • *
  • Posts: 24
    • View Profile
    • http://
Compiling libSDL from zports CVS
« Reply #5 on: June 14, 2004, 02:14:53 am »
I would be Kenny.. I didn\'t have to do too much, just compile it.. but it is still not working quite right.. when we get the kinks get worked out I\'ll package it up :-)

_Psycho

  • Full Member
  • ***
  • Posts: 114
    • View Profile
    • http://zports.sf.net
Compiling libSDL from zports CVS
« Reply #6 on: June 14, 2004, 10:51:57 am »
I lacked of time yesterday, I hope i will have time to compile it tonight to test.
Zaurus Porting Project :
http://zports.sf.net
Conics:
http://www.conics.net

yzord

  • Full Member
  • ***
  • Posts: 162
    • View Profile
    • http://
Compiling libSDL from zports CVS
« Reply #7 on: June 14, 2004, 02:33:42 pm »
Thanks for all your efforts, Kenny and _Psycho (and blakeyez) at making this an eventual reality for the Z! Maybe all three of you can work together on this one... _Psycho you\'re the one that\'s maintaining ZPorts right? That might be a good place to host this?

Anyway, whatever you guys decide, your efforts are very much appreciated.
Yz

_Psycho

  • Full Member
  • ***
  • Posts: 114
    • View Profile
    • http://zports.sf.net
Compiling libSDL from zports CVS
« Reply #8 on: June 14, 2004, 02:47:10 pm »
Quote
Thanks for all your efforts, Kenny and _Psycho (and blakeyez) at making this an eventual reality for the Z! Maybe all three of you can work together on this one... _Psycho you\'re the one that\'s maintaining ZPorts right? That might be a good place to host this?

Anyway, whatever you guys decide, your efforts are very much appreciated.
Yz


Yeah i maintain it with Manuel Teira Paz, he is the one compiling more stuff atm (and he redid the page better than my first version  I should fix the menu color thought i never really liked them. I have not done anything for a very long time (I was busy with some other emulation project (WoW).  Last night I updated my debian etc etc took me like 2-3 hours, especially X-windows, DRI stuff was not working anymore with my kernel 2.6.6. I also saw that im gonna have to recompile qt and qtopia once I have done that tonight. I should have a good system again to port stuff
I hope i can get some games working tonight.

Zports is there to host any zaurus port ! I want to add stratagus on it, Duke 3D (if thats ever work, i only have the \"atomic edition\") and openttd
when i can.  Everyone is welcome to put / port more program on zports !
Zaurus Porting Project :
http://zports.sf.net
Conics:
http://www.conics.net

blakeyez

  • Jr. Member
  • **
  • Posts: 90
    • View Profile
    • http://
Compiling libSDL from zports CVS
« Reply #9 on: June 15, 2004, 11:06:32 am »
As soon as I get my Zaurus from K (hopefully shipping this week if my stupid wire transfer goes through), I will be working much harder on getting all the little issues worked out.

We\'re pretty sure that almost all the issues relate back to the sprite code, which involves some heavy memory-management code that may be slightly broken for the ARM processor.  When the Z gets here I\'ll actually be able to help Kenny a little more with actually testing OpenTTD on the zaurus itself, instead of just doing mostly x86 testing in a qtopia environment.

Dave