Compile Error When Building ALSA Application
From: Moe (mehmoodn_at_gmail.com)
Date: 11/22/05
- Next message: Eric: "creating dso's"
- Previous message: Ian Clarke: "Re: shmget vs. shm_open"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 22 Nov 2005 13:09:25 -0800
Hello,
I am building an application using the ALSA library. Specifically, I
am using the PCM APIs. The problem I am observing is when I use GCC
(version 3.3.4) to compile my program I get the following error:
"audAbstraction.c:893: error: storage size of `status' isn't known"
I have defined a variable called 'status' which is a structure of the
type "snd_pcm_status_t". This structure is defined in the file
'/usr/include/sound/pcm.h'. Further investigation showed that this
structure is an alias of the structure, "sndrv_pcm_status" defined in
the file, '/usr/include/sound/asound.h'. Consequently, I verified the
definition of the structure and found no issues -- all members were
properly defined and accounted for.
I am certain that my makefile contains the path to the above mentioned
header files (NOTE: I verified this by putting erroneous data in the
header files and observing the compiler error). I have searched the
Internet for discussions and possible solutions but have not been
successful in fixing the error myself.
Is there a reason why the "sndrv_pcm_status" structure cannot be
resolved? What other suggestions do you have?
I appreciate your time in investigating and answering my query.
Best regards,
Moe
- Next message: Eric: "creating dso's"
- Previous message: Ian Clarke: "Re: shmget vs. shm_open"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|