[Linux-bruxelles] /bin/sh: ld: Permission denied

Jean-Charles de Longueville jean-charles at de-longueville.eu
Ven 20 Mar 10:11:42 CET 2009


Le 20-mars-09 à 09:49, Rainer Müller a écrit :

> Merci, mais le problème reste, je donne l'entier du message:
>
> ruth at ruth:~$ sudo su

ce n'est pas la meme chose que "sudo su -". Le "-" force le shell a  
prendre les variables d'environnement de root plutot que de celles de  
ruth (avec les droits de root).
>
> [sudo] password for ruth:
> root at ruth:/home/ruth# cd /home/ruth/r5u870-0.11.2
> bash: cd: /home/ruth/r5u870-0.11.2: No such file or directory

deja ca commence mal...

>
> root at ruth:/home/ruth# make

ca doit etre le bordel dans ton ~/

>
> make -C /lib/modules/2.6.24-24-generic/build M=/home/ruth V=0 modules
> make[1]: Entering directory `/usr/src/linux-headers-2.6.24-24-generic'
>   CC [M]  /home/ruth/r5u870.o
> /home/ruth/r5u870.c:868:1: warning: "V4L2_CID_LASTP1" redefined
> In file included from include/linux/videodev.h:15,
>                  from /home/ruth/usbcam/usbcam.h:38,
>                  from /home/ruth/r5u870.c:59:
> include/linux/videodev2.h:865:1: warning: this is the location of  
> the previous definition
> /home/ruth/r5u870.c: In function 'r5u870_uvc_add_fmt':
> /home/ruth/r5u870.c:1533: warning: passing argument 1 of  
> '__constant_c_and_count_memset' discards qualifiers from pointer  
> target type
> /home/ruth/r5u870.c:1533: warning: passing argument 1 of  
> '__constant_c_memset' discards qualifiers from pointer target type
>   CC [M]  /home/ruth/usbcam/usbcam_dev.o
> /bin/sh: ld: Permission denied

bizarre quand meme.
que dit "ls -l `which ld`"? (attention aux apostrophes inverses)
et "ls -l /home/ruth/usbcam/usbcam_dev.o"?

>
> make[3]: *** [/home/ruth/usbcam/usbcam_dev.o] Error 126
> make[2]: *** [/home/ruth/usbcam] Error 2
> make[1]: *** [_module_/home/ruth] Error 2
> make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-24-generic'
> make: *** [all] Error 2
-------------- section suivante --------------
Une pièce jointe HTML a été nettoyée...
URL: </pipermail/linux-bruxelles/attachments/20090320/f5472ee1/attachment-0002.html>


Plus d'informations sur la liste de diffusion Linux-bruxelles