[Ubuntu-BR] Gostaria de saber se existe alguma dependencia para corrigir este monte de erros

hamacker sirhamacker em gmail.com
Terça Março 13 15:00:21 UTC 2007


$uname -a
Linux ubuntu-notebook 2.6.20-9-generic #2 SMP Mon Feb 26 03:01:44 UTC
2007 i686 GNU/Linux

tenho a mesma instrução em
/usr/src/linux-headers-2.6.20-10-generic$/include/linux/usb_ch9.h :

/* USB_DT_ENDPOINT: Endpoint descriptor */
struct usb_endpoint_descriptor {
        __u8  bLength;
        __u8  bDescriptorType;

        __u8  bEndpointAddress;
        __u8  bmAttributes;
        __le16 wMaxPacketSize;
        __u8  bInterval;

        /* NOTE:  these two are _only_ in audio endpoints. */
        /* use USB_DT_ENDPOINT*_SIZE in bLength, not sizeof. */
        __u8  bRefresh;
        __u8  bSynchAddress;
} __attribute__ ((packed));

Porém mesmo assim, não compila. Forcei a barra e baixei os fontes,
cujos headers são iguais em :
/usr/src/linux/include/linux/usb_ch9.h

Experimentei o gcc-3.4, algumas libs-dev, mas mesmo assim não compila.

[]'s

Em 13/03/07, Jonh Wendell<wendellxxx em ubuntu.com> escreveu:
> On Ter, 2007-03-13 at 11:08 -0300, hamacker wrote:
> > Pois é, mas a mesma página tem um update dizendo :
> > UPDATE
> > There is NO NEED to apply the patch, because it is already in Syntek SVN.
> >
> > tentei aplicar o patch, mas veja o erro :
> > $patch -p0 <syntek.patch
> > patching file stk11xx.h
> > Hunk #1 succeeded at 34 with fuzz 2 (offset -12 lines).
> > patching file stk11xx-usb.c
> > Hunk #1 FAILED at 59.
> > Hunk #2 FAILED at 593.
> > 2 out of 2 hunks FAILED -- saving rejects to file stk11xx-usb.c.rej
> >
> > Aparentemente o patch realmente já foi aplicado ao svn.
>
> Cara, você tem a versão 2.6.20 do kernel?
>
> Pois aqui a struct usb_endpoint_descriptor tem sim um membro chamado
> wMaxPacketSize.
>
> Veja no arquivo
> /usr/src/linux-headers-2.6.20-10/include/linux/usb_ch9.h :
>
> struct usb_endpoint_descriptor {
>         __u8  bLength;
>         __u8  bDescriptorType;
>
>         __u8  bEndpointAddress;
>         __u8  bmAttributes;
>         __le16 wMaxPacketSize;
>         __u8  bInterval;
>
>         /* NOTE:  these two are _only_ in audio endpoints. */
>         /* use USB_DT_ENDPOINT*_SIZE in bLength, not sizeof. */
>         __u8  bRefresh;
>         __u8  bSynchAddress;
> } __attribute__ ((packed));
>
> T+,




More information about the ubuntu-br mailing list