IRC logs for #opendune on OFTC at 2019-12-30
⏴ go to previous day
12:16:49 *** agneli has joined #opendune
12:17:40 <agneli> i am trying to compile opendune on debian stretch
12:18:09 <agneli> downloaded 0.9 version from github page
12:18:49 <agneli> it throws an error while linking opendune.c
12:19:13 <agneli> and I cannot find any info on the internet
12:19:22 <agneli> I have never ever compiled opendune before
12:20:15 <agneli> that is what I am getting
14:37:55 <agneli> OK, I was missing sdl*-dev packages
14:38:41 <agneli> now I have midi_alsa.c:8 telling me that I have an error in /usr/include/alsa/pcm.h:1010:15:
14:39:11 <agneli> error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
14:39:50 <agneli> that would mean there are errors in header file included in a pretty basic debian package... is that even possible?
16:38:59 <agneli> i disabled alsa and pulse while ./configure so now it compiles apparently ok
16:39:12 <agneli> but segfaults when I try to run it
16:39:58 <agneli> kernel: [21127.478821] opendune[25786]: segfault at 1d7239c ip 004b1e16 sp bfc11020 error 4 in opendune[473000+b5000]
22:21:59 <agneli> if someone could help me :)
22:22:14 <agneli> looks like it segfaults while reading dune.pak
22:31:14 <glx> I don't remember if it can work without audio
22:34:06 <glx> seems there's dsp_none and midi_none so it should work
22:34:34 <agneli> I am recompiling with alsa now
22:34:50 <agneli> also I checked my version of dune in dosbox and it works fine
22:42:46 <agneli> I guess I had bad version
22:42:56 <agneli> I used one that was specifically marked 1.07
22:43:21 <agneli> and voila it works, so far flawlessly :)
22:43:43 <agneli> now last question - will it compile on armhf?
22:50:41 <glx> I don't know, maybe needs some updates in the code
22:52:55 <agneli> Thank you for your help
22:53:14 <glx> you can try, and ask for help on github if needed
22:53:33 <agneli> game still freezes on the intro but I had enough for today
22:53:50 <agneli> I will try for sure, once my arm machine comebacks
continue to next day ⏵