Droidcam not working on arm64 debian linux - General Questions and Answers

Every thing was right but when i tried to install video of droidcam in my debian linux then i got this error
[email protected]:/tmp/droidcam# ./install-video
Webcam parameters: '640' and '480'
libkmod: ERROR ../libkmod/libkmod-module.c:1668 kmod_module_new_from_loaded: could not open /proc/modules: Permission denied
Error: could not get list of modules: Permission denied
Building v4l2loopback-dc.ko
make: Entering directory '/tmp/droidcam/v4l2loopback'
make -C /lib/modules/3.18.71-perf-g7215046/build M=/tmp/droidcam/v4l2loopback modules
make[1]: Entering directory '/tmp/droidcam/v4l2loopback'
make[1]: *** /lib/modules/3.18.71-perf-g7215046/build: No such file or directory. Stop.
make[1]: Leaving directory '/tmp/droidcam/v4l2loopback'
make: *** [Makefile:8: all] Error 2
make: Leaving directory '/tmp/droidcam/v4l2loopback'
[email protected]:/tmp/droidcam#
can anyone help me to fix this out????

Related

[Q] Noob Trying to Build AOKP but fail

trying to build aokp but having trouble, can anyone help? plz
*
build/core/tasks/kernel.mk:47: ***************************************************************
host C: mkbootimg <= system/core/mkbootimg/mkbootimg.c
host C: acp <= build/tools/acp/acp.c
host StaticLib: libmincrypt (out/host/linux-x86/obj/STATIC_LIBRARIES/libmincrypt_intermediates/libmincrypt.a)
Cannot create temporary file in ./: Read-only file system
host StaticLib: libhost (out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/libhost.a)
Cannot create temporary file in ./: Read-only file system
prebuilts/tools/gcc-sdk/../../gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/bin/x86_64-linux-ar: out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/libhost.a: Read-only file system
prebuilts/tools/gcc-sdk/../../gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/bin/x86_64-linux-ar: out/host/linux-x86/obj/STATIC_LIBRARIES/libmincrypt_intermediates/libmincrypt.a: Read-only file system
make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/libmincrypt_intermediates/libmincrypt.a] Error 1
make: *** Waiting for unfinished jobs....
make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/libhost.a] Error 1
prebuilts/tools/gcc-sdk/gcc: line 40: 12720 Aborted (core dumped) $MY_TOOL "[email protected]"
make: *** [out/host/linux-x86/obj/EXECUTABLES/mkbootimg_intermediates/mkbootimg.o] Error 134
prebuilts/tools/gcc-sdk/gcc: line 40: 12744 Aborted (core dumped) $MY_TOOL "[email protected]"
make: *** [out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/acp.o] Error 13

Compiling ROM/Kernel, Mission Failed, help please

