This bothered me, so I've looked into it a little, and
I'll give you my (unofficial) answer.
a. The wait_queue_head_t in linux/include/linux/usb.h
is only present in 2.2 kernel builds. I.e., it's
there for backport support. You didn't say what
kernel version you are building for, just that you
"installed the kernel 2.3.99-pre2," which is a little
ambiguous. Anyway, in doing 2.3.xx builds, this
isn't a problem, so you must be doing 2.2.zz builds
via the backport patch, which also works because wait.h
is different in 2.2, so... (b.)
b. What is your "[compiling an] unrelated program"?
Is it a kernel driver or other kernel change?
Is it a user-space program? If user space, it
shouldn't be including all of these kernel header
files anyway.
So I don't think that there's a real problem here,
IMO.
~Randy
___________________________________________________
|Randy Dunlap Intel Corp., DAL Sr. SW Engr.|
|randy.dunlap.at.intel.com 503-696-2055|
|NOTE: Any views presented here are mine alone |
|and may not represent the views of my employer. |
|_________________________________________________|
> -----Original Message-----
> From: Le physicien nocturne [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, March 19, 2000 6:19 PM
> To: Linux USB
> Subject: [linux-usb] Linux 2.3.99-pre2
>
>
> Hi everybody,
>
> I had a problem when I was compiling an unrelated program.
>
> I have installed the kernel 2.3.99-pre2.
>
> It seems that there is two typedef with the same target name:
> in linux/include/linux/usb.h at line 150:
>
> typedef struct wait_queue *wait_queue_head_t;
>
> in linux/include/linux/wait.h at line 98:
>
> typedef struct __wait_queue_head wait_queue_head_t;
>
> Is this normal?
>
> --
> Le physicien nocturne
> ======================
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]