openSuse - /lib/modules/6.1.10-1-default/build not found - opensuse

Upon installing droidcam on my system, I have the following problem, after I installed the droidcam-client, which worked without any issues.
sudo ./install-video
[sudo] Passwort für root:
Webcam parameters: '640' and '480'
Building v4l2loopback-dc.ko
make: Entering directory '/home/kevin/Downloads/droidcam/v4l2loopback'
make -C /lib/modules/6.1.10-1-default/build M=/home/kevin/Downloads/droidcam/v4l2loopback modules
make[1]: Entering directory '/home/kevin/Downloads/droidcam/v4l2loopback'
make[1]: *** /lib/modules/6.1.10-1-default/build: Datei oder Verzeichnis nicht gefunden. Stop.
make[1]: Leaving directory '/home/kevin/Downloads/droidcam/v4l2loopback'
make: *** [Makefile:8: all] Error 2
make: Leaving directory '/home/kevin/Downloads/droidcam/v4l2loopback'
Can anyone point me in the right direction, as I am afraid of breaking things...

Related

Cannot compile MEGA api

I'm using Windows 7 64bits and been trying to compile the MEGA api with MSYS2 using the autotools, but after running 'make' compilation stops showing this error:
# make
make all-recursive
make[1]: Entering directory '/d/sdk-develop'
Making all in include
make[2]: Entering directory '/d/sdk-develop/include'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/d/sdk-develop/include'
make[2]: Entering directory '/d/sdk-develop'
CXX examples/megacli-megacli.o
In file included from D:/msys64/mingw64/include/zconf.h:475,
from D:/msys64/mingw64/include/zlib.h:34,
from ./include/mega/win32/meganet.h:26,
from ./include/mega.h:76,
from examples/megacli.cpp:22:
./include/mega/win32/megafs.h:170:10: error: 'bool mega::WinFileAccess::ftruncate64()' marked 'override', but does not override
170 | bool ftruncate() override;
| ^~~~~~~~~
make[2]: *** [Makefile:2742: examples/megacli-megacli.o] Error 1
make[2]: Leaving directory '/d/sdk-develop'
make[1]: *** [Makefile:3294: all-recursive] Error 1
make[1]: Leaving directory '/d/sdk-develop'
make: *** [Makefile:1495: all] Error 2

cross compiling protocol buffers for arm

I am new to Google's protocol buffers and I am having trouble with cross-compiling it for arm. I am not able to find any concrete solutions to my problem using google.
The steps I am following:
./autogen.sh
./configure
make -s && make install
./configure --host=arm-linux-gnueabi CC=arm-linux-gnueabi-gcc --prefix=/opt/poky/1.7/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/ --with-protoc=/usr/local/bin/protoc
make
I get an error when I run make.
google/protobuf/stubs/common.cc:55:2: error: #error "No suitable threading library available."
#error "No suitable threading library available."
^
Makefile:3956: recipe for target 'google/protobuf/stubs/common.lo' failed
make[2]: *** [google/protobuf/stubs/common.lo] Error 1
make[2]: Leaving directory '/home/protobuf/protobuf/src'
Makefile:1544: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/protobuf/protobuf'
Makefile:1451: recipe for target 'all' failed
make: *** [all] Error 2
Any help would be much appreciated.

Compile error when trying to install gst-plugins-bad 1.4.3

I am trying to install gst-plugins-bad 1.4.3 in order to install gstreamer-sharp 1.39 in order to install banshee 2.9.1. I downloaded the source distribution from git and was able to run autogen.sh, but running make install crashes with the following error.
make[3]: Leaving directory `/home/david/Downloads/gst-plugins-bad/gst'
make[2]: Leaving directory `/home/david/Downloads/gst-plugins-bad/gst'
make[1]: Leaving directory `/home/david/Downloads/gst-plugins-bad/gst'
Making install in sys
make[1]: Entering directory `/home/david/Downloads/gst-plugins-bad/sys'
Making install in decklink
make[2]: Entering directory `/home/david/Downloads/gst-plugins-bad/sys/decklink'
CXXLD libgstdecklink.la
/usr/bin/ld: .libs/libgstdecklink_la-gstdecklink.o: relocation R_X86_64_32 against `.bss' can not be used when making a shared object; recompile with -fPIC
.libs/libgstdecklink_la-gstdecklink.o: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
make[2]: *** [libgstdecklink.la] Error 1
make[2]: Leaving directory `/home/david/Downloads/gst-plugins-bad/sys/decklink'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/david/Downloads/gst-plugins-bad/sys'
make: *** [install-recursive] Error 1
I don't know how to respond to this error and I can't seem to find anyone else who has encountered it. What should I do? I am running Linux Mint 13.

Opam installation error from source

The following error was obtained while installing opam from source
make -C ocp-build
make[1]: Entering directory `/home/14810/opam-master/ocp-build'
make[1]: `ocp-build' is up to date.
make[1]: Leaving directory `/home/14810/opam-master/ocp-build'
make clone
make[1]: Entering directory `/home/14810/opam-master'
make -C src_ext
make[2]: Entering directory `/home/14810/opam-master/src_ext'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/14810/opam-master/src_ext'
make[1]: Leaving directory `/home/14810/opam-master'
make compile
make[1]: Entering directory `/home/14810/opam-master'
make -C ocp-build
make[2]: Entering directory `/home/14810/opam-master/ocp-build'
make[2]: `ocp-build' is up to date.
make[2]: Leaving directory `/home/14810/opam-master/ocp-build'
ocaml shell/get-git-id.ml src/core/opamGitVersion.ml
./ocp-build/ocp-build -no-use-opamfind -init -scan
Unknown option -no-use-opamfind.
make[1]: *** [compile] Error 2
make[1]: Leaving directory `/home/14810/opam-master'
make: *** [all] Error 2
tried removing options from the makefile but did not work

Apache thrift can not make

When I'm trying to configure and make thrift 0.9.1 it gives some errors. Can anyone tell me the reason for that and what should I do to overcome this issue. Errors are shown in below.
user#linux-yyzo:~/WorkDir/thrift-0.9.1> make
make all-recursive
make[1]: Entering directory `/home/user/WorkDir/thrift-0.9.1'
Making all in compiler/cpp
make[2]: Entering directory `/home/user/WorkDir/thrift-0.9.1/compiler/cpp'
make all-am
make[3]: Entering directory `/home/user/WorkDir/thrift-0.9.1/compiler/cpp'
\
\
/bin/sh ../../ylwrap `test -f 'src/thrifty.yy' || echo './'`src/thrifty.yy y.tab.c thrifty.cc y.tab.h thrifty.h y.output thrifty.output -- yacc -d
../../ylwrap: line 113: yacc: command not found
make[3]: *** [thrifty.cc] Error 1
make[3]: Leaving directory `/home/user/WorkDir/thrift-0.9.1/compiler/cpp'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/user/WorkDir/thrift-0.9.1/compiler/cpp'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/user/WorkDir/thrift-0.9.1'
make: *** [all] Error 2
user#linux-yyzo:~/WorkDir/thrift-0.9.1>
There are two resources on the Thrift web site worth reading when one runs into troubles like this.
The Requirements give a good overview about the dependencies; the Building From Source page explains build steps and configure switches briefly. Additionally, the requirements page holds some links to more specific information for builds on Ubuntu, CentOS, Windows and OS X.