I am trying to build from source BlissStalk to Galaxy Tab S T700.
after about 30 minutes, whenever the kernel is building it spits out errors as follows:
ls: cannot access drivers/gud//MobiCoreDriver/platforms: No such file or directory
CC drivers/gud/MobiCoreDriver/logging.o
In file included from <command-line>:0:0:
/home/mtp/Development/Porting/kernel/samsung/exynos5420/include/linux/kconfig.h:46:1: fatal error: drivers/gud//build_tag.h: No such file or directory
compilation terminated.
make[4]: *** [drivers/gud/MobiCoreDriver/logging.o] Error 1
make[3]: *** [drivers/gud] Error 2
make[3]: *** Waiting for unfinished jobs....
....
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/mtp/Development/Porting/kernel/samsung/exynos5420'
make: *** [TARGET_KERNEL_BINARIES] Error 2
make: *** Waiting for unfinished jobs....
Click to expand...
Click to collapse
Anybody have any idea where I am going wrong?
jewnersey said:
I am trying to build from source BlissStalk to Galaxy Tab S T700.
after about 30 minutes, whenever the kernel is building it spits out errors as follows:
Anybody have any idea where I am going wrong?
Click to expand...
Click to collapse
Are you solve the problem?
I myself got the same error, if I want to build kernel 3.4.0 for Sony Xperia M2 Aqua (18.6.A.0.175).
ls: cannot access /drivers/gud/MobiCoreDriver/platforms: No such file or directory
LD drivers/gud/built-in.o
CC [M] drivers/gud/MobiCoreDriver/logging.o
drivers/gud/MobiCoreDriver/logging.c:21:18: fatal error: main.h: No such file or directory
#include <main.h>
Click to expand...
Click to collapse
but folder /drivers/gud/MobiCoreDriver/platforms exist and inside is folder MSM8960_SURF_STD and in this folder is file platform.h.
even if I write sudo make clean, it's appear the same error?
sudo make cleanls: cannot access /drivers/gud/MobiCoreDriver/platforms: No such file or directory
/bin/sh: /scripts/gcc-version.sh: No such file or directory
/bin/sh: /scripts/gcc-version.sh: No such file or directory
CLEAN .tmp_versions
Click to expand...
Click to collapse
Does anyone know how to solve this issue?
lp SaX15
Has this been fixed?
I am trying to compile a 3.41 kernel
sudo make clean
ls: cannot access '/drivers/gud/mobicore_driver/platforms': No such file or directory
/bin/bash: /scripts/gcc-version.sh: No such file or directory
/bin/bash: /scripts/gcc-version.sh: No such file or directory
/bin/bash: /scripts/gcc-version.sh: No such file or directory
/bin/bash: /scripts/gcc-version.sh: No such file or directory
/bin/bash: /scripts/gcc-version.sh: No such file or directory
/bin/bash: /scripts/gcc-version.sh: No such file or directory
sudo make flo_defconfig
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/zconf.lex.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
In file included from scripts/kconfig/zconf.tab.c:2500:
scripts/kconfig/confdata.c: In function ‘conf_write’:
scripts/kconfig/confdata.c:705:19: warning: ‘%s’ directive writing likely 7 or more bytes into a region of size between 1 and 4097 [-Wformat-overflow=]
705 | sprintf(newname, "%s%s", dirname, basename);
| ^~~~~~
scripts/kconfig/confdata.c:705:19: note: assuming directive output of 7 bytes
scripts/kconfig/confdata.c:705:2: note: ‘sprintf’ output 1 or more bytes (assuming 4104) into a destination of size 4097 705 | sprintf(newname, "%s%s", dirname, basename);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
scripts/kconfig/confdata.c:708:20: warning: ‘.tmpconfig.’ directive writing 11 bytes into a region of size between 1 and 4097 [-Wformat-overflow=]
708 | sprintf(tmpname, "%s.tmpconfig.%d", dirname, (int)getpid());
| ^~~~~~~~~~~~~~~~~
scripts/kconfig/confdata.c:708:3: note: ‘sprintf’ output between 13 and 4119 bytes into a destination of size 4097
708 | sprintf(tmpname, "%s.tmpconfig.%d", dirname, (int)getpid());
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HOSTLD scripts/kconfig/conf
***
*** Can't find default configuration "arch/x86/configs/flo_defconfig"!
***
make[1]: *** [/home/jseitz/android/unlegacy/android_kernel_qcom_msm8960/scripts/kconfig/Makefile:96: flo_defconfig] Error 1
make: *** [Makefile:497: flo_defconfig] Error 2
Click to expand...
Click to collapse

[Q][KERNEL] Source build problems.

