You are not logged in.

#1 2015-11-19 05:40:37

lilorox
Member
Registered: 2011-10-16
Posts: 25

Error on alsa/pcm.h when compiling OpenDUNE

Hi,

I have the follwing error when trying to compile OpenDUNE (or use the AUR package):

[lilo@lenorox:~/soft/OpenDUNE] master ± LANG=C make
[...]
make[1]: Leaving directory '/data/home.arch/lilo/soft/OpenDUNE'
make[1]: Entering directory '/data/home.arch/lilo/soft/OpenDUNE/objs/release'
[SRC] Compiling and linking depend
[SRC] DEP CHECK (all files)
[SRC] Compiling animation.c
[SRC] Compiling audio/driver.c
[SRC] Compiling audio/dsp_alsa.c
In file included from /usr/include/alsa/asoundlib.h:54:0,
                 from /home/lilo/soft/OpenDUNE/src/audio/dsp_alsa.c:5:
/usr/include/alsa/pcm.h:1010:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
 static inline void snd_pcm_pack_audio_tstamp_config(unsigned int *data,
               ^
/usr/include/alsa/pcm.h:1018:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
 static inline void snd_pcm_unpack_audio_tstamp_report(unsigned int data, unsigned int accuracy,
               ^
Makefile:176: recipe for target 'audio/dsp_alsa.o' failed
make[1]: *** [audio/dsp_alsa.o] Error 1
make[1]: Leaving directory '/data/home.arch/lilo/soft/OpenDUNE/objs/release'
Makefile:41: recipe for target 'all' failed
make: *** [all] Error 1

Any idea on how to fix this?

Last edited by lilorox (2015-11-19 05:41:27)

Offline

#2 2016-02-09 14:58:15

LiquidityC
Member
From: Sweden
Registered: 2011-09-24
Posts: 16

Re: Error on alsa/pcm.h when compiling OpenDUNE

Did you solve this? I got the same issue right now.

Offline

#3 2016-02-09 15:07:52

lilorox
Member
Registered: 2011-10-16
Posts: 25

Re: Error on alsa/pcm.h when compiling OpenDUNE

Nope, I still haven't.

I haven't given it a try in a few weeks but I'll post if I find anything useful.

Offline

Board footer

Powered by FluxBB