[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 19:01:32 UTC 2007
Valeu pela dica, agora avançei, mas ao compilar o modulo :
/bin/sh: scripts/mod/modpost: not found
make[2]: *** [__modpost] Error 127
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-source-2.6.20'
make: *** [driver] Error 2
Mas aí, já saquei o que houve, o interpretador padrao do Feisty não
sei porque razao é o dash ao invés do bash, então :
sudo apt-get remove dash
A compilação avançou mais, no entanto, mas mesmo assim no final :
$make
make -C /usr/src/linux
SUBDIRS=/home/fulano/syntek/syntekdriver/trunk/driver modules
make[1]: Entering directory `/usr/src/linux-source-2.6.20'
WARNING: Symbol version dump /usr/src/linux-source-2.6.20/Module.symvers
is missing; modules will have no dependencies and modversions.
Building modules, stage 2.
MODPOST 1 modules
/bin/sh: scripts/mod/modpost: No such file or directory
make[2]: *** [__modpost] Error 127
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-source-2.6.20'
make: *** [driver] Error 2
Que droga, será que não vou compilar essa cara nunca ?
Em 13/03/07, Jonh Wendell<wendell em ubuntu.com> escreveu:
> 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
>
>
> --
> Interessado em aprender mais sobre o Ubuntu em português?
> http://wiki.ubuntu-br.org/ComeceAqui -
> ubuntu-br mailing list
> ubuntu-br em lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-br
>
More information about the ubuntu-br
mailing list