Bradj47
asked this on July 21, 2011 19:23
I first downloaded the driver using using git, which goes fine:
[code]
git clone https://github.com/bluecherrydvr/solo6x10
Cloning into solo6x10...
remote: Counting objects: 1271, done.
remote: Compressing objects: 100% (377/377), done.
remote: Total 1271 (delta 914), reused 1249 (delta 892)
Receiving objects: 100% (1271/1271), 290.16 KiB | 94 KiB/s, done.
Resolving deltas: 100% (914/914), done.
[/code]
I then cd into the directory that was just created and try to run make, which fails:
[code]
# cd solo6x10/
# make
make -C /lib/modules/2.6.32-5-amd64/build M=/solo6x10 modules
make: *** /lib/modules/2.6.32-5-amd64/build: No such file or directory. Stop.
make: *** [all] Error 2
[/code]
I'm running Debian Squeeze 64-bit. Here's my uname -a:
[code]
Linux bigbrother 2.6.32-5-amd64 #1 SMP Wed May 18 23:13:22 UTC 2011 x86_64 GNU/Linux
[/code]
A side note: In the downloaded folder I noticed a 'debian/' subfolder. What might that be?
Comments
Are you still having this problem?
same problem for me with debian 2.6.32-5-amd64
can't make
entrant dans le répertoire « /usr/src/linux-headers-2.6.32-5-amd64 »
CC [M] /root/solo6x10/solo6010-core.o
CC [M] /root/solo6x10/solo6010-i2c.o
CC [M] /root/solo6x10/solo6010-p2m.o
CC [M] /root/solo6x10/solo6010-v4l2.o
CC [M] /root/solo6x10/solo6010-tw28.o
CC [M] /root/solo6x10/solo6010-gpio.o
CC [M] /root/solo6x10/solo6010-disp.o
CC [M] /root/solo6x10/solo6010-enc.o
CC [M] /root/solo6x10/solo6010-v4l2-enc.o
CC [M] /root/solo6x10/solo6010-g723.o
CC [M] /root/solo6x10/solo6010-eeprom.o
CC [M] /root/solo6x10/videobuf-dma-contig.o
LD [M] /root/solo6x10/solo6x10.o
Building modules, stage 2.
MODPOST 1 modules
CC /root/solo6x10/solo6x10.mod.o
LD [M] /root/solo6x10/solo6x10.ko
make[1]: quittant le répertoire « /usr/src/linux-headers-2.6.32-5-amd64 »
when i check /root/solo6x10/solo6x10.ko
Softlogic%d^@solo6x10^@SOLO-6010 Audio^@%s on %s IRQ %d^@SOLO-6010^@Camera #%d Audio^@<6>%s %s: Alsa sound card as %s
^@/usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/dma-mapping.h^@Capture Volume^@/root/solo6x10/videobuf-dma-contig.c^@<3>magic mismatch: %x expected %x
^@/usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/dma-mapping.h^@<3>%s %s: dma_alloc_coherent size %ld failed
^@<3>%s %s: mmap: remap failed with error %d. ^@<3>%s %s: memory is not alloced/mmapped.
^@<3>%s %s: dma_alloc_coherent %ld failed
i don't know what to do....
I experienced the same problem as OP on my Ubuntu 12.04 clean install.
I installed the following packages to solve the issue.
$ sudo apt-get install build-essential
$ sudo apt-get source linux-image-$(uname -r)
$ sudo apt-get build-dep linux-image-$(uname -r)
$ sudo apt-get install linux-headers-$(uname -r)