Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building on a raspberry pi 4 -debian:stretch #1

Open
tjb81 opened this issue Nov 3, 2020 · 2 comments
Open

Building on a raspberry pi 4 -debian:stretch #1

tjb81 opened this issue Nov 3, 2020 · 2 comments

Comments

@tjb81
Copy link

tjb81 commented Nov 3, 2020

Hi, i am trying to build this via docker on a raspberry pi 4 with debian stretch. I want to use the USB3HDCAP as an input device for /dev/video0 to stream it out via a RTSP server using v4l2rtspserver. I am using using a Dockerfile.template to try to compile it via the following command:
# Install hdcapm RUN git clone https://github.com/stoth68000/hdcapm.git /app/hdcapm \ && ( cd /app/hdcapm && make arm)
But it looks like it will not compile. any help available?
here is the error:
Cloning into '/app/hdcapm'... Building ARM make ARCH=arm CROSS_COMPILE=arm-v7a-linux-gnueabihf- -C /KL/ZODIAC-IMX6-HDCAPM-TOOLCHAIN/linux-4.13 M=/app/hdcapm KCPPFLAGS="" modules make[1]: *** /KL/ZODIAC-IMX6-HDCAPM-TOOLCHAIN/linux-4.13: No such file or directory. Stop. Makefile:34: recipe for target 'arm' failed make: *** [arm] Error 2

@stoth68000
Copy link
Owner

Is your kernel source installed in /KL/ZODIAC-IMX6-HDCAPM-TOOLCHAIN/linux-4.13 ?

"modules make[1]: *** /KL/ZODIAC-IMX6-HDCAPM-TOOLCHAIN/linux-4.13: No such file or directory"

@tjb81
Copy link
Author

tjb81 commented Nov 3, 2020

thanks for the quick response. actually, I will have to look as I am trying to build this into a Docker container. I am using something called Balena on the Rpi4 which has a HostOS in a module, and this is built in a container. So I am not sure if i can add it. I just wish this device acted like a normal usb capture device :-P. I am not sure if this will help. https://github.com/balena-os/kernel-module-build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants