leoventura
(usa Debian)
Enviado em 23/01/2016 - 21:13h
Boa noite pessoal, migrei recentemente para o Gentoo e estou com problemas com a webcam.
Eu utilizava um app para android para usar o celular como webcam, era o DroidCam. No site do desenvolvedor (
https://www.dev47apps.com/droidcam/linuxx/ ) é disponibilizado um software para download para "parear" o computador com o celular e criar o dispositivo /dev/video0.
Porém no gentoo esse software não funcionou, então resolvi instalar o modulo v4l2loopback pelo proprio portage, mas recebi alguns erros e a instalação falou, alguem pode me ajudar? Vou copiar aqui a saida do Build.log, por que tantos erros getcwd?
Desde já, agradeço.
[32;01m * [39;49;00mPackage: media-video/v4l2loopback-0.8.0
[32;01m * [39;49;00mRepository: gentoo
[32;01m * [39;49;00mMaintainer: naota@gentoo.org
[32;01m * [39;49;00mUSE: abi_x86_64 amd64 elibc_glibc kernel_linux policykit userland_GNU
[32;01m * [39;49;00mFEATURES: preserve-libs sandbox userpriv usersandbox
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
[32;01m*[0m Determining the location of the kernel source code
[32;01m*[0m Found kernel source directory:
[32;01m*[0m /usr/src/linux
[32;01m*[0m Found kernel object directory:
[32;01m*[0m /lib/modules/4.1.12-gentoo/build
[32;01m*[0m Found sources for kernel version:
[32;01m*[0m 4.1.12-gentoo
[32;01m*[0m Checking for suitable kernel configuration options...
[A[122C [34;01m[ [32;01mok[34;01m ][0m
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
>>> Unpacking source...
>>> Source unpacked in /var/tmp/portage/media-video/v4l2loopback-0.8.0/work
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
>>> Preparing source in /var/tmp/portage/media-video/v4l2loopback-0.8.0/work/v4l2loopback-0.8.0 ...
>>> Source prepared.
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
>>> Configuring source in /var/tmp/portage/media-video/v4l2loopback-0.8.0/work/v4l2loopback-0.8.0 ...
>>> Source configured.
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
>>> Compiling source in /var/tmp/portage/media-video/v4l2loopback-0.8.0/work/v4l2loopback-0.8.0 ...
ln: failed to create symbolic link ‘Module.symvers’: File exists
[32;01m*[0m Preparing v4l2loopback module
make -s -j3 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- 'LDFLAGS=-m elf_x86_64' all
Building v4l2-loopback driver...
[01m[K/var/tmp/portage/media-video/v4l2loopback-0.8.0/work/v4l2loopback-0.8.0/v4l2loopback.c:[m[K In function ‘[01m[Kattr_store_maxopeners[m[K’:
[01m[K/var/tmp/portage/media-video/v4l2loopback-0.8.0/work/v4l2loopback-0.8.0/v4l2loopback.c:486:2:[m[K [01;31m[Kerror: [m[Kimplicit declaration of function ‘[01m[Kstrict_strtoul[m[K’ [-Werror=implicit-function-declaration]
if (strict_strtoul(buf, 0, &curr))
[01;32m[K ^[m[K
[01m[K/var/tmp/portage/media-video/v4l2loopback-0.8.0/work/v4l2loopback-0.8.0/v4l2loopback.c:[m[K In function ‘[01m[Kinit_vdev[m[K’:
[01m[K/var/tmp/portage/media-video/v4l2loopback-0.8.0/work/v4l2loopback-0.8.0/v4l2loopback.c:2002:7:[m[K [01;31m[Kerror: [m[K‘[01m[Kstruct video_device[m[K’ has no member named ‘[01m[Kdebug[m[K’
vdev->debug = V4L2_DEBUG_IOCTL | V4L2_DEBUG_IOCTL_ARG;
[01;32m[K ^[m[K
[01m[K/var/tmp/portage/media-video/v4l2loopback-0.8.0/work/v4l2loopback-0.8.0/v4l2loopback.c:2002:17:[m[K [01;31m[Kerror: [m[K‘[01m[KV4L2_DEBUG_IOCTL[m[K’ undeclared (first use in this function)
vdev->debug = V4L2_DEBUG_IOCTL | V4L2_DEBUG_IOCTL_ARG;
[01;32m[K ^[m[K
[01m[K/var/tmp/portage/media-video/v4l2loopback-0.8.0/work/v4l2loopback-0.8.0/v4l2loopback.c:2002:17:[m[K [01;36m[Knote: [m[Keach undeclared identifier is reported only once for each function it appears in
[01m[K/var/tmp/portage/media-video/v4l2loopback-0.8.0/work/v4l2loopback-0.8.0/v4l2loopback.c:2002:36:[m[K [01;31m[Kerror: [m[K‘[01m[KV4L2_DEBUG_IOCTL_ARG[m[K’ undeclared (first use in this function)
vdev->debug = V4L2_DEBUG_IOCTL | V4L2_DEBUG_IOCTL_ARG;
[01;32m[K ^[m[K
cc1: some warnings being treated as errors
scripts/Makefile.build:264: recipe for target '/var/tmp/portage/media-video/v4l2loopback-0.8.0/work/v4l2loopback-0.8.0/v4l2loopback.o' failed
make[2]: *** [/var/tmp/portage/media-video/v4l2loopback-0.8.0/work/v4l2loopback-0.8.0/v4l2loopback.o] Error 1
Makefile:1384: recipe for target '_module_/var/tmp/portage/media-video/v4l2loopback-0.8.0/work/v4l2loopback-0.8.0' failed
make[1]: *** [_module_/var/tmp/portage/media-video/v4l2loopback-0.8.0/work/v4l2loopback-0.8.0] Error 2
Makefile:42: recipe for target 'v4l2loopback.ko' failed
make: *** [v4l2loopback.ko] Error 2
[31;01m*[0m ERROR: media-video/v4l2loopback-0.8.0::gentoo failed (compile phase):
[31;01m*[0m emake failed
[31;01m*[0m
[31;01m*[0m If you need support, post the output of `emerge --info '=media-video/v4l2loopback-0.8.0::gentoo'`,
[31;01m*[0m the complete build log and the output of `emerge -pqv '=media-video/v4l2loopback-0.8.0::gentoo'`.
[31;01m*[0m The complete build log is located at '/var/tmp/portage/media-video/v4l2loopback-0.8.0/temp/build.log'.
[31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/media-video/v4l2loopback-0.8.0/temp/environment'.
[31;01m*[0m Working directory: '/var/tmp/portage/media-video/v4l2loopback-0.8.0/work/v4l2loopback-0.8.0'
[31;01m*[0m S: '/var/tmp/portage/media-video/v4l2loopback-0.8.0/work/v4l2loopback-0.8.0'
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory