incomplete type?!?
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 ?
Bye.
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com
At 06 Mar 2003 22:46:45 +0000,
Quoted 8 lines · Giuliano Pochini
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.
Takashi
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Quoted 5 lines · On 10-Mar-2003 Takashi Iwai wrote:
At 06 Mar 2003 22:46:45 +0000,
Quoted 3 lines · Giuliano Pochini
I can't compile
spin_lockxxxx(lock):
Quoted 8 lines
Quoted 5 lines
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 guessspinlock_tis not defined properly.
Yes... I believe. I also copied the #include's from azt3328.c and I added <spinlock.h>. I hate problems with header files #:(
Bye.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
At Mon, 10 Mar 2003 17:33:36 +0100 (CET),
Quoted 14 lines · Giuliano Pochini
Quoted 11 lines · On 10-Mar-2003 Takashi Iwai wrote:
At 06 Mar 2003 22:46:45 +0000,
Quoted 8 lines · Giuliano Pochini
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 ?
Quoted 5 lines
Quoted 2 lines
did you include the correct kernel header files?
i guessspinlock_tis not defined properly.Yes... I believe. I also copied the #include's from
azt3328.cand I added <spinlock.h>. I hate problems with header files #:(
you mean <linux/spinlock.h>, 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