[vloopback] compilation de Vloopback (résolu)

Questions et astuces concernant l'installation et la configuration d'archlinux
xkarwak
newbie
Messages : 2
Inscription : mer. 14 juil. 2010, 00:33

[vloopback] compilation de Vloopback (résolu)

Message par xkarwak »

Salut a tous , :D

Alors voila je me suis mis a Archlinux depuis peut , pour l'instant elle me convient parfaitement , seulement voila
j'ai un problème avec l'installation du module Vloopback qui perment de simuler un flux video pour une Webcam
(indispensable pour le Logiciel WebcamStudio) .

Voici les erreurs quand j'essaye de compiler manuellement le fichier :

Code : Tout sélectionner

[root@myhost webcamstudio-src]# make
make -C /lib/modules/2.6.34-ARCH/build SUBDIRS=/usr/share/webcamstudio/webcamstudio-src modules
make[1]: entrant dans le répertoire « /usr/src/linux-2.6.34-ARCH »
  CC [M]  /usr/share/webcamstudio/webcamstudio-src/webcamstudio.o
/usr/share/webcamstudio/webcamstudio-src/webcamstudio.c: In function ‘create_pipe’:
/usr/share/webcamstudio/webcamstudio-src/webcamstudio.c:1237:5: erreur: implicit declaration of function ‘kmalloc’
/usr/share/webcamstudio/webcamstudio-src/webcamstudio.c:1237:14: attention : assignment makes pointer from integer without a cast
/usr/share/webcamstudio/webcamstudio-src/webcamstudio.c:1250:51: attention : passing argument 2 of ‘video_set_drvdata’ makes pointer from integer without a cast
include/media/v4l2-dev.h:128:20: note: expected ‘void *’ but argument is of type ‘int’
/usr/share/webcamstudio/webcamstudio-src/webcamstudio.c:1257:9: erreur: implicit declaration of function ‘kfree’
/usr/share/webcamstudio/webcamstudio-src/webcamstudio.c:1276:52: attention : passing argument 2 of ‘video_set_drvdata’ makes pointer from integer without a cast
include/media/v4l2-dev.h:128:20: note: expected ‘void *’ but argument is of type ‘int’
/usr/share/webcamstudio/webcamstudio-src/webcamstudio.c:1380:26: attention : assignment makes pointer from integer without a cast
/usr/share/webcamstudio/webcamstudio-src/webcamstudio.c:1381:29: attention : assignment makes pointer from integer without a cast
make[2]: *** [/usr/share/webcamstudio/webcamstudio-src/webcamstudio.o] Erreur 1
make[1]: *** [_module_/usr/share/webcamstudio/webcamstudio-src] Erreur 2
make[1]: quittant le répertoire « /usr/src/linux-2.6.34-ARCH »
make: *** [all] Erreur 2

Cela ne marche pas non plus quand j'utilise Yaourt :

Code : Tout sélectionner

[root@myhost webcamstudio-src]# yaourt vloopback
1 aur/vloopback 1.3-2 (33)
    The video4linux loopback device is a device driver that generates video 
    pipes. It lets a user program feed a video stream to another as if it were 
    coming from an actual video4linux device. 
2 aur/vloopback-svn 22-1 (21)
    The video4linux loopback device is a device driver that generates video 
    pipes. It lets a user program feed a video stream to another as if it were 
    coming from an actual video4linux device. 
3 aur/vpipe 0.0.2-1 (2)
    Pipe for the vloopback device
==> Entrer le(s) n° (séparés par des espaces, ou un intervalle) des paquets à installer
==> ---------------------------------------------------------------------------
==> 1


==> Téléchargement du PKGBUILD de vloopback depuis AUR...
bsdtar: Removing leading '/' from member names
x vloopback.install
x PKGBUILD

Comment by: Piepo on Sun, 09 May 2010 13:20:22 +0000
Great, not only does it not work with the latest kernel,
but the sources are also down. Will there be any updates, artiom?	

Comment by: artiom on Sun, 09 May 2010 17:55:18 +0000
I have found a debian package which should work for the latest kernel, but now I have no time to dig into it and adapt for AUR. I plan to update it in two weeks, but if you can help here is the link http://packages.debian.org/fr/squeeze/vloopback-source.	

Comment by: brian.panneton on Wed, 19 May 2010 19:44:56 +0000
Just wondering where you were at on the update.	

Comment by: artiom on Thu, 20 May 2010 21:27:00 +0000
Here is the debian package for 2.6.32 kernel. For 2.6.33 please use svn version.	

