Welcome
Welcome to a320

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, join our community today!

prboom (a doom engine) running on dingoo linux

Only for posting new Dingux software releases.

Moderator: Moderators

Re: prboom (a doom engine) running on dingoo linux

Postby mortys on Tue Jun 30, 2009 4:33 pm

In fact, we "only" need that Joyrider staticly compile Prboom, as did for Hexen or Heretic.
mortys
 
Posts: 37
Joined: Tue Mar 10, 2009 2:24 pm

Re: prboom (a doom engine) running on dingoo linux

Postby ezelkow1 on Tue Jun 30, 2009 5:32 pm

I wouldnt start pulling down random libraries, besides rpm wouldnt work well on this anyway since rpm isnt setup on the rootfs. You would have to unpack the rpm by hand and copy it over. You would also need to make sure that the library matches up with whatever rootfs your using. If your using the uclibc one then the sdl libs are already installed. If your using the googlecode rootfs you should just download the set of libs posted there, either way just downloading a random rpm isnt what you should do.
ezelkow1
 
Posts: 84
Joined: Tue Apr 28, 2009 11:58 pm

Re: prboom (a doom engine) running on dingoo linux

Postby espontaneo on Tue Jun 30, 2009 6:07 pm

hehe - well that's true - And yes I extracted it and copied it over.

it doesn't work anyway - but didn't seem to mess anything else up - yet...anyway no bigee to delete it back off
espontaneo
 
Posts: 112
Joined: Wed Jun 17, 2009 2:08 pm

Re: prboom (a doom engine) running on dingoo linux

Postby aceyrandom on Tue Jun 30, 2009 6:22 pm

Sorry for the misleading idea...still learning!
aceyrandom
 
Posts: 14
Joined: Wed Mar 04, 2009 2:01 pm

Re: prboom (a doom engine) running on dingoo linux

Postby mortys on Wed Jul 01, 2009 4:53 pm

Hi
I was wondering if some of the coders can do a static compilation of Prboom ? so we ca use it with Dingux
mortys
 
Posts: 37
Joined: Tue Mar 10, 2009 2:24 pm

Re: prboom (a doom engine) running on dingoo linux

Postby jmd28 on Thu Jul 02, 2009 5:56 pm

I get segmentation fault with prboom :?:
jmd28
 
Posts: 21
Joined: Sat Jun 13, 2009 11:58 am

Re: prboom (a doom engine) running on dingoo linux

Postby iliyan on Fri Jul 03, 2009 7:50 pm

jmd28 wrote:I get segmentation fault with prboom :?:


Me too.. :?
User avatar
iliyan
 
Posts: 63
Joined: Sun Apr 05, 2009 2:11 pm
Location: Bulgaria

Re: prboom (a doom engine) running on dingoo linux

Postby yoannd26 on Sun Jul 05, 2009 8:33 pm

I think this prboom release not works with the last rootfs.
It's necessary to re-compile.

++
yoannd26
 
Posts: 25
Joined: Thu Jun 04, 2009 6:34 pm

Re: prboom (a doom engine) running on dingoo linux

Postby stuckie on Sun Jul 05, 2009 8:38 pm

Having run it through gdb, it seems that it's having issues with this function:
Code: Select all
w_wad.c - line 282
unsigned W_LumpNameHash(const char *s)
{
  unsigned hash;
  (void) ((hash =        toupper(s[0]), s[1]) && // line 285
          (hash = hash*3+toupper(s[1]), s[2]) &&
          (hash = hash*2+toupper(s[2]), s[3]) &&
          (hash = hash*2+toupper(s[3]), s[4]) &&
          (hash = hash*2+toupper(s[4]), s[5]) &&
          (hash = hash*2+toupper(s[5]), s[6]) &&
          (hash = hash*2+toupper(s[6]),
           hash = hash*2+toupper(s[7]))
         );
  return hash;
}

Program received signal SIGSEGV, Segmentation fault.
0x0045a770 in W_LumpNameHash (s=0x5a4530 "PLAYPAL") at w_wad.c:285
285     w_wad.c: No such file or directory.
        in w_wad.c
(gdb) bt
#0  0x0045a770 in W_LumpNameHash (s=0x5a4530 "PLAYPAL") at w_wad.c:285
#1  0x0045a8c8 in W_HashLumps () at w_wad.c:356
#2  0x0045b548 in W_Init () at w_wad.c:424
#3  0x004344b0 in D_DoomMainSetup () at d_main.c:1510
#4  0x00436824 in D_DoomMain () at d_main.c:1645
#5  0x004be4b4 in main (argc=1, argv=<value optimized out>) at i_main.c:407



... specifically, it seems that it can't find "toupper" in the C libraries, which is interesting.
I've ran into the same issues while attempting to port Bennu over to the Dingoo - it used isspace, which I had to replace with a function that does the same thing.
Bennu seems to fail when creating SDL threads too... not sure if it's a related issue as pthreads is quite a critical library and all, but it definitely seems that the libc's got mangled somewhere along the lines.

This is on the Dingoo uclibc rootfs - 06/17.
stuckie
 
Posts: 7
Joined: Mon May 25, 2009 1:36 pm

Previous

Return to Dingux Releases

Who is online

Users browsing this forum: No registered users and 0 guests