From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: incomplete type?!? Date: Mon, 10 Mar 2003 17:38:53 +0100 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: Mime-Version: 1.0 (generated by SEMI 1.14.4 - "Hosorogi") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Giuliano Pochini Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Mon, 10 Mar 2003 17:33:36 +0100 (CET), Giuliano Pochini wrote: > > > On 10-Mar-2003 Takashi Iwai wrote: > > At 06 Mar 2003 22:46:45 +0000, > > Giuliano Pochini wrote: > >> > >> I can't compile spin_lockxxxx(lock): > >> > >> echoaudio.c:237: dereferencing pointer to incomplete type > >> > >> I try to compile my module with the same args, defines and includes of > >> azt3328.c. Spinlock operations expands to exactly the same stuff > >> according cpp, but azt3328 compiles fine. What am I missing ? > > > > did you include the correct kernel header files? > > i guess spinlock_t is not defined properly. > > Yes... I believe. I also copied the #include's from azt3328.c and > I added . I hate problems with header files #:( you mean , right? anyway, it's better to show the code and the exact error messages for debugging if you have nothing against... it might be a simple typo, such as the forgotten '&' etc. Takashi ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf