IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Dépannage et Assistance Discussion :

Hotspot Wifi sous Raspbian [Réseau sans-fil]


Sujet :

Dépannage et Assistance

  1. #21
    Modérateur
    Avatar de jlliagre
    Homme Profil pro
    Ingénieur support avancé & développement
    Inscrit en
    Juin 2007
    Messages
    2 695
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Essonne (Île de France)

    Informations professionnelles :
    Activité : Ingénieur support avancé & développement
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Juin 2007
    Messages : 2 695
    Points : 7 882
    Points
    7 882
    Par défaut
    Le répertoire `/lib/modules/3.18.11+/build` est absent, essaie ça:

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    ln -s /usr/src/linux-headers-*-rpi /lib/modules/3.18.11+/build
    make
    ɹǝsn *sıɹɐlos*

  2. #22
    Nouveau membre du Club
    Homme Profil pro
    Étudiant
    Inscrit en
    Juillet 2014
    Messages
    57
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 27
    Localisation : France, Hérault (Languedoc Roussillon)

    Informations professionnelles :
    Activité : Étudiant

    Informations forums :
    Inscription : Juillet 2014
    Messages : 57
    Points : 25
    Points
    25
    Par défaut
    La première commande se passe bien:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    root@raspberrypi:/home/pi/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913# ln -s /usr/src/linux-headers-*-rpi /lib/modules/3.18.11+/build
    Mais pas pour le make:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    root@raspberrypi:/home/pi/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913# make
    make -C tools
    make[1]: Entering directory '/home/pi/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/tools'
    gcc -g bin2h.c -o bin2h
    make[1]: Leaving directory '/home/pi/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/tools'
    /home/pi/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/tools/bin2h
    cp -f os/linux/Makefile.6 /home/pi/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/Makefile
    make -C /lib/modules/3.18.11+/build SUBDIRS=/home/pi/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux modules
    make[1]: *** /lib/modules/3.18.11+/build: No such file or directory.  Stop.
    Makefile:394: recipe for target 'LINUX' failed
    make: *** [LINUX] Error 2
    Voilà le contenu de /lib/modules/3.18.11+ si ça peut servir:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    pi@raspberrypi /lib/modules/3.18.11+ $ ls
    build              modules.builtin      modules.devname  modules.symbols.bin
    kernel             modules.builtin.bin  modules.order
    modules.alias      modules.dep          modules.softdep
    modules.alias.bin  modules.dep.bin      modules.symbols
    Merci
    Cordialement

  3. #23
    Modérateur
    Avatar de jlliagre
    Homme Profil pro
    Ingénieur support avancé & développement
    Inscrit en
    Juin 2007
    Messages
    2 695
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Essonne (Île de France)

    Informations professionnelles :
    Activité : Ingénieur support avancé & développement
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Juin 2007
    Messages : 2 695
    Points : 7 882
    Points
    7 882
    Par défaut
    Qu'affiche:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    ls -ld /usr/src/linux-headers* /lib/modules/*/build
    ?
    ɹǝsn *sıɹɐlos*

  4. #24
    Nouveau membre du Club
    Homme Profil pro
    Étudiant
    Inscrit en
    Juillet 2014
    Messages
    57
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 27
    Localisation : France, Hérault (Languedoc Roussillon)

    Informations professionnelles :
    Activité : Étudiant

    Informations forums :
    Inscription : Juillet 2014
    Messages : 57
    Points : 25
    Points
    25
    Par défaut
    En faisant sudo ls -ld /usr/src/linux-headers* /lib/modules/*/build:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    pi@raspberrypi ~ $ sudo ls -ld /usr/src/linux-headers* /lib/modules/*/build
    ls: cannot access /usr/src/linux-headers*: No such file or directory
    lrwxrwxrwx 1 root root 28 Apr 20 10:47 /lib/modules/3.18.11+/build -> /usr/src/linux-headers-*-rpi
    Cordialement

  5. #25
    Modérateur
    Avatar de jlliagre
    Homme Profil pro
    Ingénieur support avancé & développement
    Inscrit en
    Juin 2007
    Messages
    2 695
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Essonne (Île de France)

    Informations professionnelles :
    Activité : Ingénieur support avancé & développement
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Juin 2007
    Messages : 2 695
    Points : 7 882
    Points
    7 882
    Par défaut
    Ah oui, pas possible de compiler un module noyau sans les fichiers include requis.

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    rm /usr/src/linux-headers*
    apt-get install linux-headers
    ln -s /usr/src/linux-headers-*-rpi /lib/modules/3.18.11+/build
    make
    ɹǝsn *sıɹɐlos*

  6. #26
    Nouveau membre du Club
    Homme Profil pro
    Étudiant
    Inscrit en
    Juillet 2014
    Messages
    57
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 27
    Localisation : France, Hérault (Languedoc Roussillon)

    Informations professionnelles :
    Activité : Étudiant

    Informations forums :
    Inscription : Juillet 2014
    Messages : 57
    Points : 25
    Points
    25
    Par défaut
    Voilà tout ça

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    pi@raspberrypi ~/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913 $ sudo rm /usr/src/linux-headers*
    rm: cannot remove `/usr/src/linux-headers*': No such file or directory
    pi@raspberrypi ~/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913 $ sudo apt-get install linux-headers
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Package linux-headers is a virtual package provided by:
      linux-headers-rpi 3.2+46+rpi4
      linux-headers-3.6-trunk-rpi 3.6.9-1~experimental.1+rpi7
      linux-headers-3.2.0-4-rpi 3.2.51-1+rpi1
      linux-headers-3.10-3-rpi 3.10.11-1+rpi7
    You should explicitly select one to install.
    
    E: Package 'linux-headers' has no installation candidate
    pi@raspberrypi ~/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913 $ ln -s /usr/src/linux-headers-*-rpi /lib/modules/3.18.11+/build
    ln: failed to create symbolic link `/lib/modules/3.18.11+/build': File exists
    pi@raspberrypi ~/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913 $ make
    make -C tools
    make[1]: Entering directory '/home/pi/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/tools'
    gcc -g bin2h.c -o bin2h
    make[1]: Leaving directory '/home/pi/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/tools'
    /home/pi/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/tools/bin2h
    cp -f os/linux/Makefile.6 /home/pi/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/Makefile
    make -C /lib/modules/3.18.11+/build SUBDIRS=/home/pi/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux modules
    make[1]: *** /lib/modules/3.18.11+/build: No such file or directory.  Stop.
    Makefile:394: recipe for target 'LINUX' failed
    make: *** [LINUX] Error 2
    pi@raspberrypi ~/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913 $
    Cordialement

  7. #27
    Modérateur
    Avatar de jlliagre
    Homme Profil pro
    Ingénieur support avancé & développement
    Inscrit en
    Juin 2007
    Messages
    2 695
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Essonne (Île de France)

    Informations professionnelles :
    Activité : Ingénieur support avancé & développement
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Juin 2007
    Messages : 2 695
    Points : 7 882
    Points
    7 882
    Par défaut
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    rm /lib/modules/*/build
    uname -r
    ?
    ɹǝsn *sıɹɐlos*

  8. #28
    Nouveau membre du Club
    Homme Profil pro
    Étudiant
    Inscrit en
    Juillet 2014
    Messages
    57
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 27
    Localisation : France, Hérault (Languedoc Roussillon)

    Informations professionnelles :
    Activité : Étudiant

    Informations forums :
    Inscription : Juillet 2014
    Messages : 57
    Points : 25
    Points
    25
    Par défaut
    C'est une autre erreur, non?
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    pi@raspberrypi ~ $ rm /lib/modules/*/build
    rm: cannot remove `/lib/modules/3.18.11+/build': Permission denied
    pi@raspberrypi ~ $ sudo rm /lib/modules/*/build
    pi@raspberrypi ~ $ sudo uname -r
    3.18.11+
    pi@raspberrypi ~ $ cd DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/
    pi@raspberrypi ~/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913 $ sudo make
    make -C tools
    make[1]: Entering directory '/home/pi/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/tools'
    gcc -g bin2h.c -o bin2h
    make[1]: Leaving directory '/home/pi/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/tools'
    /home/pi/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/tools/bin2h
    cp -f os/linux/Makefile.6 /home/pi/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/Makefile
    make -C /lib/modules/3.18.11+/build SUBDIRS=/home/pi/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux modules
    make[1]: *** /lib/modules/3.18.11+/build: No such file or directory.  Stop.
    Makefile:394: recipe for target 'LINUX' failed
    make: *** [LINUX] Error 2
    Cordialement
    Merci jiliagre

  9. #29
    Modérateur
    Avatar de jlliagre
    Homme Profil pro
    Ingénieur support avancé & développement
    Inscrit en
    Juin 2007
    Messages
    2 695
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Essonne (Île de France)

    Informations professionnelles :
    Activité : Ingénieur support avancé & développement
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Juin 2007
    Messages : 2 695
    Points : 7 882
    Points
    7 882
    Par défaut
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    sudo apt-get install dkms build-essential
    wget http://www.niksula.hut.fi/~mhiienka/Rpi/linux-headers-rpi/linux-headers-3.18.11%2b_3.18.11%2b-2_armhf.deb
    sudo dpkg -i linux-headers-3.18.11%2b_3.18.11%2b-2_armhf.deb
    sudo ln -s /usr/src/linux-headers-3.18.11*-rpi /lib/modules/3.18.11+/build
    make
    ɹǝsn *sıɹɐlos*

  10. #30
    Nouveau membre du Club
    Homme Profil pro
    Étudiant
    Inscrit en
    Juillet 2014
    Messages
    57
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 27
    Localisation : France, Hérault (Languedoc Roussillon)

    Informations professionnelles :
    Activité : Étudiant

    Informations forums :
    Inscription : Juillet 2014
    Messages : 57
    Points : 25
    Points
    25
    Par défaut
    Salut,

    il y a une erreur au dpkg. Voilà l'ensemble:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    pi@raspberrypi ~ $ sudo apt-get install dkms build-essential
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    build-essential is already the newest version.
    The following extra packages will be installed:
      firmware-linux-free libuuid-perl linux-base linux-headers-3.2.0-4-common
      linux-headers-3.2.0-4-rpi linux-headers-rpi linux-image-3.6-trunk-rpi
      linux-kbuild-3.2
    Suggested packages:
      linux-doc-3.6 debian-kernel-handbook fdutils
    Recommended packages:
      linux-headers-686-pae linux-headers-amd64 linux-headers-generic
      linux-headers linux-image
    The following NEW packages will be installed:
      dkms firmware-linux-free libuuid-perl linux-base
      linux-headers-3.2.0-4-common linux-headers-3.2.0-4-rpi linux-headers-rpi
      linux-image-3.6-trunk-rpi linux-kbuild-3.2
    0 upgraded, 9 newly installed, 0 to remove and 21 not upgraded.
    Need to get 14.9 MB of archives.
    After this operation, 67.2 MB of additional disk space will be used.
    Do you want to continue [Y/n]? Y
    ...
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    pi@raspberrypi ~/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913 $ sudo wget http://www.niksula.hut.fi/~mhiienka/Rpi/linux-headers-rpi/linux-headers-3.18.11%2b_3.18.11%2b-2_armhf.deb
    --2015-04-21 10:47:29--  http://www.niksula.hut.fi/~mhiienka/Rpi/linux-headers-rpi/linux-headers-3.18.11%2b_3.18.11%2b-2_armhf.deb
    Resolving www.niksula.hut.fi (www.niksula.hut.fi)... 130.233.43.7
    Connecting to www.niksula.hut.fi (www.niksula.hut.fi)|130.233.43.7|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 8536892 (8.1M) [application/octet-stream]
    Saving to: `linux-headers-3.18.11+_3.18.11+-2_armhf.deb'
    
    100%[======================================>] 8,536,892   48.0K/s   in 2m 20s  
    
    2015-04-21 10:49:55 (59.6 KB/s) - `linux-headers-3.18.11+_3.18.11+-2_armhf.deb' saved [8536892/8536892]
    
    pi@raspberrypi ~/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913 $ sudo dpkg -i linux-headers-3.18.11%2b_3.18.11%2b-2_armhf.deb
    dpkg: error processing linux-headers-3.18.11%2b_3.18.11%2b-2_armhf.deb (--install):
     cannot access archive: No such file or directory
    Errors were encountered while processing:
     linux-headers-3.18.11%2b_3.18.11%2b-2_armhf.deb
    pi@raspberrypi ~/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913 $ sudo ln -s /usr/src/linux-headers-3.18.11*-rpi /lib/modules/3.18.11+/build
    pi@raspberrypi ~/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913 $ make
    make -C tools
    make[1]: Entering directory '/home/pi/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/tools'
    gcc -g bin2h.c -o bin2h
    make[1]: Leaving directory '/home/pi/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/tools'
    /home/pi/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/tools/bin2h
    cp -f os/linux/Makefile.6 /home/pi/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/Makefile
    make -C /lib/modules/3.18.11+/build SUBDIRS=/home/pi/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux modules
    make[1]: *** /lib/modules/3.18.11+/build: No such file or directory.  Stop.
    Makefile:394: recipe for target 'LINUX' failed
    make: *** [LINUX] Error 2
    pi@raspberrypi ~/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913 $
    Cordialement Merci

  11. #31
    Modérateur
    Avatar de jlliagre
    Homme Profil pro
    Ingénieur support avancé & développement
    Inscrit en
    Juin 2007
    Messages
    2 695
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Essonne (Île de France)

    Informations professionnelles :
    Activité : Ingénieur support avancé & développement
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Juin 2007
    Messages : 2 695
    Points : 7 882
    Points
    7 882
    Par défaut
    Toujours pas acheté un autre dongle wifi ? ;-)

    Bon, une nouvelle tentative:

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    sudo dpkg -i linux-headers-3.18.11+_3.18.11+-2_armhf.deb
    rm /lib/modules/3.18.11+/build
    sudo ln -s /usr/src/linux-headers-3.18.11*-rpi /lib/modules/3.18.11+/build
    make
    ɹǝsn *sıɹɐlos*

  12. #32
    Nouveau membre du Club
    Homme Profil pro
    Étudiant
    Inscrit en
    Juillet 2014
    Messages
    57
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 27
    Localisation : France, Hérault (Languedoc Roussillon)

    Informations professionnelles :
    Activité : Étudiant

    Informations forums :
    Inscription : Juillet 2014
    Messages : 57
    Points : 25
    Points
    25
    Par défaut
    Non, j'ai acheté ce dongle sur amazon spécialement pour m'en servir comme hotspot (dans ce genre, avec l'antenne: http://www.amazon.fr/Portable-Wirele...6JDAPA6N2AS3SE). Sur le site, il est bien indiqué que c'est un RT5370, or c'est en fait un MT5370 et voilà où j'en suis :p

    Merci en tout cas de ton aide

    Je mets toute la "conversation" ssh, je sais pas si ça peut t'être utile:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    pi@192.168.1.22's password: 
    Linux raspberrypi 3.18.11+ #777 PREEMPT Sat Apr 11 17:24:23 BST 2015 armv6l
    
    The programs included with the Debian GNU/Linux system are free software;
    the exact distribution terms for each program are described in the
    individual files in /usr/share/doc/*/copyright.
    
    Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
    permitted by applicable law.
    Last login: Tue Apr 21 21:15:48 2015 from bastien-vostro-v130.home
    pi@raspberrypi ~ $ cd DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/
    pi@raspberrypi ~/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913 $ sudo dpkg -i linux-headers-3.18.11+_3.18.11+-2_armhf.deb
    Selecting previously unselected package linux-headers-3.18.11+.
    (Reading database ... 80965 files and directories currently installed.)
    Unpacking linux-headers-3.18.11+ (from linux-headers-3.18.11+_3.18.11+-2_armhf.deb) ...
    dpkg: dependency problems prevent configuration of linux-headers-3.18.11+:
     linux-headers-3.18.11+ depends on gcc-4.7; however:
      Package gcc-4.7 is not installed.
    
    dpkg: error processing linux-headers-3.18.11+ (--install):
     dependency problems - leaving unconfigured
    Errors were encountered while processing:
     linux-headers-3.18.11+
    pi@raspberrypi ~/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913 $ rm /lib/modules/3.18.11+/build
    rm: cannot remove `/lib/modules/3.18.11+/build': Permission denied
    pi@raspberrypi ~/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913 $ sudo rm /lib/modules/3.18.11+/build
    pi@raspberrypi ~/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913 $ sudo ln -s /usr/src/linux-headers-3.18.11*-rpi /lib/modules/3.18.11+/build
    pi@raspberrypi ~/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913 $ sudo make
    make -C tools
    make[1]: Entering directory '/home/pi/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/tools'
    gcc -g bin2h.c -o bin2h
    make[1]: Leaving directory '/home/pi/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/tools'
    /home/pi/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/tools/bin2h
    cp -f os/linux/Makefile.6 /home/pi/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/Makefile
    make -C /lib/modules/3.18.11+/build SUBDIRS=/home/pi/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux modules
    make[1]: *** /lib/modules/3.18.11+/build: No such file or directory.  Stop.
    Makefile:394: recipe for target 'LINUX' failed
    make: *** [LINUX] Error 2
    pi@raspberrypi ~/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913 $ sudo halt
    Broadcast message from root@raspberrypi (pts/0) (Tue Apr 21 23:24:59 2015):
    The system is going down for system halt NOW!
    Cordialement

  13. #33
    Modérateur
    Avatar de jlliagre
    Homme Profil pro
    Ingénieur support avancé & développement
    Inscrit en
    Juin 2007
    Messages
    2 695
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Essonne (Île de France)

    Informations professionnelles :
    Activité : Ingénieur support avancé & développement
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Juin 2007
    Messages : 2 695
    Points : 7 882
    Points
    7 882
    Par défaut
    ?
    Pas besoin d'exécuter autre chose, c'est juste pour savoir ce qui est installé comme compilateur.
    ɹǝsn *sıɹɐlos*

  14. #34
    Nouveau membre du Club
    Homme Profil pro
    Étudiant
    Inscrit en
    Juillet 2014
    Messages
    57
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 27
    Localisation : France, Hérault (Languedoc Roussillon)

    Informations professionnelles :
    Activité : Étudiant

    Informations forums :
    Inscription : Juillet 2014
    Messages : 57
    Points : 25
    Points
    25
    Par défaut
    Voilà ce que ça donne:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    pi@raspberrypi ~ $ sudo dpkg -l | grep gcc
    ii  gcc                                   4:4.6.3-8                               armhf        GNU C compiler
    ii  gcc-4.5-base:armhf                    4.5.3-12+rpi1                           armhf        The GNU Compiler Collection (base package)
    ii  gcc-4.6                               4.6.3-14+rpi1                           armhf        GNU C compiler
    ii  gcc-4.6-base:armhf                    4.6.3-14+rpi1                           armhf        GCC, the GNU Compiler Collection (base package)
    ii  gcc-4.7-base:armhf                    4.7.2-5+rpi1                            armhf        GCC, the GNU Compiler Collection (base package)
    ii  libgcc1:armhf                         1:4.7.2-5+rpi1                          armhf        GCC support library
    C'est pour voir si c'est le compilateur gcc qui est installé?

    Cordialement
    Merci

  15. #35
    Modérateur
    Avatar de jlliagre
    Homme Profil pro
    Ingénieur support avancé & développement
    Inscrit en
    Juin 2007
    Messages
    2 695
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Essonne (Île de France)

    Informations professionnelles :
    Activité : Ingénieur support avancé & développement
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Juin 2007
    Messages : 2 695
    Points : 7 882
    Points
    7 882
    Par défaut
    C'est pour voir quelle version de gcc est installée.

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    sudo apt-get install gcc-7 &&
    sudo dpkg -i linux-headers-3.18.11+_3.18.11+-2_armhf.deb &&
    rm -f /lib/modules/3.18.11+/build &&
    sudo ln -s /usr/src/linux-headers-3.18.11*-rpi /lib/modules/3.18.11+/build &&
    make
    ɹǝsn *sıɹɐlos*

  16. #36
    Nouveau membre du Club
    Homme Profil pro
    Étudiant
    Inscrit en
    Juillet 2014
    Messages
    57
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 27
    Localisation : France, Hérault (Languedoc Roussillon)

    Informations professionnelles :
    Activité : Étudiant

    Informations forums :
    Inscription : Juillet 2014
    Messages : 57
    Points : 25
    Points
    25
    Par défaut
    Elle ne trouve pas le gcc-7:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    pi@raspberrypi ~/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913 $ sudo apt-get install gcc-7
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    E: Unable to locate package gcc-7
    Voilà un apt-cache search si besoin:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    pi@raspberrypi ~/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913 $ sudo apt-cache search gcc
    binutils-mingw-w64 - Cross-binutils for Win32 and Win64 using MinGW-w64
    binutils-mingw-w64-i686 - Cross-binutils for Win32 (x86) using MinGW-w64
    binutils-mingw-w64-x86-64 - Cross-binutils for Win64 (x64) using MinGW-w64
    cableswig - Generate wrappers for Python and Tcl from C++ code
    clang - Low-Level Virtual Machine (LLVM), C language family frontend
    colorgcc - Colorizer for GCC warning/error messages
    cpp - GNU C preprocessor (cpp)
    cpp-4.4 - GNU C preprocessor
    cpp-4.5 - GNU C preprocessor
    cpp-4.6 - GNU C preprocessor
    cpp-4.7 - GNU C preprocessor
    cpphs - Simplified cpp-a-like preprocessor for Haskell
    cstream - general-purpose stream-handling tool similar to dd
    cxref - Generates LaTeX and HTML documentation for C programs
    dpkg-dev - Debian package development tools
    dragonegg - GCC plugin that uses LLVM for optimization and code generation
    g++-mingw-w64-i686 - GNU C++ compiler for MinGW-w64 targeting Win32
    g++-mingw-w64-x86-64 - GNU C++ compiler for MinGW-w64 targeting Win64
    gcc - GNU C compiler
    gcc-4.4 - GNU C compiler
    gcc-4.4-base - GCC, the GNU Compiler Collection (base package)
    gcc-4.4-locales - GCC, the GNU compiler collection (native language support files)
    gcc-4.4-source - Source of the GNU Compiler Collection
    gcc-4.5 - The GNU C compiler
    gcc-4.5-base - The GNU Compiler Collection (base package)
    gcc-4.5-locales - GNU C compiler (native language support files)
    gcc-4.5-plugin-dev - Files for GNU GCC plugin development.
    gcc-4.5-source - Source of the GNU Compiler Collection
    gcc-4.6 - GNU C compiler
    gcc-4.6-base - GCC, the GNU Compiler Collection (base package)
    gcc-4.6-locales - GCC, the GNU compiler collection (native language support files)
    gcc-4.6-plugin-dev - Files for GNU GCC plugin development.
    gcc-4.6-source - Source of the GNU Compiler Collection
    gcc-4.7 - GNU C compiler
    gcc-4.7-base - GCC, the GNU Compiler Collection (base package)
    gcc-4.7-locales - GCC, the GNU compiler collection (native language support files)
    gcc-4.7-plugin-dev - Files for GNU GCC plugin development.
    gcc-4.7-source - Source of the GNU Compiler Collection
    gcc-avr - The GNU C compiler (cross compiler for avr)
    gcc-h8300-hms - GNU C compiler (cross compiler for h8300-hitachi-coff)
    gcc-m68hc1x - GNU C compiler for the Motorola 68HC11/12 processors
    gcc-mingw-w64 - GNU C compiler for MinGW-w64
    gcc-mingw-w64-base - GNU Compiler Collection for MinGW-w64 (base package)
    gcc-mingw-w64-i686 - GNU C compiler for MinGW-w64 targeting Win32
    gcc-mingw-w64-x86-64 - GNU C compiler for MinGW-w64 targeting Win64
    gcc-mingw32 - GNU Compiler Collection for MinGW32 (transition package)
    gcc-msp430 - GNU C compiler (cross compiler for MSP430)
    gccgo - Go compiler, based on the GCC backend
    gccgo-4.7 - GNU Go compiler
    gccxml - XML output extension to GCC
    gcj-4.4-base - GCC, the GNU Compiler Collection (gcj base package)
    gcj-4.4-jdk - gcj and classpath development tools for Java(TM)
    gcj-4.6-base - GCC, the GNU Compiler Collection (gcj base package)
    gcj-4.6-jdk - gcj and classpath development tools for Java(TM)
    gcj-4.6-jre-lib - Java runtime library for use with gcj (jar files)
    gcj-4.7-base - GCC, the GNU Compiler Collection (gcj base package)
    gcj-4.7-jdk - gcj and classpath development tools for Java(TM)
    gcj-4.7-jre-lib - Java runtime library for use with gcj (jar files)
    gcj-jdk - gcj and classpath development tools for Java(TM)
    gdb-mingw-w64 - Cross-debugger for Win32 and Win64 using MinGW-w64
    gdc-4.4 - D compiler (version 1), based on the GCC backend
    gdc-v1 - D compiler (language version 1), based on the GCC backend
    gfortran - GNU Fortran 95 compiler
    gfortran-4.4 - GNU Fortran 95 compiler
    gfortran-4.5 - GNU Fortran compiler
    gfortran-4.6 - GNU Fortran compiler
    gfortran-4.7 - GNU Fortran compiler
    gfortran-mingw-w64-i686 - GNU Fortran compiler for MinGW-w64 targeting Win32
    gfortran-mingw-w64-x86-64 - GNU Fortran compiler for MinGW-w64 targeting Win64
    gnat-4.6 - GNU Ada compiler
    gnat-4.6-base - GNU Ada compiler (common files)
    gnat-mingw-w64-i686 - GNU Ada compiler for MinGW-w64 targeting Win32
    gnat-mingw-w64-x86-64 - GNU Ada compiler for MinGW-w64 targeting Win64
    gobjc - GNU Objective-C compiler
    gobjc++ - GNU Objective-C++ compiler
    gobjc++-4.5 - GNU Objective-C++ compiler
    gobjc++-4.6 - GNU Objective-C++ compiler
    gobjc++-4.7 - GNU Objective-C++ compiler
    gobjc++-mingw-w64-i686 - GNU Objective-C++ compiler for MinGW-w64 targeting Win32
    gobjc++-mingw-w64-x86-64 - GNU Objective-C++ compiler for MinGW-w64 targeting Win64
    gobjc-4.5 - GNU Objective-C compiler
    gobjc-4.6 - GNU Objective-C compiler
    gobjc-4.7 - GNU Objective-C compiler
    gobjc-mingw-w64-i686 - GNU Objective-C compiler for MinGW-w64 targeting Win32
    gobjc-mingw-w64-x86-64 - GNU Objective-C compiler for MinGW-w64 targeting Win64
    hardening-wrapper - Compiler wrapper to enable security hardening flags
    libclang-common-dev - clang library - Common development package
    libclang-dev - clang library - Development package
    libclang1 - clang library
    libeigen2-dev - lightweight C++ template library for linear algebra
    libeigen3-dev - lightweight C++ template library for linear algebra
    libgcc1 - GCC support library
    libgcc1-dbg - GCC support library (debug symbols)
    libgccxml-dev - Libraries for building extension to gccxml output
    libgcj10 - Java runtime library for use with gcj
    libgcj10-dev - Java development headers for use with gcj
    libgcj12 - Java runtime library for use with gcj
    libgcj12-dev - Java development headers for use with gcj
    libgcj13 - Java runtime library for use with gcj
    libgcj13-dev - Java development headers for use with gcj
    libgnat-4.6 - runtime for applications compiled with GNAT (shared library)
    libgnat-4.6-dbg - runtime for applications compiled with GNAT (debugging symbols)
    libgnatprj4.6 - GNU Ada compiler Project Manager (shared library)
    libgnatprj4.6-dbg - GNU Ada compiler Project Manager (debugging symbols)
    libgnatprj4.6-dev - GNU Ada compiler Project Manager (development files)
    libgnatvsn4.6 - GNU Ada compiler selected components (shared library)
    libgnatvsn4.6-dbg - GNU Ada compiler selected components (debugging symbols)
    libgnatvsn4.6-dev - GNU Ada compiler selected components (development files)
    libgomp1 - GCC OpenMP (GOMP) support library
    libgomp1-dbg - GCC OpenMP (GOMP) support library (debug symbols)
    libkitware-mummy-runtime1.0-cil - Mummy CLI bindings
    libmudflap0 - GCC mudflap shared support libraries
    libmudflap0-4.4-dev - GCC mudflap support libraries (development files)
    libmudflap0-4.5-dev - GCC mudflap support libraries (development files)
    libmudflap0-4.6-dev - GCC mudflap support libraries (development files)
    libmudflap0-4.7-dev - GCC mudflap support libraries (development files)
    libmudflap0-dbg - GCC mudflap shared support libraries (debug symbols)
    linux-compiler-gcc-4.7-arm - Compiler for Linux on ARM (meta-package)
    llvm-2.8 - Low-Level Virtual Machine (LLVM)
    llvm-2.9 - Low-Level Virtual Machine (LLVM)
    llvm-3.0 - Low-Level Virtual Machine (LLVM)
    llvm-3.1 - Low-Level Virtual Machine (LLVM)
    llvm-gcc-4.6 - C front end for LLVM C/C++ compiler
    mcpp - Alternative C/C++ preprocessor
    mingw-w64-tools - Development tools for 32- and 64-bit Windows
    mummy - command line executable that generates C# wrappers from gccxml output
    open-cobol - COBOL compiler
    python-py++ - OO-framework for creating a code generator for Boost.Python
    python-pygccxml - specialized XML reader reads the output from gccxml
    ratfor - Rational Fortran preprocessor for Fortran 77
    tiemu - Texas Instruments calculators emulator (without GDB)
    uisp - Micro In-System Programmer for Atmel's AVR MCUs
    uno-libs3 - LibreOffice UNO runtime environment -- public shared libraries
    uno-libs3-dbg - LibreOffice UNO runtime environment -- public shared library debug symbols
    gcc-4.4-doc - documentation for the GNU compilers (gcc, gobjc, g++)
    gcc-4.6-doc - documentation for the GNU compilers (gcc, gobjc, g++)
    gcc-4.7-doc - documentation for the GNU compilers (gcc, gobjc, g++)
    gcc-doc-base - several GNU manual pages
    gccgo-4.6-doc - documentation for the GNU Go compiler (gccgo)
    gccgo-4.7-doc - documentation for the GNU Go compiler (gccgo)
    cpp-4.8 - GNU C preprocessor
    gcc-4.8 - GNU C compiler
    gcc-4.8-base - GCC, the GNU Compiler Collection (base package)
    gcc-4.8-locales - GCC, the GNU compiler collection (native language support files)
    gcc-4.8-plugin-dev - Files for GNU GCC plugin development.
    gcc-4.8-source - Source of the GNU Compiler Collection
    gccgo-4.8 - GNU Go compiler
    gcj-4.8 - GCJ byte code and native compiler for Java(TM)
    gcj-4.8-jdk - GCJ and Classpath development tools for Java(TM)
    gcj-4.8-jre-lib - Java runtime library for use with gcj (jar files)
    gdc-4.8 - GNU D compiler (version 2), based on the GCC backend
    gfortran-4.8 - GNU Fortran compiler
    gobjc++-4.8 - GNU Objective-C++ compiler
    gobjc-4.8 - GNU Objective-C compiler
    libatomic1 - support library providing __atomic built-in functions
    libatomic1-dbg - support library providing __atomic built-in functions (debug symbols)
    libgcc-4.8-dev - GCC support library (development files)
    libgcj14 - Java runtime library for use with gcj
    Voilà le reste des commandes:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    pi@raspberrypi ~/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913 $ sudo dpkg -i linux-headers-3.18.11+_3.18.11+-2_armhf.deb && rm -f /lib/modules/3.18.11+/build && sudo ln -s /usr/src/linux-headers-3.18.11*-rpi /lib/modules/3.18.11+/build && make(Reading database ... 93866 files and directories currently installed.)
    Preparing to replace linux-headers-3.18.11+ 3.18.11+-2 (using linux-headers-3.18.11+_3.18.11+-2_armhf.deb) ...
    Unpacking replacement linux-headers-3.18.11+ ...
    dpkg: dependency problems prevent configuration of linux-headers-3.18.11+:
     linux-headers-3.18.11+ depends on gcc-4.7; however:
      Package gcc-4.7 is not installed.
    
    dpkg: error processing linux-headers-3.18.11+ (--install):
     dependency problems - leaving unconfigured
    Errors were encountered while processing:
     linux-headers-3.18.11+
    Cordialement
    Merci

  17. #37
    Modérateur
    Avatar de jlliagre
    Homme Profil pro
    Ingénieur support avancé & développement
    Inscrit en
    Juin 2007
    Messages
    2 695
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Essonne (Île de France)

    Informations professionnelles :
    Activité : Ingénieur support avancé & développement
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Juin 2007
    Messages : 2 695
    Points : 7 882
    Points
    7 882
    Par défaut
    C'était gcc-4.7, pas gcc-7:

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    sudo apt-get install gcc-4.7 &&
    sudo dpkg -i linux-headers-3.18.11+_3.18.11+-2_armhf.deb &&
    rm -f /lib/modules/3.18.11+/build &&
    sudo ln -s /usr/src/linux-headers-3.18.11*-rpi /lib/modules/3.18.11+/build &&
    make
    ɹǝsn *sıɹɐlos*

  18. #38
    Nouveau membre du Club
    Homme Profil pro
    Étudiant
    Inscrit en
    Juillet 2014
    Messages
    57
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 27
    Localisation : France, Hérault (Languedoc Roussillon)

    Informations professionnelles :
    Activité : Étudiant

    Informations forums :
    Inscription : Juillet 2014
    Messages : 57
    Points : 25
    Points
    25
    Par défaut
    Voilà ce que j'ai:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    pi@raspberrypi ~ $ sudo apt-get install gcc-4.7 && sudo dpkg -i linux-headers-3.18.11+_3.18.11+-2_armhf.deb && rm -f /lib/modules/3.18.11+/build && sudo ln -s /usr/src/linux-headers-3.18.11*-rpi /lib/modules/3.18.11+/build && make
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    You might want to run 'apt-get -f install' to correct these:
    The following packages have unmet dependencies:
     gcc-4.7 : Depends: cpp-4.7 (= 4.7.2-5+rpi1) but it is not going to be installed
    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
    Je fais sudo apt-get -f install?

    Cordialement
    Merci

  19. #39
    Nouveau membre du Club
    Homme Profil pro
    Étudiant
    Inscrit en
    Juillet 2014
    Messages
    57
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 27
    Localisation : France, Hérault (Languedoc Roussillon)

    Informations professionnelles :
    Activité : Étudiant

    Informations forums :
    Inscription : Juillet 2014
    Messages : 57
    Points : 25
    Points
    25
    Par défaut
    J'ai fait apt-get -f install, puis sudo apt-get install gcc-4.7 && sudo dpkg -i linux-headers-3.18.11+_3.18.11+-2_armhf.deb && sudo rm -f /lib/modules/3.18.11+/build && sudo ln -s /usr/src/linux-headers-3.18.11*-rpi /lib/modules/3.18.11+/build && sudo make, voilà le résultat:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    pi@raspberrypi ~/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913 $ sudo apt-get install gcc-4.7 && sudo dpkg -i linux-headers-3.18.11+_3.18.11+-2_armhf.deb && sudo rm -f /lib/modules/3.18.11+/build && sudo ln -s /usr/src/linux-headers-3.18.11*-rpi /lib/modules/3.18.11+/build && sudo make
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    gcc-4.7 is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 21 not upgraded.
    (Reading database ... 93937 files and directories currently installed.)
    Preparing to replace linux-headers-3.18.11+ 3.18.11+-2 (using linux-headers-3.18.11+_3.18.11+-2_armhf.deb) ...
    make: Entering directory '/usr/src/linux-headers-3.18.11+'
      CLEAN   .
    scripts/Makefile.clean:17: drivers/infiniband/hw/amso1100/Makefile: No such file or directory
    make[4]: *** No rule to make target 'drivers/infiniband/hw/amso1100/Makefile'.  Stop.
    scripts/Makefile.clean:92: recipe for target 'drivers/infiniband/hw/amso1100' failed
    make[3]: [drivers/infiniband/hw/amso1100] Error 2 (ignored)
    scripts/Makefile.clean:17: drivers/infiniband/ulp/srp/Makefile: No such file or directory
    make[4]: *** No rule to make target 'drivers/infiniband/ulp/srp/Makefile'.  Stop.
    scripts/Makefile.clean:92: recipe for target 'drivers/infiniband/ulp/srp' failed
    make[3]: [drivers/infiniband/ulp/srp] Error 2 (ignored)
    scripts/Makefile.clean:17: drivers/scsi/cxgbi/cxgb3i/Makefile: No such file or directory
    make[4]: *** No rule to make target 'drivers/scsi/cxgbi/cxgb3i/Makefile'.  Stop.
    scripts/Makefile.clean:92: recipe for target 'drivers/scsi/cxgbi/cxgb3i' failed
    make[3]: [drivers/scsi/cxgbi/cxgb3i] Error 2 (ignored)
    scripts/Makefile.clean:17: drivers/scsi/cxgbi/cxgb4i/Makefile: No such file or directory
    make[4]: *** No rule to make target 'drivers/scsi/cxgbi/cxgb4i/Makefile'.  Stop.
    scripts/Makefile.clean:92: recipe for target 'drivers/scsi/cxgbi/cxgb4i' failed
    make[3]: [drivers/scsi/cxgbi/cxgb4i] Error 2 (ignored)
    scripts/Makefile.clean:17: drivers/scsi/osd/Makefile: No such file or directory
    make[3]: *** No rule to make target 'drivers/scsi/osd/Makefile'.  Stop.
    scripts/Makefile.clean:92: recipe for target 'drivers/scsi/osd' failed
    make[2]: [drivers/scsi/osd] Error 2 (ignored)
    scripts/Makefile.clean:17: drivers/usb/host/whci/Makefile: No such file or directory
    make[4]: *** No rule to make target 'drivers/usb/host/whci/Makefile'.  Stop.
    scripts/Makefile.clean:92: recipe for target 'drivers/usb/host/whci' failed
    make[3]: [drivers/usb/host/whci] Error 2 (ignored)
    scripts/Makefile.clean:17: fs/exofs/Makefile: No such file or directory
    make[2]: *** No rule to make target 'fs/exofs/Makefile'.  Stop.
    scripts/Makefile.clean:92: recipe for target 'fs/exofs' failed
    make[1]: [fs/exofs] Error 2 (ignored)
    fs/hostfs/Makefile:11: arch/um/scripts/Makefile.rules: No such file or directory
    make[2]: *** No rule to make target 'arch/um/scripts/Makefile.rules'.  Stop.
    scripts/Makefile.clean:92: recipe for target 'fs/hostfs' failed
    make[1]: [fs/hostfs] Error 2 (ignored)
    scripts/Makefile.clean:17: fs/nfs/objlayout/Makefile: No such file or directory
    make[3]: *** No rule to make target 'fs/nfs/objlayout/Makefile'.  Stop.
    scripts/Makefile.clean:92: recipe for target 'fs/nfs/objlayout' failed
    make[2]: [fs/nfs/objlayout] Error 2 (ignored)
      CLEAN   .tmp_versions
    ls: cannot access ./Documentation/DocBook/media/*.b64: No such file or directory
      CLEAN   scripts/basic
      CLEAN   scripts/dtc
      CLEAN   scripts/genksyms
      CLEAN   scripts/kconfig
      CLEAN   scripts/mod
      CLEAN   scripts
      CLEAN   include/config include/generated arch/arm/include/generated
      CLEAN   .config .config.old include/generated/uapi/linux/version.h Module.symvers
    make: Leaving directory '/usr/src/linux-headers-3.18.11+'
    Unpacking replacement linux-headers-3.18.11+ ...
    Setting up linux-headers-3.18.11+ (3.18.11+-2) ...
    make: Entering directory '/usr/src/linux-headers-3.18.11+'
      HOSTCC  scripts/basic/fixdep
      HOSTCC  scripts/basic/bin2c
      HOSTCC  scripts/kconfig/conf.o
      HOSTCC  scripts/kconfig/zconf.tab.o
      HOSTLD  scripts/kconfig/conf
    scripts/kconfig/conf --silentoldconfig Kconfig
    *
    * Restart config...
    *
    *
    * Wireless LAN
    *
    Wireless LAN (WLAN) [Y/n/?] y
      Marvell 8xxx Libertas WLAN driver support with thin firmware (LIBERTAS_THINFIRM) [M/n/?] m
        Enable full debugging output in the Libertas thin firmware module. (LIBERTAS_THINFIRM_DEBUG) [N/y/?] n
        Marvell Libertas 8388 USB 802.11b/g cards with thin firmware (LIBERTAS_THINFIRM_USB) [M/n/?] m
      Atmel at76c503/at76c505/at76c505a USB cards (AT76C50X_USB) [M/n/?] m
      USB ZD1201 based Wireless device support (USB_ZD1201) [M/n/?] m
      Wireless RNDIS USB support (USB_NET_RNDIS_WLAN) [M/n/?] m
      Realtek 8187 and 8187B USB support (RTL8187) [M/n/?] m
      Simulated radio testing tool for mac80211 (MAC80211_HWSIM) [M/n/?] m
      Broadcom 43xx wireless support (mac80211 stack) (B43) [M/n/?] m
      Supported bus types
      > 1. BCMA and SSB (B43_BUSES_BCMA_AND_SSB)
        2. BCMA only (B43_BUSES_BCMA)
        3. SSB only (B43_BUSES_SSB)
      choice[1-3]: 1
      Broadcom 43xx SDIO device support (B43_SDIO) [N/y/?] n
      Support for G-PHY (802.11g) devices (B43_PHY_G) [Y/n/?] y
      Support for N-PHY (the main 802.11n series) devices (B43_PHY_N) [N/y/?] n
      Support for LP-PHY (low-power 802.11g) devices (B43_PHY_LP) [Y/n/?] y
      Support for HT-PHY (high throughput 802.11n) devices (B43_PHY_HT) [Y/n/?] y
      Broadcom 43xx debugging (B43_DEBUG) [N/y/?] n
      Broadcom 43xx-legacy wireless support (mac80211 stack) (B43LEGACY) [M/n/?] m
        Broadcom 43xx-legacy debugging (B43LEGACY_DEBUG) [Y/n/?] y
        Broadcom 43xx-legacy data transfer mode
        > 1. DMA + PIO (B43LEGACY_DMA_AND_PIO_MODE)
          2. DMA (Direct Memory Access) only (B43LEGACY_DMA_MODE)
          3. PIO (Programmed I/O) only (B43LEGACY_PIO_MODE)
        choice[1-3]: 1
      Broadcom IEEE802.11n PCIe SoftMAC WLAN driver (BRCMSMAC) [N/m/?] n
      Broadcom IEEE802.11n embedded FullMAC WLAN driver (BRCMFMAC) [M/n/?] m
      SDIO bus interface support for FullMAC driver (BRCMFMAC_SDIO) [Y/n/?] y
      USB bus interface support for FullMAC driver (BRCMFMAC_USB) [Y/n/?] y
      Broadcom device tracing (BRCM_TRACING) [N/y/?] n
      Broadcom driver debug functions (BRCMDBG) [N/y/?] n
      IEEE 802.11 for Host AP (Prism2/2.5/3 and WEP/TKIP/CCMP) (HOSTAP) [M/n/y/?] m
        Support downloading firmware images with Host AP driver (HOSTAP_FIRMWARE) [N/y/?] n
      Marvell 8xxx Libertas WLAN driver support (LIBERTAS) [M/n/?] m
        Marvell Libertas 8388 USB 802.11b/g cards (LIBERTAS_USB) [M/n/?] m
        Marvell Libertas 8385/8686/8688 SDIO 802.11b/g cards (LIBERTAS_SDIO) [M/n/?] m
        Marvell Libertas 8686 SPI 802.11b/g cards (LIBERTAS_SPI) [N/m/?] n
        Enable full debugging output in the Libertas module. (LIBERTAS_DEBUG) [N/y/?] n
        Enable mesh support (LIBERTAS_MESH) [N/y/?] n
      Softmac Prism54 support (P54_COMMON) [M/n/?] m
        Prism54 USB support (P54_USB) [M/n/?] m
        Prism54 SPI (stlc45xx) support (P54_SPI) [N/m/?] n
      Realtek 8192C USB WiFi (RTL8192CU) [M/n/?] m
        Realtek RTL8192CU AP mode (AP_MODE) [Y/n/?] (NEW) Y
      ZyDAS ZD1211/ZD1211B USB-wireless support (ZD1211RW) [M/n/?] m
        ZyDAS ZD1211 debugging (ZD1211RW_DEBUG) [N/y/?] n
      Marvell WiFi-Ex Driver (MWIFIEX) [M/n/?] m
        Marvell WiFi-Ex Driver for SD8786/SD8787/SD8797/SD8887/SD8897 (MWIFIEX_SDIO) [M/n/?] m
        Marvell WiFi-Ex Driver for USB8797/8897 (MWIFIEX_USB) [N/m/?] n
      CW1200 WLAN support (CW1200) [N/m/?] n
      Redpine Signals Inc 91x WLAN driver support (RSI_91X) [N/m/?] n
    #
    # configuration written to .config
    #
      CHK     include/config/kernel.release
      UPD     include/config/kernel.release
      WRAP    arch/arm/include/generated/asm/auxvec.h
      WRAP    arch/arm/include/generated/asm/bitsperlong.h
      WRAP    arch/arm/include/generated/asm/cputime.h
      WRAP    arch/arm/include/generated/asm/current.h
      WRAP    arch/arm/include/generated/asm/emergency-restart.h
      WRAP    arch/arm/include/generated/asm/errno.h
      WRAP    arch/arm/include/generated/asm/exec.h
      WRAP    arch/arm/include/generated/asm/hash.h
      WRAP    arch/arm/include/generated/asm/ioctl.h
      WRAP    arch/arm/include/generated/asm/ipcbuf.h
      WRAP    arch/arm/include/generated/asm/irq_regs.h
      WRAP    arch/arm/include/generated/asm/kdebug.h
      WRAP    arch/arm/include/generated/asm/local.h
      WRAP    arch/arm/include/generated/asm/local64.h
      WRAP    arch/arm/include/generated/asm/mcs_spinlock.h
      WRAP    arch/arm/include/generated/asm/msgbuf.h
      WRAP    arch/arm/include/generated/asm/param.h
      WRAP    arch/arm/include/generated/asm/parport.h
      WRAP    arch/arm/include/generated/asm/poll.h
      WRAP    arch/arm/include/generated/asm/preempt.h
      WRAP    arch/arm/include/generated/asm/resource.h
      WRAP    arch/arm/include/generated/asm/rwsem.h
      WRAP    arch/arm/include/generated/asm/scatterlist.h
      WRAP    arch/arm/include/generated/asm/sections.h
      WRAP    arch/arm/include/generated/asm/segment.h
      WRAP    arch/arm/include/generated/asm/sembuf.h
      WRAP    arch/arm/include/generated/asm/serial.h
      WRAP    arch/arm/include/generated/asm/shmbuf.h
      WRAP    arch/arm/include/generated/asm/siginfo.h
      WRAP    arch/arm/include/generated/asm/simd.h
      WRAP    arch/arm/include/generated/asm/sizes.h
      WRAP    arch/arm/include/generated/asm/socket.h
      WRAP    arch/arm/include/generated/asm/sockios.h
      WRAP    arch/arm/include/generated/asm/termbits.h
      WRAP    arch/arm/include/generated/asm/termios.h
      WRAP    arch/arm/include/generated/asm/timex.h
      WRAP    arch/arm/include/generated/asm/trace_clock.h
      WRAP    arch/arm/include/generated/asm/unaligned.h
      CHK     include/generated/uapi/linux/version.h
      UPD     include/generated/uapi/linux/version.h
      CHK     include/generated/utsrelease.h
      UPD     include/generated/utsrelease.h
      Generating include/generated/mach-types.h
      CC      kernel/bounds.s
      GEN     include/generated/bounds.h
      CC      arch/arm/kernel/asm-offsets.s
      GEN     include/generated/asm-offsets.h
      CALL    scripts/checksyscalls.sh
    grep: scripts/../arch/x86/syscalls/syscall_32.tbl: No such file or directory
      HOSTCC  scripts/dtc/dtc.o
      HOSTCC  scripts/dtc/flattree.o
      HOSTCC  scripts/dtc/fstree.o
      HOSTCC  scripts/dtc/data.o
      HOSTCC  scripts/dtc/livetree.o
      HOSTCC  scripts/dtc/treesource.o
      HOSTCC  scripts/dtc/srcpos.o
      HOSTCC  scripts/dtc/checks.o
      HOSTCC  scripts/dtc/util.o
      SHIPPED scripts/dtc/dtc-lexer.lex.c
      SHIPPED scripts/dtc/dtc-parser.tab.h
      HOSTCC  scripts/dtc/dtc-lexer.lex.o
      SHIPPED scripts/dtc/dtc-parser.tab.c
      HOSTCC  scripts/dtc/dtc-parser.tab.o
      HOSTLD  scripts/dtc/dtc
      HOSTCC  scripts/genksyms/genksyms.o
      SHIPPED scripts/genksyms/parse.tab.c
      HOSTCC  scripts/genksyms/parse.tab.o
      SHIPPED scripts/genksyms/lex.lex.c
      SHIPPED scripts/genksyms/keywords.hash.c
      SHIPPED scripts/genksyms/parse.tab.h
      HOSTCC  scripts/genksyms/lex.lex.o
      HOSTLD  scripts/genksyms/genksyms
      CC      scripts/mod/empty.o
      HOSTCC  scripts/mod/mk_elfconfig
      MKELF   scripts/mod/elfconfig.h
      HOSTCC  scripts/mod/modpost.o
      CC      scripts/mod/devicetable-offsets.s
      GEN     scripts/mod/devicetable-offsets.h
      HOSTCC  scripts/mod/file2alias.o
      HOSTCC  scripts/mod/sumversion.o
      HOSTLD  scripts/mod/modpost
      HOSTCC  scripts/kallsyms
      HOSTCC  scripts/pnmtologo
      HOSTCC  scripts/conmakehash
      HOSTCC  scripts/recordmcount
      HOSTCC  scripts/sortextable
    make: Leaving directory '/usr/src/linux-headers-3.18.11+'
    make -C tools
    make[1]: Entering directory '/home/pi/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/tools'
    gcc -g bin2h.c -o bin2h
    make[1]: Leaving directory '/home/pi/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/tools'
    /home/pi/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/tools/bin2h
    cp -f os/linux/Makefile.6 /home/pi/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/Makefile
    make -C /lib/modules/3.18.11+/build SUBDIRS=/home/pi/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux modules
    make[1]: *** /lib/modules/3.18.11+/build: No such file or directory.  Stop.
    Makefile:394: recipe for target 'LINUX' failed
    make: *** [LINUX] Error 2
    Cordialement
    Merci

  20. #40
    Modérateur
    Avatar de jlliagre
    Homme Profil pro
    Ingénieur support avancé & développement
    Inscrit en
    Juin 2007
    Messages
    2 695
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Essonne (Île de France)

    Informations professionnelles :
    Activité : Ingénieur support avancé & développement
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Juin 2007
    Messages : 2 695
    Points : 7 882
    Points
    7 882
    Par défaut
    Quand ça veut pas, ça veut pas ...

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    ls -ld /usr/src/linux-headers-3.18.11*
    ?
    ɹǝsn *sıɹɐlos*

+ Répondre à la discussion
Cette discussion est résolue.
Page 2 sur 3 PremièrePremière 123 DernièreDernière

Discussions similaires

  1. Carte wifi sous Mandriva
    Par joker vb dans le forum Matériel
    Réponses: 24
    Dernier message: 01/02/2007, 18h54
  2. [FEDORA] Wifi sous Fedora
    Par Kiyomizu dans le forum RedHat / CentOS / Fedora
    Réponses: 5
    Dernier message: 23/04/2006, 18h46
  3. Configuration Wifi sous Ubuntu
    Par Marco85 dans le forum Réseau
    Réponses: 1
    Dernier message: 02/04/2006, 09h29
  4. Configuration carte wifi sous SUSE 9.2
    Par max44410 dans le forum Réseau
    Réponses: 11
    Dernier message: 15/10/2005, 19h17
  5. Configuration Wifi sous Linux
    Par G3G3 dans le forum Réseau
    Réponses: 11
    Dernier message: 05/03/2005, 16h41

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo