I fixed the earlier error from the pastebin by compiling the droidx64.tar.gz file by adding the following line into droidcam/webcam/droidcam_v4l.c:
#include <linux/module.h>
Search Criteria
Package Details: droidcam 1:2.1.3-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/droidcam.git (read-only, click to copy) |
---|---|
Package Base: | droidcam |
Description: | A tool to turn your phone/tablet into a wireless/usb webcam |
Upstream URL: | https://github.com/dev47apps/droidcam-linux-client |
Keywords: | android ios webcam |
Licenses: | GPL-2.0-or-later |
Submitter: | marquicus |
Maintainer: | mhdi |
Last Packager: | mhdi |
Votes: | 140 |
Popularity: | 1.64 |
First Submitted: | 2011-06-29 20:31 (UTC) |
Last Updated: | 2024-06-14 19:38 (UTC) |
Dependencies (21)
- alsa-lib
- ffmpeg (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-ffplayoutAUR, ffmpeg-amd-full-gitAUR, ffmpeg-cudaAUR, ffmpeg-full-gitAUR, ffmpeg-gitAUR, ffmpeg-libfdk_aacAUR, ffmpeg-fullAUR, ffmpeg-decklinkAUR, ffmpeg-headlessAUR, ffmpeg-obsAUR, ffmpeg-amd-fullAUR)
- glib2 (glib2-gitAUR, glib2-selinuxAUR, glib2-patched-thumbnailerAUR)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR, glibc-eac-binAUR, glibc-eac-rocoAUR)
- gtk3 (gtk3-no_deadkeys_underlineAUR, gtk3-classicAUR, gtk3-classic-xfceAUR, gtk3-patched-filechooser-icon-viewAUR)
- libappindicator-gtk3
- libjpeg-turbo (mozjpeg-gitAUR, libjpeg-turbo-gitAUR, mozjpegAUR)
- libusbmuxd (libusbmuxd-rr-compatibleAUR, libusbmuxd-gitAUR)
- libx11 (libx11-gitAUR)
- pango (pango-gitAUR)
- speex (speex-gitAUR)
- V4L2LOOPBACK-MODULE (v4l2loopback-dc-dkmsAUR, linux-pfAUR, v4l2loopback-dkms)
- alsa-lib (make)
- ffmpeg (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-ffplayoutAUR, ffmpeg-amd-full-gitAUR, ffmpeg-cudaAUR, ffmpeg-full-gitAUR, ffmpeg-gitAUR, ffmpeg-libfdk_aacAUR, ffmpeg-fullAUR, ffmpeg-decklinkAUR, ffmpeg-headlessAUR, ffmpeg-obsAUR, ffmpeg-amd-fullAUR) (make)
- gtk3 (gtk3-no_deadkeys_underlineAUR, gtk3-classicAUR, gtk3-classic-xfceAUR, gtk3-patched-filechooser-icon-viewAUR) (make)
- libappindicator-gtk3 (make)
- libjpeg-turbo (mozjpeg-gitAUR, libjpeg-turbo-gitAUR, mozjpegAUR) (make)
- libusbmuxd (libusbmuxd-rr-compatibleAUR, libusbmuxd-gitAUR) (make)
- speex (speex-gitAUR) (make)
- android-tools (android-sdk-platform-tools-dummyAUR, android-sdk-platform-toolsAUR) (optional) – for Android USB connection
- usbmuxd (usbmuxd2-gitAUR, usbmuxd-gitAUR) (optional) – for iOS USB connection
Required by (0)
Sources (3)
<deleted-account> commented on 2012-03-24 19:24 (UTC)
<deleted-account> commented on 2012-03-23 19:24 (UTC)
There are several errors with this package. Firstly, if the used linux kernel is not the same version as the linux-headers version, the kernel cannot compile.
Secondly, in /etc/rc.d/droidcam, line 21:
/sbin/insmod ${DRIVER_LOCATION}/${DROIDCAM_V4L}.ko width=${WIDTH} height=${HEIGHT}
should call
/usr/bin/insmod
or link it if it does not exist.
Kernel module cannot compile. Please find the error result here:
http://pastebin.com/ynm6u9JP
gbc921 commented on 2012-03-03 05:00 (UTC)
The Sha1Sum for x64 had been modified to:
74d56cd3165692aa480545e20a9a7479c0f245f1
Here is the updated PKG:
http://pastebin.com/YXDUpRzu
By the way, the kernel module is not working yet.
Thanks.
marquicus commented on 2012-01-26 14:37 (UTC)
I think it could be because the replacement of module-init-tools by knod, problem reported to dev47apps.com
<deleted-account> commented on 2012-01-20 18:45 (UTC)
can't compile with Linux kernel 3.2.1-1-ARCH
....
Compiling Droidcam kernel module [BUSY] [DONE]
:: Loading Droidcam kernel module [BUSY] insmod: can't read '/lib/modules/3.2.1-1-ARCH/kernel/drivers/media/video/droidcam_v4l.ko': No such file or directory
[FAIL]
cat /tmp/droidcam-install.log
[code]
-- INSTALL: Building DrodCam v4l driver..
make: Entering directory `/usr/src/linux-3.2.1-1-ARCH'
CC [M] /usr/src/droidcam-3.2.1/webcam/droidcam_v4l.o
/usr/src/droidcam-3.2.1/webcam/droidcam_v4l.c: In function 'vidioc_s_fmt_cap':
/usr/src/droidcam-3.2.1/webcam/droidcam_v4l.c:266:1: warning: multi-line comment [-Wcomment]
/usr/src/droidcam-3.2.1/webcam/droidcam_v4l.c: At top level:
/usr/src/droidcam-3.2.1/webcam/droidcam_v4l.c:515:12: error: 'THIS_MODULE' undeclared here (not in a function)
/usr/src/droidcam-3.2.1/webcam/droidcam_v4l.c:516:2: warning: initialization from incompatible pointer type [enabled by default]
/usr/src/droidcam-3.2.1/webcam/droidcam_v4l.c:516:2: warning: (near initialization for 'droidcam_fops.open') [enabled by default]
/usr/src/droidcam-3.2.1/webcam/droidcam_v4l.c:517:2: warning: initialization from incompatible pointer type [enabled by default]
/usr/src/droidcam-3.2.1/webcam/droidcam_v4l.c:517:2: warning: (near initialization for 'droidcam_fops.release') [enabled by default]
/usr/src/droidcam-3.2.1/webcam/droidcam_v4l.c:616:22: error: expected ')' before 'int'
/usr/src/droidcam-3.2.1/webcam/droidcam_v4l.c:617:22: error: expected ')' before 'int'
/usr/src/droidcam-3.2.1/webcam/droidcam_v4l.c:619:20: error: expected declaration specifiers or '...' before string constant
/usr/src/droidcam-3.2.1/webcam/droidcam_v4l.c:620:15: error: expected declaration specifiers or '...' before string constant
/usr/src/droidcam-3.2.1/webcam/droidcam_v4l.c:621:16: error: expected declaration specifiers or '...' before string constant
make[1]: *** [/usr/src/droidcam-3.2.1/webcam/droidcam_v4l.o] Error 1
make: *** [_module_/usr/src/droidcam-3.2.1/webcam] Error 2
make: Leaving directory `/usr/src/linux-3.2.1-1-ARCH'
[/code]
with /etc/rc.d/droidcam setup i got:
:: Removing Droidcam kernel module [DONE]
:: Compiling Droidcam kernel module [DONE]
BUT same error
marquicus commented on 2011-10-17 05:28 (UTC)
thanks Aerion, updated
Aerion commented on 2011-10-16 12:06 (UTC)
The dependency kernel26-headers needs to be renamed to linux-headers, following the recent name change.
marquicus commented on 2011-08-06 23:18 (UTC)
fixed!
<deleted-account> commented on 2011-08-06 22:10 (UTC)
15ea7e17d8953b69977e1f3eec818cb6 droidcam-x86.tar.gz
That's the actual md5, changed it in the PKGBUILD and now it generates the package and pacman installs it.
I assume that the developer made an update in his package.
<deleted-account> commented on 2011-08-06 21:56 (UTC)
Validating source files with md5sums...
droidcam-x86.tar.gz ... FAILED
droidcam.rc ... Passed
droidcam.desktop ... Passed
install.patch ... Passed
==> ERROR: One or more files did not pass the validity check!
I would be glad to help if needed, i'm newbie in arch but i want to learn, do i need to change the md5 that is in the PKGBUILD? i dont know which one is the droidcam-x86.tar.gz one or how to check the actual md5
Pinned Comments