When trying to run the scripts build_kernel.sh i get an error saying that i need to clean up the directory by using "make mrproper". However when i do i get the following error.
Code:
[email protected]:~/androidsource/kernel$ make mrproper
/home/wes/androidsource/kernel/drivers/gpu/gpu_sysfs/Kbuild:29: **** Make sure target file is defined. Check the TARGET and GPU configs in Makefile and Kernel Config. Module won't work without target file. ****
scripts/Makefile.clean:17: /home/wes/androidsource/kernel/drivers/media/isdbt/fc8150/Makefile: No such file or directory
make[4]: *** No rule to make target `/home/wes/androidsource/kernel/drivers/media/isdbt/fc8150/Makefile'. Stop.
make[3]: *** [drivers/media/isdbt/fc8150] Error 2
make[2]: *** [drivers/media/isdbt] Error 2
make[1]: *** [drivers/media] Error 2
make: *** [_clean_drivers] Error 2
What is missing? When i open the specified makefiles i do not see what is not specified as the target file. Also, drivers/media/isdbt/fc8150/makefile does not exist. Why is that? Is there something that i need to do in order to produce/unpack additional files from the whole source in order to compile the kernel for SM-N915J?
Have you ever fixed the problem? Running into the exact same error.
Thanks!

Compiling cm13 error 'unknown type init_shell'

Hello,
I'm coming from another phone and am new to this one. I'm jumping in to see if and where I can help with with bugs related to the cm13 device tree.
After almost a full compile, I'm running into an error I can't figure out.
Code:
No private recovery resources for TARGET_DEVICE osprey
make -C kernel/motorola/msm8916 O=/home/xclusive36/android/cm13/out/target/product/osprey/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/xclusive36/android/cm13/prebuilts/misc/linux-x86/ccache/ccache arm-eabi-" VARIANT_DEFCONFIG= SELINUX_DEFCONFIG= osprey_defconfig
host Executable: mkbootfs (/home/xclusive36/android/cm13/out/host/linux-x86/obj/EXECUTABLES/mkbootfs_intermediates/mkbootfs)
make[1]: Entering directory `/home/xclusive36/android/cm13/kernel/motorola/msm8916'
Install: /home/xclusive36/android/cm13/out/host/linux-x86/lib64/libcutils.so
/home/xclusive36/android/cm13/out/host/linux-x86/bin/checkpolicy: loading policy configuration from /home/xclusive36/android/cm13/out/target/product/osprey/obj/ETC/sepolicy_intermediates/policy.conf
device/motorola/osprey/sepolicy/init_shell.te:2:ERROR 'unknown type init_shell' at token ';' on line 26943:
#line 1 "device/motorola/osprey/sepolicy/init_shell.te"
allow init_shell utags_block_device:blk_file { getattr open read ioctl lock };
checkpolicy: error(s) encountered while parsing configuration
make: *** [/home/xclusive36/android/cm13/out/target/product/osprey/obj/ETC/sepolicy_intermediates/sepolicy] Error 1
make: *** Waiting for unfinished jobs....
GEN /home/xclusive36/android/cm13/out/target/product/osprey/obj/KERNEL_OBJ/Makefile
#
# configuration written to .config
#
make[1]: Leaving directory `/home/xclusive36/android/cm13/kernel/motorola/msm8916'
make: Leaving directory `/home/xclusive36/android/cm13'
#### make failed to build some targets (07:12 (mm:ss)) ####
Any help would be appreciated.
Thanks
xclusive36 said:
Hello,
I'm coming from another phone and am new to this one. I'm jumping in to see if and where I can help with with bugs related to the cm13 device tree.
After almost a full compile, I'm running into an error I can't figure out.
Code:
No private recovery resources for TARGET_DEVICE osprey
make -C kernel/motorola/msm8916 O=/home/xclusive36/android/cm13/out/target/product/osprey/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/xclusive36/android/cm13/prebuilts/misc/linux-x86/ccache/ccache arm-eabi-" VARIANT_DEFCONFIG= SELINUX_DEFCONFIG= osprey_defconfig
host Executable: mkbootfs (/home/xclusive36/android/cm13/out/host/linux-x86/obj/EXECUTABLES/mkbootfs_intermediates/mkbootfs)
make[1]: Entering directory `/home/xclusive36/android/cm13/kernel/motorola/msm8916'
Install: /home/xclusive36/android/cm13/out/host/linux-x86/lib64/libcutils.so
/home/xclusive36/android/cm13/out/host/linux-x86/bin/checkpolicy: loading policy configuration from /home/xclusive36/android/cm13/out/target/product/osprey/obj/ETC/sepolicy_intermediates/policy.conf
device/motorola/osprey/sepolicy/init_shell.te:2:ERROR 'unknown type init_shell' at token ';' on line 26943:
#line 1 "device/motorola/osprey/sepolicy/init_shell.te"
allow init_shell utags_block_device:blk_file { getattr open read ioctl lock };
checkpolicy: error(s) encountered while parsing configuration
make: *** [/home/xclusive36/android/cm13/out/target/product/osprey/obj/ETC/sepolicy_intermediates/sepolicy] Error 1
make: *** Waiting for unfinished jobs....
GEN /home/xclusive36/android/cm13/out/target/product/osprey/obj/KERNEL_OBJ/Makefile
#
# configuration written to .config
#
make[1]: Leaving directory `/home/xclusive36/android/cm13/kernel/motorola/msm8916'
make: Leaving directory `/home/xclusive36/android/cm13'
#### make failed to build some targets (07:12 (mm:ss)) ####
Any help would be appreciated.
Thanks
Click to expand...
Click to collapse
You'll need the SELinux patch on gerrit. It's still a WIP. http://review.cyanogenmod.org/#/c/118765/
squid2 said:
You'll need the SELinux patch on gerrit. It's still a WIP. http://review.cyanogenmod.org/#/c/118765/
Click to expand...
Click to collapse
Gotcha, thanks for the reply. I was able to get a full compile by removing that folder from the device/motorola/osprey folder. I'll take a look at that patch tonight when I get off of work and try it again with SELinux enabled.

[Completed] Need help with ROM Compilation error

Hey guys, I have been trying to compile a rom for bacon. I have all the source set up and the build is stopping at this error. Please help me solve this problem.
make -C kernel/oneplus/msm8974 O=out/target/product/bacon/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/int/darko/prebuilts/misc/linux-x86/ccache/ccache arm-linux-androideabi-" VARIANT_DEFCONFIG= SELINUX_DEFCONFIG= bacon_defconfig
/bin/sh: 1: cd: can't cd to out/target/product/bacon/obj/KERNEL_OBJ
host Executable: mkbootfs (out/host/linux-x86/obj/EXECUTABLES/mkbootfs_intermediates/mkbootfs)
Install: out/host/linux-x86/lib64/libcutils.so
make[1]: Entering directory `/home/int/darko/kernel/oneplus/msm8974'
Makefile:121: *** output directory "out/target/product/bacon/obj/KERNEL_OBJ" does not exist. Stop.
make[1]: Leaving directory `/home/int/darko/kernel/oneplus/msm8974'
make: *** [out/target/product/bacon/obj/KERNEL_OBJ/.config] Error 2
make: *** Waiting for unfinished jobs....
INT3NSE07 said:
Hey guys, I have been trying to compile a rom for bacon. I have all the source set up and the build is stopping at this error. Please help me solve this problem.
make -C kernel/oneplus/msm8974 O=out/target/product/bacon/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/int/darko/prebuilts/misc/linux-x86/ccache/ccache arm-linux-androideabi-" VARIANT_DEFCONFIG= SELINUX_DEFCONFIG= bacon_defconfig
/bin/sh: 1: cd: can't cd to out/target/product/bacon/obj/KERNEL_OBJ
host Executable: mkbootfs (out/host/linux-x86/obj/EXECUTABLES/mkbootfs_intermediates/mkbootfs)
Install: out/host/linux-x86/lib64/libcutils.so
make[1]: Entering directory `/home/int/darko/kernel/oneplus/msm8974'
Makefile:121: *** output directory "out/target/product/bacon/obj/KERNEL_OBJ" does not exist. Stop.
make[1]: Leaving directory `/home/int/darko/kernel/oneplus/msm8974'
make: *** [out/target/product/bacon/obj/KERNEL_OBJ/.config] Error 2
make: *** Waiting for unfinished jobs....
Click to expand...
Click to collapse
Hello,
Try posting your query here [GUIDE][COMPLETE] Android ROM Development From Source To End, the experts there maybe able to assist you.
-Vatsal

Categories

Resources