crazycat69 / media_build

GNU General Public License v2.0
1 stars 2 forks source link

Makefile:387: recipe for target 'allyesconfig' failed #3

Open chrisgassen opened 3 years ago

chrisgassen commented 3 years ago

Hi there, wanted to try this out but can't get it to build on a Debian 9 64bit system.

Error:

Patched drivers/media/rc/rc-main.c  
make[2]: Leaving directory '/home/chris/media_build/linux'  
./scripts/make_kconfig.pl /lib/modules/4.9.0-12-amd64/build /lib/modules/4.9.0-12-amd64/build 1  
Preparing to compile for kernel version 4.9.0  
File not found: /lib/modules/4.9.0-12-amd64/build/.config at ./scripts/make_kconfig.pl line 33, <IN> line 4.  
Makefile:387: recipe for target 'allyesconfig' failed  
make[1]: *** [allyesconfig] Error 2  
make[1]: Leaving directory '/home/chris/media_build/v4l'  
Makefile:26: recipe for target 'allyesconfig' failed  
make: *** [allyesconfig] Error 2  
can't select all drivers at ./build line 559  

What am I doing wrong, or are there maybe missing dependencies?

crazycat69 commented 3 years ago

need kernel headers. run ./build check_only

crazycat69 commented 3 years ago

media_build DKMS for *buntu with 4.4+ kernels. https://launchpad.net/~crazycat69/+archive/ubuntu/media-build-dkms

chrisgassen commented 3 years ago

need kernel headers. run ./build check_only

ok ran that. "needed package dependencies are met"

now this though:

****************************
Updating the building system
****************************
remote: Repository CrazyCat/media_build not found
fatal: repository 'https://bitbucket.org/CrazyCat/media_build.git/' not found
make: Entering directory '/home/chris/media_build/linux'
wget https://github.com/crazycat69/media_build/releases/download/latest/linux-media-LATEST.tar.bz2.md5 -O linux-media.tar.bz2.md5.tmp
linux-media.tar.bz2.md5.tmp: Permission denied
Makefile:175: recipe for target 'download' failed
make: *** [download] Error 1
make: Leaving directory '/home/chris/media_build/linux'
Download failed at ./build line 535
chrisgassen commented 3 years ago

media_build DKMS for *buntu with 4.4+ kernels. https://launchpad.net/~crazycat69/+archive/ubuntu/media-build-dkms

those seem to not work well with debian

crazycat69 commented 3 years ago

Some wrong with your local media_buidl repo - this moved from bitbucket to github. Next - linux-media.tar.bz2.md5.tmp: Permission denied on download. Look like need root access.

ok ran that. "needed package dependencies are met"

now this though:


****************************
Updating the building system
****************************
remote: Repository CrazyCat/media_build not found
fatal: repository 'https://bitbucket.org/CrazyCat/media_build.git/' not found
make: Entering directory '/home/chris/media_build/linux'
wget https://github.com/crazycat69/media_build/releases/download/latest/linux-media-LATEST.tar.bz2.md5 -O linux-media.tar.bz2.md5.tmp
linux-media.tar.bz2.md5.tmp: Permission denied
Makefile:175: recipe for target 'download' failed
make: *** [download] Error 1
make: Leaving directory '/home/chris/media_build/linux'
Download failed at ./build line 535
crazycat69 commented 3 years ago

those seem to not work well with debian

This PPA can be added to your system manually by copying the lines below and adding them to your system's software sources: deb http://ppa.launchpad.net/crazycat69/media-build-dkms/ubuntu focal main

All deb packets contain only scripts and driver sources, so must be compatible with kernel 4.4+ for x86, x86_64 and aarch64.