Comment by: punkmexic on Sun, 11 Jul 2010 16:42:15 +0000
and for 2.6.34-ARCH
???	

Comment by: artiom on Mon, 12 Jul 2010 07:26:49 +0000
Look at the project page:
svn trunk for kernel version = 2.6.32 
I can't do better than the author of the project :)	

First Submitted: Thu, 16 Feb 2006 01:12:36 +0000	
vloopback 1.3-2 : The video4linux loopback device is a device driver that generates video pipes. It lets a user program feed a video stream to another as if it were coming from an actual video4linux device.
( Paquet non supporté : peut être dangereux ! )
==> Éditer PKGBUILD ? [O/n] ("A" pour annuler)
==> ------------------------------------------
==> n

==> Dépendances de vloopback :
 - subversion (déjà installé)
 - kernel26-headers (déjà installé)
 - kernel26<2.6.33 (compilation depuis AUR)


==> Éditer vloopback.install ? [O/n] ("A" pour annuler)
==> ---------------------------------------------------
==> n

==> Lancer la compilation de vloopback ? [O/n]
==> ------------------------------------------
==> 
==> Construction et installation du paquet
==> Installation/compilation des dépendances manquantes pour vloopback :
Avertissement: kernel26-2.6.34.1-1 est à jour -- réinstalle
Résolution des dépendances...
Recherche des conflits possibles entre paquets...

Cibles (1): kernel26-2.6.34.1-1

Taille totale des paquets (téléchargement):   0,00 Mo
Taille totale des paquets (installation):   109,21 Mo

Procéder à l'installation ? [O/n] o
Analyse de l'intégrité des paquets...
(1/1) Analyse des conflits entre fichiers          [#####################] 100%
(1/1) Mise à jour de kernel26                      [#####################] 100%
>>> Updating module dependencies. Please wait ...
>>> MKINITCPIO SETUP
>>> ----------------
>>> If you use LVM2, Encrypted root or software RAID,
>>> Ensure you enable support in /etc/mkinitcpio.conf .
>>> More information about mkinitcpio setup can be found here:
>>> http://wiki.archlinux.org/index.php/Mkinitcpio

>>> Generating initial ramdisk, using mkinitcpio.  Please wait...
==> Building image "default"
==> Running command: /sbin/mkinitcpio -k 2.6.34-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26.img
:: Begin build
:: Parsing hook [base]
:: Parsing hook [udev]
:: Parsing hook [autodetect]
:: Parsing hook [pata]
:: Parsing hook [scsi]
:: Parsing hook [sata]
:: Parsing hook [filesystems]
:: Generating module dependencies
:: Generating image '/boot/kernel26.img'...SUCCESS
==> SUCCESS
==> Building image "fallback"
==> Running command: /sbin/mkinitcpio -k 2.6.34-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26-fallback.img -S autodetect
:: Begin build
:: Parsing hook [base]
:: Parsing hook [udev]
:: Parsing hook [pata]
:: Parsing hook [scsi]
:: Parsing hook [sata]
:: Parsing hook [filesystems]
:: Generating module dependencies
:: Generating image '/boot/kernel26-fallback.img'...SUCCESS
==> SUCCESS

==> WARNING: Des dépendances ont été installées avant l'échec
==> Relancer la compilation de vloopback ? [o/N]
==> --------------------------------------------
==> 



Voila si quelqu'un a deja rencontré ce problème et a une solution :copain: ...

Merci de votre aide .


ps : je ne sais pas si je suis dans la bonne section :?
Dernière modification par xkarwak le mer. 14 juil. 2010, 15:15, modifié 1 fois.
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17596
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [Vloopback] Problème Installation ( erreur )

Message par benjarobin »

Yaourt est un peu perdu en faite : Vloopback a besoin de kernel26<2.6.33 alors que tu possède 2.6.34.
La réponse est dans les commentaires de AUR (il faut lire ^^) donc installe vloopback-svn

D'après les commentaire de la version svn, lis les dernier commentaire de cette page http://www.lavrsen.dk/foswiki/bin/view/ ... iceSupport si tu veux arrivé a compiler
Zsh | KDE | PC fixe : AMD Ryzen 9900X, Radeon RX 7700 XT
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
xkarwak
newbie
Messages : 2
Inscription : mer. 14 juil. 2010, 00:33

Re: [Vloopback] Problème Installation ( erreur )

Message par xkarwak »

Merci de ton aide sa marche :)

Problème résolu
Répondre