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

Jonh Wendell wendell em ubuntu.com
Terça Março 13 17:04:48 UTC 2007


On Ter, 2007-03-13 at 12:00 -0300, hamacker wrote:
> $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
> 

Entra no /usr/src/linux e digita:
sudo make oldconfig && make prepare

Depois tenta compilar teu driver. Se ele reclamar de um script
faltando... acho que vc tem que compilar o kernel antes... ou pelo menos
ter um binário em /usr/src/linux/scripts/mod

T+,
-- 
Jonh Wendell
jonh.wendell em gmail.com (MSN / Google Talk)

Linux User #114432
https://launchpad.net/~wendell
-- 
Jonh Wendell
jonh.wendell em gmail.com (MSN / Google Talk)

Linux User #114432
https://launchpad.net/~wendell





More information about the ubuntu-br mailing list