message d'erreur pour make install... ben oui je suis tout nouveau !!!

  • Auteur de la discussion Micaro
  • Date de début

Micaro

Habitué
bj amis linuxiens !
je suis tout nouveau utilisateur de la mandrake 10.0 (mon premier linux, avant je n'avais jamais mis les pieds que sous M$)

donc une question tout a fait débile je pense :
je cherche à installer mon dongle wifi de wanadoo... sur le site d'Inventel, ils renvoient vers des pilotes linux... que je télécharge...
je reboot sous MK10.0. je decompresse le fichier et j'obtiens un dossier avec aucun RPM (vous m'aretez dès que ca n'a plus aucun sens les gars!!), seulement qqes nouveaux dossiers et un readme, un makefile... et je crois que c tout.
bon... (mé il est où le SETUP ??? (pardon reflexe conditionné)

j'ouvre là un terminal et je tape :
make clearall
make config (pour le créer ce fichu fichier)
make all
make install (je ne me souviens plus trop si c bien ca mais bon... je fais ce qu'il y a dans le readme file)

a ce moment précis j'ai un msg d'erreur me disant qu'il faut une adresse ou je ne sais pas trop quoi... mmmm que dois je faire a ce moment ?

n'y a t il pas de solution plus simple que le terminal (genre UN fichier sur lequel cliquer tranquillement ?)

merci de vos réponses claires et intégrables pour un récent-néo-nouveau-newbie-(groovy)baby

gaibleme
 

Micaro

Habitué
le message qui me pose pbm est le suivant
make : *** Pas de cibles spécifiées et aucun makefile n'a été trouvé. Arrêt.

++
 

Arodhnar

Expert
en fait le make sert à compiler les pilotes en fonction de ta machine.

n'y a t il pas de solution plus simple que le terminal (genre UN fichier sur lequel cliquer tranquillement ?)

Ca, ça dépend entièrement des gens qui développent les pilotes ...

Il faudrait plus de détails ... comme un copier/coller du fichier Makefile ou du README
 

Arodhnar

Expert
souvent le fichier configure est généré pendant le make
 

tybaut

Nouveau membre
Souvent pour compiler la procédure est la suivante :
./configure
make

Et enfin en root (taper "su" puis le mot de passe de l'administrateur):

make install

./configure créé les fichiers de configuration, make compile et make install copie
les fichiers compilés au bon endroit sur le système.
Si ça ne marche pas, tu dois avoir un fichier texte README ou INSTALL (ou quelque chose du genre)
qui explique la procédure.

Tibo
 

Arodhnar

Expert
je ne me souviens plus trop si c bien ca mais bon... je fais ce qu'il y a dans le readme file

le problème c'est qu'apparemment il a suivit le README ...

et puis si le make install fonctionne c'est que le configure est fait
 

tybaut

Nouveau membre
Oups, au temps pour moi, j'avais lu en diagonale... Il faut peut être passé en paramètre au make install une cible ?
Ou d'après ce que je lis ici : le message indiquerait que le configure n'a pas marché. Peut être qu'avec le readme on pourrait t'en dire plus Micaro...
 

Micaro

Habitué
merci cette attention !!! (ca fait chaud au coeur !)
alors voici le copier-coller de mon fichier readme :
======================================================================
ATMEL PCMCIA PCI USB linux driver
=======================================================================

+---------------------+
|PART A. Instructions.|
+---------------------+

1. Configuration.
--
Run "make config" and answer a few questions. This will create
a .config file.

2. Build and installation
--
a. If a .config file exists then you need to do the following steps:

# make all
# make install

b. If a .config file does not exist, then you need to do the following steps:

# make realclean
# make config
After the configuration queries :

# make all
# make install

Remember to login as root or use "su" before installing the drivers.

3. RF Board Type?
--
There are several Atmel chips for PCMCIA and USB which can be combined with
a bunch of RF boards.
If you don't know what is the exact type of the board:
a. Just build and install everything.
b. Plug you PCMCIA or USB board in and look in /var/log/messages for more info
Then consult the following table.

USB (the product IDs below are Atmel's ones only !):

PID | Atmel chip | RF board | driver
----------+------------+----------+--------
7605 | 503A | RFMD | usbvnetr.o
7606 | 505 | RFMD | usbvnet5.o

( The 505 is currently not supported due to missing firmware.)

If no driver is loaded on plugging your USB adapter, check if the (vendor ID,product ID)
pair is already contained in any of the *_DEVICES defines in src/includes/usb/config.h.
If yes, build a driver for this RF board and try again.
If no, try to find out which RF board your adapter contains (look inside, check the FCC
pictures of the device, or try out all RF boards). Add your product / vendor ID pair in
the appropriate *_DEVICES define in the config.h file. Build and install again.
On success, please notify the developers at sourceforge to include the new IDs.

PCMCIA :

ID | DRIVER
-------------+---------------
AT76C502AR | PCMCIA RFMD
AT76C502AR_D | PCMCIA RFMD revision D
AT76C502AR_E | PCMCIA RFMD revision E
AT76C504 | PCMCIA RFMD 504

c. If you cannot find your device's ID in the above table's than try to get the
required information from the Manufacturer....

4. TOOLS
--
In order to use the ncurses based command line (lvnet) and the X windows (xvnet) applications
you must enable the
Wireless LAN (non-hamradio)
option inside the kernel (and of course if it was disabled to rebuild your kernel).
For help regarding the two tools try the corresponding man pages.

Alternatively: Get the wireless tools (iwconfig et al) and use them.

5. STARTUP Options Configuration.
In order for you to configure the startup options of your card ( PCMCIA or USB ) you follow
the steps below :

PCMCIA :
- Edit the ATMEL WIRELESS entry in
/etc/pcmcia/wireless.opts by adding your preferences
off channel, essid, encryption etc.
USB :
- Edit the /root/.vnetrc file by adding your preferences
of channel, essid, encryption etc.If you edit the
file in order for your settings to take effect you
have to uncomment the post-install entry in
/etc/modules.conf for the corresponding module.
GOOD LUCK :)

6. Support.
--
For any questions use the sourceforge project's mailing list:
atmelwlandriver-users@lists.sourceforge.net

The homepage of the project is http://atmelwlandriver.sourceforge.net/

+--------------------+
|PART B. Known Issues|
+--------------------+
USB drivers:(START)
------------
The URB's going to the device are using the
Adapter->devreq->length field which on some platforms can cause
serious problems. This will be fixed very soon.

There is also a report for a deadlock in the initialization routine. We cannot
reproduce it so far.

There is a serious "conflict" with the usb-uhci driver and atmel's board which
leads to one problem. The system hangs :( .....
This never happens with the uhci driver.

USB drivers:(END)
-----------------

+------------+
|PART C. TODO|
+------------+

Add support for different product and vendor ID's....






merci pour votre aide
 

Arodhnar

Expert
est-ce que tu es bien connecté en tant que root quand tu fais "make install" ?

Tu as choisi quoi comme options dans "make config" ?

Connexion USB, PCI ou PCMCIA ?
 

Micaro

Habitué
pour me connecter en root, j'ai fait :
su -l
puis le password demandé

ensuite pour le config, le terminal me demande :
all drivers ? je dis non
[plein d'autres questions qui n'ont pas de sens pour moi] : réponse non
[drivers USB de toutes sortes] : réponse yes


j'ai dis yes à tous les drivers USB au cas où uns de ceux la marcherait...
 

Arodhnar

Expert
j'ai testé cette méthode aussi, mais j'ai un plantage pendant le make all.
Apparemment y'a un driver USB qui ne se compile pas bien.
ca vient peut-etre de là ton erreur ...
 

Micaro

Habitué
donc il faudrait que je teste en disant oui a un seul driver USB
exact?
 

Arodhnar

Expert
il faudrait que tu puisse savoir auquel dire oui, ca limiterait les risques en effet
 

Micaro

Habitué
voici ce que je fais , (ca sera + clair comme cela !!!)

[gaibleme@localhost atmelwlandriver]$ make config
Build all [y/N] : n
Set extra module version information [y/N] :
Build Debug version [y/N] : n
Build USB Drivers [y/N] : y
Build USB 503A RFMD Driver [y/N] : n
Build USB RFMD 505 Driver [y/N] : n
Build USB RFMD 505 + 2958 Driver [y/N] : n
Build USB RFMD 505A Driver [y/N] : n
Build PCMCIA Drivers [y/N] : n
Build miniPCI Driver [y/N] : n
Build applications [y/N] : n
which: no modprobe in (/usr/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/home/gaibleme/bin)
X Windows include files missing
Kernel Version Running 2.6.3-4mdk
Found Kernel Source Directory ()
ln: création d'un lien symbolique `/include/asm/irq_vectors.h' vers `/include/asm/mach-default/irq_vectors.h': No such file or directory
Finished. Now run make clean, all, install
[gaibleme@localhost atmelwlandriver]$ make realclean
*.o and *.ko files Removed
rm -f .config
Now run make config
[gaibleme@localhost atmelwlandriver]$ make config
Build all [y/N] : n
Set extra module version information [y/N] : n
Build Debug version [y/N] : n
Build USB Drivers [y/N] : y
Build USB 503A RFMD Driver [y/N] : n
Build USB RFMD 505 Driver [y/N] : n
Build USB RFMD 505 + 2958 Driver [y/N] : n
Build USB RFMD 505A Driver [y/N] : n
Build PCMCIA Drivers [y/N] : n
Build miniPCI Driver [y/N] : n
Build applications [y/N] : n
which: no modprobe in (/usr/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/home/gaibleme/bin)
X Windows include files missing
Kernel Version Running 2.6.3-4mdk
Found Kernel Source Directory ()
ln: création d'un lien symbolique `/include/asm/irq_vectors.h' vers `/include/asm/mach-default/irq_vectors.h': No such file or directory
Finished. Now run make clean, all, install
[gaibleme@localhost atmelwlandriver]$ make all
Building src/usb
make[1]: Entering directory `/home/gaibleme/Documents/atmelwlandriver/src/usb'
for i in ; do make $i || exit 1; done
make[1]: Leaving directory `/home/gaibleme/Documents/atmelwlandriver/src/usb'
[gaibleme@localhost atmelwlandriver]$ su password
su: L'usager password n'existe pas.
[gaibleme@localhost atmelwlandriver]$ su -l
Password:
[root@localhost root]# make install
make: *** Pas de règle pour fabriquer la cible « install ». Arrêt.
[root@localhost root]#

et me voila coincé !!! ;)
 

xam

Grand Maître
[fixed]Build all [y/N] : n
Set extra module version information [y/N] : n
Build Debug version [y/N] : n
Build USB Drivers [y/N] : y
Build USB 503A RFMD Driver [y/N] : n
Build USB RFMD 505 Driver [y/N] : n
Build USB RFMD 505 + 2958 Driver [y/N] : n
Build USB RFMD 505A Driver [y/N] : n
Build PCMCIA Drivers [y/N] : n
Build miniPCI Driver [y/N] : n
Build applications [y/N] : n
[/fixed]

En gros tu lui dis de ne rien compiler. C'est normal qu'il n'y ai rien à installer si tu n'as rien compiler. Il faut choisir ce dont tu as besoin. Au pire tu peux répondre par y à tout.
 

Micaro

Habitué
mais si : je dis ...
Build USB Drivers [y/N] : y

j'ai faux ?! c'est ça ?!

:(
 

Arodhnar

Expert
non ca c'est bon, mais ensuite il faut que tu en choisisses une dans la liste :
Build USB 503A RFMD Driver [y/N] : n
Build USB RFMD 505 Driver [y/N] : n
Build USB RFMD 505 + 2958 Driver [y/N] : n
Build USB RFMD 505A Driver [y/N] : n
il faut mettre celui qui correspond à ton dongle à yes

en plus, il faut te mettre en root (avec su) tout le long ... comme ca tu n'auras pas les meesages d'erreur :
which: no modprobe in (/usr/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/home/gaibleme/bin)
X Windows include files missing
 

Micaro

Habitué
j'essaie tout de suite je vous tiens bien sur au courant
(je sais pas pkoi mais je me sens tout excité et joyeux d'apprendre linux !!!!)
 

Arodhnar

Expert
ca fait ca au début ... et après on peut plus s'en passer :D
 
Vous devez vous inscrire ou vous connecter pour répondre ici.
Derniers messages publiés
Statistiques globales
Discussions
730 134
Messages
6 718 054
Membres
1 586 393
Dernier membre
mathhh28
Partager cette page
Haut