Building DesktopVideo 12 fails on kernel 5.10

Getting started with a Blackmagic product? Ask questions here about setup and installation.
  • Author
  • Message
Offline

iGadget

  • Posts: 1
  • Joined: Sat Feb 27, 2021 2:14 pm
  • Real Name: Matthijs ten Kate

Building DesktopVideo 12 fails on kernel 5.10

PostSat Feb 27, 2021 2:28 pm

On my new Ubuntu 20.04 Ryzen workstation I need to use Linux kernel 5.10 or higher to be able to use the onboard LAN adapter. However, when trying to install DesktopVideo 12, the DKMS build fails:

Code: Select all
DKMS make.log for blackmagic-io-12.0a14 for kernel 5.10.17-051017-generic (x86_64)
za 27 feb 2021 15:06:50 CET
touch .blackmagic.o.cmd
make -C /lib/modules/5.10.17-051017-generic/build M=/var/lib/dkms/blackmagic-io/12.0a14/build
make[1]: Entering directory '/usr/src/linux-headers-5.10.17-051017-generic'
  CC [M]  /var/lib/dkms/blackmagic-io/12.0a14/build/bmio_client.o
  CC [M]  /var/lib/dkms/blackmagic-io/12.0a14/build/bmio_dev.o
  CC [M]  /var/lib/dkms/blackmagic-io/12.0a14/build/bmio_device.o
  CC [M]  /var/lib/dkms/blackmagic-io/12.0a14/build/bmio_driver.o
  CC [M]  /var/lib/dkms/blackmagic-io/12.0a14/build/bmio_serial.o
  CC [M]  /var/lib/dkms/blackmagic-io/12.0a14/build/bmio_export.o
  CC [M]  /var/lib/dkms/blackmagic-io/12.0a14/build/bmio_pci_ids.o
  CC [M]  /var/lib/dkms/blackmagic-io/12.0a14/build/bm_locks.o
  CC [M]  /var/lib/dkms/blackmagic-io/12.0a14/build/bm_mm.o
  CC [M]  /var/lib/dkms/blackmagic-io/12.0a14/build/bm_pci.o
  CC [M]  /var/lib/dkms/blackmagic-io/12.0a14/build/bm_util.o
  SHIPPED /var/lib/dkms/blackmagic-io/12.0a14/build/blackmagic.o
  CC [M]  /var/lib/dkms/blackmagic-io/12.0a14/build/bmio_audio.o
/var/lib/dkms/blackmagic-io/12.0a14/build/bm_mm.c: In function ‘bm_dma_get_physical_segment’:
/var/lib/dkms/blackmagic-io/12.0a14/build/bm_mm.c:331:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  331 |  addr64_t startAddr = dlist->addrs[page_n] + page_offset;
      |  ^~~~~~~~
/var/lib/dkms/blackmagic-io/12.0a14/build/bmio_serial.c: In function ‘bmio_serial_remove’:
/var/lib/dkms/blackmagic-io/12.0a14/build/bmio_serial.c:267:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  267 |  struct tty_struct *tty = tty_port_tty_get(&serial->port);
      |  ^~~~~~
  LD [M]  /var/lib/dkms/blackmagic-io/12.0a14/build/snd_blackmagic-io.o
  LD [M]  /var/lib/dkms/blackmagic-io/12.0a14/build/blackmagic-io.o
  MODPOST /var/lib/dkms/blackmagic-io/12.0a14/build/Module.symvers
make[3]: *** No rule to make target 'scripts/module.lds', needed by '/var/lib/dkms/blackmagic-io/12.0a14/build/blackmagic-io.ko'.  Stop.
make[3]: *** Waiting for unfinished jobs....
  CC [M]  /var/lib/dkms/blackmagic-io/12.0a14/build/blackmagic-io.mod.o
make[2]: *** [scripts/Makefile.modpost:117: __modpost] Error 2
make[1]: *** [Makefile:1711: modules] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.10.17-051017-generic'
make: *** [Makefile:47: all] Error 2

Anything I can do to fix this?

Return to Getting Started

Who is online

Users browsing this forum: No registered users and 8 guests