Re: Build fails Ubuntu 17.04 / "error: implicit declaration of function"
On Tue, May 30, 2017 at 09:35:03PM +0200, Karl Wallin wrote: > Hi! > > Sorry for not replying earlier, work. > I came so far as to download the patches (via n00bishly pasting the > actual content of the .patch-files into .patch-files since my git > cherry-pick command didn't work) but then after trying to apply them I > got a prompt with specifying the path of the file and didn't research > that further. > > I downloaded the latest release from GIT and now it actually builds!!! :D :D > > However it does not install :( > > "root@nuc-d54250wyk:/home/ubuntu/media_build# make install > make -C /home/ubuntu/media_build/v4l install > make[1]: Entering directory '/home/ubuntu/media_build/v4l' > make[1]: *** No rule to make target 'media-install', needed by 'install'. > Stop. > make[1]: Leaving directory '/home/ubuntu/media_build/v4l' > Makefile:15: recipe for target 'install' failed > make: *** [install] Error 2" > > I've gone into "v4l" and looked for a "media-install" file but haven't > found any. > > Perhaps this is something I've misunderstood and easy to fix so I > finally can install it? This was also noticed by Olli Salonen (see thread "media_build: fails to install"). I note there what the problem is but I don't know how to fix it. Vince
Re: Build fails Ubuntu 17.04 / "error: implicit declaration of function"
Oh and it is the same running as my normal user as well as "root". Med vänlig hälsning / Best Regards - Karl Wallin karl.wallin...@gmail.com P.S. Om mitt mail bör vidarebefodras, vänligen gör detta istället för att återkomma med en email-adress i ett svar till mig. / If my mail should be forwarded then please forward it instead of replying to me with an email address. P.S. 2017-05-30 21:35 GMT+02:00 Karl Wallin: > Hi! > > Sorry for not replying earlier, work. > I came so far as to download the patches (via n00bishly pasting the > actual content of the .patch-files into .patch-files since my git > cherry-pick command didn't work) but then after trying to apply them I > got a prompt with specifying the path of the file and didn't research > that further. > > I downloaded the latest release from GIT and now it actually builds!!! :D :D > > However it does not install :( > > "root@nuc-d54250wyk:/home/ubuntu/media_build# make install > make -C /home/ubuntu/media_build/v4l install > make[1]: Entering directory '/home/ubuntu/media_build/v4l' > make[1]: *** No rule to make target 'media-install', needed by 'install'. > Stop. > make[1]: Leaving directory '/home/ubuntu/media_build/v4l' > Makefile:15: recipe for target 'install' failed > make: *** [install] Error 2" > > I've gone into "v4l" and looked for a "media-install" file but haven't > found any. > > Perhaps this is something I've misunderstood and easy to fix so I > finally can install it? > > Best Regards - Karl > Med vänlig hälsning / Best Regards - Karl Wallin > > karl.wallin...@gmail.com > > P.S. Om mitt mail bör vidarebefodras, vänligen gör detta istället för > att återkomma med en email-adress i ett svar till mig. / If my mail > should be forwarded then please forward it instead of replying to me > with an email address. P.S. > > > 2017-05-28 23:42 GMT+02:00 Daniel Scheller : >> Am Sun, 28 May 2017 21:06:33 +0200 >> schrieb Karl Wallin : >> >> All, >> >>> In "/home/ubuntu/media_build/v4l/cec-core.c" changed row 142 from: >>> "ret = cdev_device_add(>cdev, >dev);" to: >>> "ret = device_add(>dev);" >>> and row 186 from: >>> "cdev_device_del(>cdev, >dev);" to: >>> "device_del(>dev);" >> >> Until the upstream media_build repository gets the neccessary backport >> patch treatment, you can apply [1] and [2] to media_build which should >> fix all build issues. >> >> Best regards, >> Daniel >> >> [1] >> https://github.com/herrnst/media_build/commit/4766a716c629707d58d625c6cdfd8c395fd6ed61 >> [2] >> https://github.com/herrnst/media_build/commit/01507a9c32a301c8fc021dcaf1b943799ff3da51
Re: Build fails Ubuntu 17.04 / "error: implicit declaration of function"
Hi! Sorry for not replying earlier, work. I came so far as to download the patches (via n00bishly pasting the actual content of the .patch-files into .patch-files since my git cherry-pick command didn't work) but then after trying to apply them I got a prompt with specifying the path of the file and didn't research that further. I downloaded the latest release from GIT and now it actually builds!!! :D :D However it does not install :( "root@nuc-d54250wyk:/home/ubuntu/media_build# make install make -C /home/ubuntu/media_build/v4l install make[1]: Entering directory '/home/ubuntu/media_build/v4l' make[1]: *** No rule to make target 'media-install', needed by 'install'. Stop. make[1]: Leaving directory '/home/ubuntu/media_build/v4l' Makefile:15: recipe for target 'install' failed make: *** [install] Error 2" I've gone into "v4l" and looked for a "media-install" file but haven't found any. Perhaps this is something I've misunderstood and easy to fix so I finally can install it? Best Regards - Karl Med vänlig hälsning / Best Regards - Karl Wallin karl.wallin...@gmail.com P.S. Om mitt mail bör vidarebefodras, vänligen gör detta istället för att återkomma med en email-adress i ett svar till mig. / If my mail should be forwarded then please forward it instead of replying to me with an email address. P.S. 2017-05-28 23:42 GMT+02:00 Daniel Scheller: > Am Sun, 28 May 2017 21:06:33 +0200 > schrieb Karl Wallin : > > All, > >> In "/home/ubuntu/media_build/v4l/cec-core.c" changed row 142 from: >> "ret = cdev_device_add(>cdev, >dev);" to: >> "ret = device_add(>dev);" >> and row 186 from: >> "cdev_device_del(>cdev, >dev);" to: >> "device_del(>dev);" > > Until the upstream media_build repository gets the neccessary backport > patch treatment, you can apply [1] and [2] to media_build which should > fix all build issues. > > Best regards, > Daniel > > [1] > https://github.com/herrnst/media_build/commit/4766a716c629707d58d625c6cdfd8c395fd6ed61 > [2] > https://github.com/herrnst/media_build/commit/01507a9c32a301c8fc021dcaf1b943799ff3da51
Re: Build fails Ubuntu 17.04 / "error: implicit declaration of function"
Am Sun, 28 May 2017 21:06:33 +0200 schrieb Karl Wallin: All, > In "/home/ubuntu/media_build/v4l/cec-core.c" changed row 142 from: > "ret = cdev_device_add(>cdev, >dev);" to: > "ret = device_add(>dev);" > and row 186 from: > "cdev_device_del(>cdev, >dev);" to: > "device_del(>dev);" Until the upstream media_build repository gets the neccessary backport patch treatment, you can apply [1] and [2] to media_build which should fix all build issues. Best regards, Daniel [1] https://github.com/herrnst/media_build/commit/4766a716c629707d58d625c6cdfd8c395fd6ed61 [2] https://github.com/herrnst/media_build/commit/01507a9c32a301c8fc021dcaf1b943799ff3da51
Re: Build fails Ubuntu 17.04 / "error: implicit declaration of function"
On 28.05.2017 21:33, Karl Wallin wrote: Thanks for such a quick reply :) Of course *facepalm* should have thought of that "./build" downloads everything again and of course replaces my modified "cec-core.c". I ran "make" and ran into new problems: Ok so using logic I should do the same changes in "/home/ubuntu/media_build/v4l/media-devnode.c": In ""/home/ubuntu/media_build/v4l/media-devnode.c" changed row 257 from: "ret = cdev_device_add(>cdev, >dev);" to: "ret = device_add(>dev);" and row 293 from: "cdev_device_del(>cdev, >dev);" to: "device_del(>dev);" and then run "make" However it fails again :( CC [M] /home/ubuntu/media_build/v4l/serial_ir.o /home/ubuntu/media_build/v4l/serial_ir.c:837:21: error: expected ')' before 'int' module_param_hw(io, int, ioport, 0444); ^~~ /home/ubuntu/media_build/v4l/serial_ir.c:841:25: error: expected ')' before 'ulong' module_param_hw(iommap, ulong, other, 0444); ^ /home/ubuntu/media_build/v4l/serial_ir.c:849:26: error: expected ')' before 'int' module_param_hw(ioshift, int, other, 0444); ^~~ /home/ubuntu/media_build/v4l/serial_ir.c:852:22: error: expected ')' before 'int' module_param_hw(irq, int, irq, 0444); ^~~ /home/ubuntu/media_build/v4l/serial_ir.c:855:28: error: expected ')' before 'bool' module_param_hw(share_irq, bool, other, 0444); ^~~~ scripts/Makefile.build:301: recipe for target '/home/ubuntu/media_build/v4l/serial_ir.o' failed make[3]: *** [/home/ubuntu/media_build/v4l/serial_ir.o] Error 1 Makefile:1524: recipe for target '_module_/home/ubuntu/media_build/v4l' failed make[2]: *** [_module_/home/ubuntu/media_build/v4l] Error 2 make[2]: Leaving directory '/usr/src/linux-headers-4.10.0-21-generic' Makefile:51: recipe for target 'default' failed make[1]: *** [default] Error 2 make[1]: Leaving directory '/home/ubuntu/media_build/v4l' Makefile:26: recipe for target 'all' failed make: *** [all] Error 2 So I'm guessing that "/home/ubuntu/media_build/v4l/serial_ir.c" needs to be modified since it expects a ")" before the integer (numerical) value? /Karl Hi Karl I compiled only the ddbridge driver. So I did not have to compile these files you have problems with. Therefor I don't know what is going on here, sorry. Thomas
Re: Build fails Ubuntu 17.04 / "error: implicit declaration of function"
On 28.05.2017 21:06, Karl Wallin wrote: Hi Thomas, Thanks for the help (and to Vincent as well) :) In "/home/ubuntu/media_build/v4l/cec-core.c" changed row 142 from: "ret = cdev_device_add(>cdev, >dev);" to: "ret = device_add(>dev);" and row 186 from: "cdev_device_del(>cdev, >dev);" to: "device_del(>dev);" Even if I do that when I try to build it again (using ./build) it seems to reload / revert the cec-core.c to the original file since I still get these errors even though I saved the changes in Notepadqq: "/home/ubuntu/media_build/v4l/cec-core.c:142:8: error: implicit declaration of function 'cdev_device_add' [-Werror=implicit-function-declaration] ret = cdev_device_add(>cdev, >dev);" and "/home/ubuntu/media_build/v4l/cec-core.c:186:2: error: implicit declaration of function 'cdev_device_del' [-Werror=implicit-function-declaration] cdev_device_del(>cdev, >dev);" I am probably missing something here since it worked for you, would be grateful for your help :) /Karl Med vänlig hälsning / Best Regards - Karl Wallin Hi Karl The build downloads the latest source and overwrites your change (I think?) I used "make" to compile. After your have run the build script. Do the changes as you have described above. Run "make" to compile and "sudo make install" to install. This should do the trick. Thomas
Re: Build fails Ubuntu 17.04 / "error: implicit declaration of function"
Thanks for such a quick reply :) Of course *facepalm* should have thought of that "./build" downloads everything again and of course replaces my modified "cec-core.c". I ran "make" and ran into new problems: "Make" log: ubuntu@nuc-d54250wyk:~/media_build$ make make -C /home/ubuntu/media_build/v4l make[1]: Entering directory '/home/ubuntu/media_build/v4l' creating symbolic links... make -C firmware prep make[2]: Entering directory '/home/ubuntu/media_build/v4l/firmware' make[2]: Leaving directory '/home/ubuntu/media_build/v4l/firmware' make -C firmware make[2]: Entering directory '/home/ubuntu/media_build/v4l/firmware' make[2]: Nothing to be done for 'default'. make[2]: Leaving directory '/home/ubuntu/media_build/v4l/firmware' Kernel build directory is /lib/modules/4.10.0-21-generic/build make -C ../linux apply_patches make[2]: Entering directory '/home/ubuntu/media_build/linux' Patches for 4.10.0-21-generic already applied. make[2]: Leaving directory '/home/ubuntu/media_build/linux' make -C /lib/modules/4.10.0-21-generic/build SUBDIRS=/home/ubuntu/media_build/v4l modules make[2]: Entering directory '/usr/src/linux-headers-4.10.0-21-generic' CC [M] /home/ubuntu/media_build/v4l/cec-core.o CC [M] /home/ubuntu/media_build/v4l/cec-adap.o CC [M] /home/ubuntu/media_build/v4l/cec-api.o CC [M] /home/ubuntu/media_build/v4l/cec-edid.o CC [M] /home/ubuntu/media_build/v4l/cec-notifier.o LD [M] /home/ubuntu/media_build/v4l/cec.o CC [M] /home/ubuntu/media_build/v4l/msp3400-driver.o CC [M] /home/ubuntu/media_build/v4l/msp3400-kthreads.o LD [M] /home/ubuntu/media_build/v4l/msp3400.o CC [M] /home/ubuntu/media_build/v4l/smiapp-core.o CC [M] /home/ubuntu/media_build/v4l/smiapp-regs.o CC [M] /home/ubuntu/media_build/v4l/smiapp-quirk.o CC [M] /home/ubuntu/media_build/v4l/smiapp-limits.o LD [M] /home/ubuntu/media_build/v4l/smiapp.o CC [M] /home/ubuntu/media_build/v4l/et8ek8_mode.o CC [M] /home/ubuntu/media_build/v4l/et8ek8_driver.o /home/ubuntu/media_build/v4l/et8ek8_driver.c: In function 'et8ek8_i2c_buffered_write_regs': /home/ubuntu/media_build/v4l/et8ek8_driver.c:256:1: warning: the frame size of 1104 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ LD [M] /home/ubuntu/media_build/v4l/et8ek8.o CC [M] /home/ubuntu/media_build/v4l/cx25840-core.o CC [M] /home/ubuntu/media_build/v4l/cx25840-audio.o CC [M] /home/ubuntu/media_build/v4l/cx25840-firmware.o CC [M] /home/ubuntu/media_build/v4l/cx25840-vbi.o CC [M] /home/ubuntu/media_build/v4l/cx25840-ir.o LD [M] /home/ubuntu/media_build/v4l/cx25840.o CC [M] /home/ubuntu/media_build/v4l/m5mols_core.o CC [M] /home/ubuntu/media_build/v4l/m5mols_controls.o CC [M] /home/ubuntu/media_build/v4l/m5mols_capture.o LD [M] /home/ubuntu/media_build/v4l/m5mols.o CC [M] /home/ubuntu/media_build/v4l/imx074.o CC [M] /home/ubuntu/media_build/v4l/mt9m001.o CC [M] /home/ubuntu/media_build/v4l/mt9t031.o CC [M] /home/ubuntu/media_build/v4l/mt9t112.o CC [M] /home/ubuntu/media_build/v4l/mt9v022.o CC [M] /home/ubuntu/media_build/v4l/ov5642.o CC [M] /home/ubuntu/media_build/v4l/ov6650.o CC [M] /home/ubuntu/media_build/v4l/ov772x.o CC [M] /home/ubuntu/media_build/v4l/ov9640.o CC [M] /home/ubuntu/media_build/v4l/ov9740.o CC [M] /home/ubuntu/media_build/v4l/rj54n1cb0c.o CC [M] /home/ubuntu/media_build/v4l/tw9910.o CC [M] /home/ubuntu/media_build/v4l/aptina-pll.o CC [M] /home/ubuntu/media_build/v4l/tvaudio.o CC [M] /home/ubuntu/media_build/v4l/tda7432.o CC [M] /home/ubuntu/media_build/v4l/saa6588.o CC [M] /home/ubuntu/media_build/v4l/tda9840.o CC [M] /home/ubuntu/media_build/v4l/tea6415c.o CC [M] /home/ubuntu/media_build/v4l/tea6420.o CC [M] /home/ubuntu/media_build/v4l/saa7110.o CC [M] /home/ubuntu/media_build/v4l/saa7115.o CC [M] /home/ubuntu/media_build/v4l/saa717x.o CC [M] /home/ubuntu/media_build/v4l/saa7127.o CC [M] /home/ubuntu/media_build/v4l/saa7185.o CC [M] /home/ubuntu/media_build/v4l/saa6752hs.o CC [M] /home/ubuntu/media_build/v4l/ad5820.o CC [M] /home/ubuntu/media_build/v4l/adv7170.o CC [M] /home/ubuntu/media_build/v4l/adv7175.o CC [M] /home/ubuntu/media_build/v4l/adv7180.o CC [M] /home/ubuntu/media_build/v4l/adv7183.o CC [M] /home/ubuntu/media_build/v4l/adv7343.o CC [M] /home/ubuntu/media_build/v4l/adv7393.o CC [M] /home/ubuntu/media_build/v4l/adv7604.o CC [M] /home/ubuntu/media_build/v4l/adv7842.o CC [M] /home/ubuntu/media_build/v4l/ad9389b.o CC [M] /home/ubuntu/media_build/v4l/adv7511.o CC [M] /home/ubuntu/media_build/v4l/vpx3220.o CC [M] /home/ubuntu/media_build/v4l/vs6624.o CC [M] /home/ubuntu/media_build/v4l/bt819.o CC [M] /home/ubuntu/media_build/v4l/bt856.o CC [M] /home/ubuntu/media_build/v4l/bt866.o CC [M] /home/ubuntu/media_build/v4l/ks0127.o CC [M] /home/ubuntu/media_build/v4l/ths7303.o CC [M] /home/ubuntu/media_build/v4l/ths8200.o CC [M]
Re: Build fails Ubuntu 17.04 / "error: implicit declaration of function"
Hi Thomas, Thanks for the help (and to Vincent as well) :) In "/home/ubuntu/media_build/v4l/cec-core.c" changed row 142 from: "ret = cdev_device_add(>cdev, >dev);" to: "ret = device_add(>dev);" and row 186 from: "cdev_device_del(>cdev, >dev);" to: "device_del(>dev);" Even if I do that when I try to build it again (using ./build) it seems to reload / revert the cec-core.c to the original file since I still get these errors even though I saved the changes in Notepadqq: "/home/ubuntu/media_build/v4l/cec-core.c:142:8: error: implicit declaration of function 'cdev_device_add' [-Werror=implicit-function-declaration] ret = cdev_device_add(>cdev, >dev);" and "/home/ubuntu/media_build/v4l/cec-core.c:186:2: error: implicit declaration of function 'cdev_device_del' [-Werror=implicit-function-declaration] cdev_device_del(>cdev, >dev);" I am probably missing something here since it worked for you, would be grateful for your help :) /Karl Med vänlig hälsning / Best Regards - Karl Wallin karl.wallin...@gmail.com P.S. Om mitt mail bör vidarebefodras, vänligen gör detta istället för att återkomma med en email-adress i ett svar till mig. / If my mail should be forwarded then please forward it instead of replying to me with an email address. P.S. 2017-05-28 14:28 GMT+02:00 Thomas Kaiser: > On 27.05.2017 21:28, Karl Wallin wrote: >> >> Hi! >> >> Sorry if this is something I should have figured out, I am bit >> experienced with Linux but not at all a pro. >> >> Trying to build v4l-dvb on Ubuntu 17.04 (kernel 4.10.0-21-generic) and >> get build errors. >> >> Dependencies are met: >> >> make[2]: Entering directory '/usr/src/linux-headers-4.10.0-21-generic' >>CC [M] /home/ubuntu/media_build/v4l/cec-core.o >> /home/ubuntu/media_build/v4l/cec-core.c: In function >> 'cec_devnode_register': >> /home/ubuntu/media_build/v4l/cec-core.c:142:8: error: implicit >> declaration of function 'cdev_device_add' >> [-Werror=implicit-function-declaration] >>ret = cdev_device_add(>cdev, >dev); >> ^~~ >> /home/ubuntu/media_build/v4l/cec-core.c: In function >> 'cec_devnode_unregister': >> /home/ubuntu/media_build/v4l/cec-core.c:186:2: error: implicit >> declaration of function 'cdev_device_del' >> [-Werror=implicit-function-declaration] >>cdev_device_del(>cdev, >dev); >>^~~ > > > Hi Karl > > I changed in cec-core.c cdev_device_add(>cdev, >dev) and > cdev_device_del(>cdev, >dev) to device_add(>dev) > and device_del(>dev). > > I can compile now and the driver runs with kernel 4.10.0-21-generic on > Ubuntu 17.04. > > Thomas >
Re: Build fails Ubuntu 17.04 / "error: implicit declaration of function"
I saw this too, ([regression] Build failure on ubuntu 16.04 LTS) 857313e51006ff51524579bcd8808b70f9a80812 media: utilize new cdev_device_add helper function introduced these in March this year. More backport patches are needed.
Build fails Ubuntu 17.04 / "error: implicit declaration of function"
Hi! Sorry if this is something I should have figured out, I am bit experienced with Linux but not at all a pro. Trying to build v4l-dvb on Ubuntu 17.04 (kernel 4.10.0-21-generic) and get build errors. Dependencies are met: ubuntu@nuc-d54250wyk:~/media_build$ sudo apt-get install linux-headers-$(uname -r) && sudo apt-get install libdigest-sha-perl && sudo apt-get install make && sudo apt-get install make && sudo apt-get install gcc && sudo apt-get install git && sudo apt-get install patch && sudo apt-get install patchutils && sudo apt-get install libproc-processtable-perl Reading package lists... Done Building dependency tree Reading state information... Done linux-headers-4.10.0-21-generic is already the newest version (4.10.0-21.23). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Reading package lists... Done Building dependency tree Reading state information... Done libdigest-sha-perl is already the newest version (5.96-1build1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Reading package lists... Done Building dependency tree Reading state information... Done make is already the newest version (4.1-9.1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Reading package lists... Done Building dependency tree Reading state information... Done make is already the newest version (4.1-9.1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Reading package lists... Done Building dependency tree Reading state information... Done gcc is already the newest version (4:6.3.0-2ubuntu1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Reading package lists... Done Building dependency tree Reading state information... Done git is already the newest version (1:2.11.0-2ubuntu0.1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Reading package lists... Done Building dependency tree Reading state information... Done patch is already the newest version (2.7.5-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Reading package lists... Done Building dependency tree Reading state information... Done patchutils is already the newest version (0.3.4-2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Reading package lists... Done Building dependency tree Reading state information... Done libproc-processtable-perl is already the newest version (0.53-2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. ubuntu@nuc-d54250wyk:~/media_build$ Build log: ubuntu@nuc-d54250wyk:~/media_build$ ./build Checking if the needed tools for Ubuntu 17.04 are available Needed package dependencies are met. * This script will download the latest tarball and build it* * Assuming that your kernel is compatible with the latest * * drivers. If not, you'll need to add some extra backports,* * ./backports/ directory. * * It will also update this tree to be sure that all compat * * bits are there, to avoid compilation failures* * All drivers and build system are under GPLv2 License * * Firmware files are under the license terms found at: * * http://www.linuxtv.org/downloads/firmware/ * * Please abort in the next 5 secs if you don't agree with * * the license * Not aborted. It means that the licence was agreed. Proceeding... Updating the building system >From git://linuxtv.org/media_build * branchmaster -> FETCH_HEAD Already up-to-date. make: Entering directory '/home/ubuntu/media_build/linux' wget http://linuxtv.org/downloads/drivers/linux-media-LATEST.tar.bz2.md5 -O linux-media.tar.bz2.md5.tmp --2017-05-27 16:20:16-- http://linuxtv.org/downloads/drivers/linux-media-LATEST.tar.bz2.md5 Resolving linuxtv.org (linuxtv.org)... 130.149.80.248 Connecting to linuxtv.org (linuxtv.org)|130.149.80.248|:80... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: https://linuxtv.org/downloads/drivers/linux-media-LATEST.tar.bz2.md5 [following] --2017-05-27 16:20:16-- https://linuxtv.org/downloads/drivers/linux-media-LATEST.tar.bz2.md5 Connecting to linuxtv.org (linuxtv.org)|130.149.80.248|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 105 [application/x-bzip2] Saving to: ‘linux-media.tar.bz2.md5.tmp’ linux-media.tar.bz2 100%[===>] 105 --.-KB/sin 0s 2017-05-27 16:20:16 (5,72 MB/s) - ‘linux-media.tar.bz2.md5.tmp’ saved [105/105] cat: linux-media.tar.bz2.md5: No such file or directory --2017-05-27 16:20:16-- http://linuxtv.org/downloads/drivers/linux-media-LATEST.tar.bz2 Resolving linuxtv.org (linuxtv.org)... 130.149.80.248
Re: Build fails
On 09/06/16 12:21, Timo Helkiö wrote: make -C /omat/media_build/v4l allyesconfig make[1]: Entering directory '/omat/media_build/v4l' No version yet, using 4.4.0-36-generic make[2]: Entering directory '/omat/media_build/linux' Syncing with dir ../media/ Applying patches for kernel 4.4.0-36-generic patch -s -f -N -p1 -i ../backports/api_version.patch patch -s -f -N -p1 -i ../backports/pr_fmt.patch patch -s -f -N -p1 -i ../backports/debug.patch patch -s -f -N -p1 -i ../backports/drx39xxj.patch patch -s -f -N -p1 -i ../backports/v4.7_dma_attrs.patch patch -s -f -N -p1 -i ../backports/v4.6_i2c_mux.patch 1 out of 2 hunks FAILED Makefile:138: recipe for target 'apply_patches' failed make[2]: *** [apply_patches] Error 1 make[2]: Leaving directory '/omat/media_build/linux' Makefile:369: recipe for target 'allyesconfig' failed make[1]: *** [allyesconfig] Error 2 make[1]: Leaving directory '/omat/media_build/v4l' Makefile:26: recipe for target 'allyesconfig' failed make: *** [allyesconfig] Error 2 can't select all drivers at ./build line 490. Fixed 15 minutes ago in the media_build repo! Hans Timo Helkiö -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Build fails
make -C /omat/media_build/v4l allyesconfig make[1]: Entering directory '/omat/media_build/v4l' No version yet, using 4.4.0-36-generic make[2]: Entering directory '/omat/media_build/linux' Syncing with dir ../media/ Applying patches for kernel 4.4.0-36-generic patch -s -f -N -p1 -i ../backports/api_version.patch patch -s -f -N -p1 -i ../backports/pr_fmt.patch patch -s -f -N -p1 -i ../backports/debug.patch patch -s -f -N -p1 -i ../backports/drx39xxj.patch patch -s -f -N -p1 -i ../backports/v4.7_dma_attrs.patch patch -s -f -N -p1 -i ../backports/v4.6_i2c_mux.patch 1 out of 2 hunks FAILED Makefile:138: recipe for target 'apply_patches' failed make[2]: *** [apply_patches] Error 1 make[2]: Leaving directory '/omat/media_build/linux' Makefile:369: recipe for target 'allyesconfig' failed make[1]: *** [allyesconfig] Error 2 make[1]: Leaving directory '/omat/media_build/v4l' Makefile:26: recipe for target 'allyesconfig' failed make: *** [allyesconfig] Error 2 can't select all drivers at ./build line 490. Timo Helkiö -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[PATCH 2/3] When building for avr32, the build fails as follows.
From: Simon Dawson spdaw...@gmail.com cc1: error: unrecognized command line option -Wno-packed-bitfield-compat An example of an autobuild failure arising from this is the following. http://autobuild.buildroot.net/results/92e/92e472004812a3616f62d766a9ea07a997a66e89/ Clearly, not all toolchains provide a gcc that understands the -Wno-packed-bitfield-compat flag; remove usage of this flag. Signed-off-by: Simon Dawson spdaw...@gmail.com --- util/scan/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/scan/Makefile b/util/scan/Makefile index d48c478..88667c5 100644 --- a/util/scan/Makefile +++ b/util/scan/Makefile @@ -14,7 +14,7 @@ inst_bin = $(binaries) removing = atsc_psip_section.c atsc_psip_section.h -CPPFLAGS += -Wno-packed-bitfield-compat -D__KERNEL_STRICT_NAMES +CPPFLAGS += -D__KERNEL_STRICT_NAMES .PHONY: all -- 1.9.3 -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[patch] Re: media_build: build fails against (ubuntu) 2.6.32 on pvrusb2-debugifc.c
The problem was the new check function was not being called. Signed-off-by: vincent.mcint...@gmail.com diff --git a/v4l/scripts/make_config_compat.pl b/v4l/scripts/make_config_compat. index 438561a..f1dd577 100755 --- a/v4l/scripts/make_config_compat.pl +++ b/v4l/scripts/make_config_compat.pl @@ -485,6 +485,7 @@ sub check_other_dependencies() check_vzalloc(); check_flush_work_sync(); check_autosuspend_delay(); + check_hex_to_bin() } # Do the basic rules -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
media_build: build fails against (ubuntu) 2.6.32 on pvrusb2-debugifc.c
Hi, I am building against linux-2.6.32-26-generic from ubuntu, with just the linux-headers package. I know there is a big fat warning about doing this but I thought I should report the issue because mostly building like this does work. The build was against a clean checkout of the media_build tree, using build.sh. The build fails with: CC [M] /home/vjm/git/clones/linuxtv.org/media_build/v4l/pvrusb2-sysfs.o CC [M] /home/vjm/git/clones/linuxtv.org/media_build/v4l/pvrusb2-debugifc.o /home/vjm/git/clones/linuxtv.org/media_build/v4l/pvrusb2-debugifc.c: In function 'debugifc_parse_unsigned_number': /home/vjm/git/clones/linuxtv.org/media_build/v4l/pvrusb2-debugifc.c:108: error: implicit declaration of function 'hex_to_bin' make[3]: *** [/home/vjm/git/clones/linuxtv.org/media_build/v4l/pvrusb2-debugifc.o] Error 1 I was able to get the build to complete by hand-editing v4l/config-compat.h @@ -11,6 +11,8 @@ #include linux/mmdebug.h +#define NEED_HEX_TO_BIN 1 + #undef CONFIG_VIDEO_SH_VOU #undef CONFIG_VIDEO_SH_VOU_MODULE #undef CONFIG_MX1_VIDEO and rerunning make. After inspecting the relevant commit[1] I'm a bit baffled as to why this occurred. It seems as though the header file is not being found correctly, although it does exist, at /usr/src/linux-headers-2.6.32-26-generic/include/linux/kernel.h. % grep -i hex_to_bin /usr/src/linux-headers-2.6.32-26-generic/include/linux/kernel.h % I'll poke a bit more into this and hopefully come up with a fix. Cheers Vince [1] http://git.linuxtv.org/media_build.git?a=commit;h=2f3b6a700ee9b687b59a1eda8f8336b9aa4c47a6 -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Fwd: Build fails when compiling dvb_frontend.c
Hello everyone. I am trying to build v4l-dvb device drivers according to instruction on linuxTV wiki http://linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers but it fails when compiling dvb_frontend.c This is what I get: /home/tomislav/src/v4l-dvb-e341e9e85af2/v4l/dvb_frontend.c: In function 'dvb_frontend_stop': /home/tomislav/src/v4l-dvb-e341e9e85af2/v4l/dvb_frontend.c:707: error: implicit declaration of function 'init_MUTEX' make[3]: *** [/home/tomislav/src/v4l-dvb-e341e9e85af2/v4l/dvb_frontend.o] Error 1 make[3]: *** Waiting for unfinished jobs make[2]: *** [_module_/home/tomislav/src/v4l-dvb-e341e9e85af2/v4l] Error 2 make[2]: Leaving directory `/usr/src/linux-headers-2.6.31-9-rt' Kerner version is Linux version 2.6.31-9-rt (bui...@yellow) (gcc version 4.4.1 (Ubuntu 4.4.1-4ubuntu8) ) #152-Ubuntu SMP PREEMPT RT Thu Oct 15 13:22:24 UTC 2009 I've searched everywhere, and I haven't find similar problem. Can someone give me a hint what am I doing wrong. And just to say, I'm far from being a linux expert. :) Thank you, Tomislav -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html