- Posts: 5
- Joined: Tue Dec 18, 2018 4:41 am
- Real Name: Darwin Liu
I was trying to install the rpm files from Blackmagic_Desktop_Video_Linux_10.11.4.tar.gz onto a fresh Centos 7.6 system and it's currently giving me a compilation error. Anyone got any idea if this is a known issue or if this is going to get fixed? Or if I'm just doing something horribly wrong?
STEPS TO REPRODUCE:
1) Install a minimal centos from CentOS-7-x86_64-Minimal-1810.iso image.
2) `yum -y update`
3) `yum -y groupinstall 'Development Tools'
4) `yum -y install epel-release kernel-devel`
5) `yum install -y dkms`
6) Transfer the Blackmagic tar file onto the system.
7) Untar the file
8) Change into the rpm directory and `yum install desktopvideo-10.11.4a9.x86_64.rpm desktopvideo-gui-10.11.4a9.x86_64.rpm mediaexpress-3.5.7a5.x86_64.rpm`
WHAT SHOULD HAPPEN:
The black magic dkms package should install just fine.
WHAT ACTUALLY HAPPENS:
The blackmagic-io kernel module throws a compilation error.
NOTES:
* Tested kernel is 3.10.0-957.1.3.el7.x86_64, which is the current shipping CENTOS/RHEL kernel version at the time this email was sent.
* Manually calling the dkms install reveals the exact error that occurs.
[root@testhost x86_64]# dkms install blackmagic-io/10.11.4a9
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area...
make -j8 KERNELRELEASE=3.10.0-957.1.3.el7.x86_64 KERNELRELEASE=3.10.0-957.1.3.el7.x86_64...(bad exit status: 2)
Error! Bad return status for module build on kernel: 3.10.0-957.1.3.el7.x86_64 (x86_64)
Consult /var/lib/dkms/blackmagic-io/10.11.4a9/build/make.log for more information.
[root@testhost x86_64]# cat /var/lib/dkms/blackmagic-io/10.11.4a9/build/make.log
DKMS make.log for blackmagic-io-10.11.4a9 for kernel 3.10.0-957.1.3.el7.x86_64 (x86_64)
Tue Dec 18 04:58:59 UTC 2018
make -C /lib/modules/3.10.0-957.1.3.el7.x86_64/build M=/var/lib/dkms/blackmagic-io/10.11.4a9/build
make[1]: Entering directory `/usr/src/kernels/3.10.0-957.1.3.el7.x86_64'
LD /var/lib/dkms/blackmagic-io/10.11.4a9/build/built-in.o
CC [M] /var/lib/dkms/blackmagic-io/10.11.4a9/build/bmio_client.o
CC [M] /var/lib/dkms/blackmagic-io/10.11.4a9/build/bmio_dev.o
CC [M] /var/lib/dkms/blackmagic-io/10.11.4a9/build/bmio_device.o
CC [M] /var/lib/dkms/blackmagic-io/10.11.4a9/build/bmio_serial.o
CC [M] /var/lib/dkms/blackmagic-io/10.11.4a9/build/bmio_driver.o
CC [M] /var/lib/dkms/blackmagic-io/10.11.4a9/build/bmio_export.o
CC [M] /var/lib/dkms/blackmagic-io/10.11.4a9/build/bmio_pci_ids.o
CC [M] /var/lib/dkms/blackmagic-io/10.11.4a9/build/bm_locks.o
CC [M] /var/lib/dkms/blackmagic-io/10.11.4a9/build/bm_pci.o
CC [M] /var/lib/dkms/blackmagic-io/10.11.4a9/build/bm_mm.o
CC [M] /var/lib/dkms/blackmagic-io/10.11.4a9/build/bm_util.o
CC [M] /var/lib/dkms/blackmagic-io/10.11.4a9/build/bmio_audio.o
/var/lib/dkms/blackmagic-io/10.11.4a9/build/bmio_audio.c: In function ‘create_sound_card’:
/var/lib/dkms/blackmagic-io/10.11.4a9/build/bmio_audio.c:373:2: error: implicit declaration of function ‘snd_card_create’ [-Werror=implicit-function-declaration]
int r = snd_card_create(idx, xid, module, extra_size, card_ret);
^
cc1: some warnings being treated as errors
make[2]: *** [/var/lib/dkms/blackmagic-io/10.11.4a9/build/bmio_audio.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [_module_/var/lib/dkms/blackmagic-io/10.11.4a9/build] Error 2
make[1]: Leaving directory `/usr/src/kernels/3.10.0-957.1.3.el7.x86_64'
make: *** [all] Error 2
STEPS TO REPRODUCE:
1) Install a minimal centos from CentOS-7-x86_64-Minimal-1810.iso image.
2) `yum -y update`
3) `yum -y groupinstall 'Development Tools'
4) `yum -y install epel-release kernel-devel`
5) `yum install -y dkms`
6) Transfer the Blackmagic tar file onto the system.
7) Untar the file
8) Change into the rpm directory and `yum install desktopvideo-10.11.4a9.x86_64.rpm desktopvideo-gui-10.11.4a9.x86_64.rpm mediaexpress-3.5.7a5.x86_64.rpm`
WHAT SHOULD HAPPEN:
The black magic dkms package should install just fine.
WHAT ACTUALLY HAPPENS:
The blackmagic-io kernel module throws a compilation error.
NOTES:
* Tested kernel is 3.10.0-957.1.3.el7.x86_64, which is the current shipping CENTOS/RHEL kernel version at the time this email was sent.
* Manually calling the dkms install reveals the exact error that occurs.
[root@testhost x86_64]# dkms install blackmagic-io/10.11.4a9
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area...
make -j8 KERNELRELEASE=3.10.0-957.1.3.el7.x86_64 KERNELRELEASE=3.10.0-957.1.3.el7.x86_64...(bad exit status: 2)
Error! Bad return status for module build on kernel: 3.10.0-957.1.3.el7.x86_64 (x86_64)
Consult /var/lib/dkms/blackmagic-io/10.11.4a9/build/make.log for more information.
[root@testhost x86_64]# cat /var/lib/dkms/blackmagic-io/10.11.4a9/build/make.log
DKMS make.log for blackmagic-io-10.11.4a9 for kernel 3.10.0-957.1.3.el7.x86_64 (x86_64)
Tue Dec 18 04:58:59 UTC 2018
make -C /lib/modules/3.10.0-957.1.3.el7.x86_64/build M=/var/lib/dkms/blackmagic-io/10.11.4a9/build
make[1]: Entering directory `/usr/src/kernels/3.10.0-957.1.3.el7.x86_64'
LD /var/lib/dkms/blackmagic-io/10.11.4a9/build/built-in.o
CC [M] /var/lib/dkms/blackmagic-io/10.11.4a9/build/bmio_client.o
CC [M] /var/lib/dkms/blackmagic-io/10.11.4a9/build/bmio_dev.o
CC [M] /var/lib/dkms/blackmagic-io/10.11.4a9/build/bmio_device.o
CC [M] /var/lib/dkms/blackmagic-io/10.11.4a9/build/bmio_serial.o
CC [M] /var/lib/dkms/blackmagic-io/10.11.4a9/build/bmio_driver.o
CC [M] /var/lib/dkms/blackmagic-io/10.11.4a9/build/bmio_export.o
CC [M] /var/lib/dkms/blackmagic-io/10.11.4a9/build/bmio_pci_ids.o
CC [M] /var/lib/dkms/blackmagic-io/10.11.4a9/build/bm_locks.o
CC [M] /var/lib/dkms/blackmagic-io/10.11.4a9/build/bm_pci.o
CC [M] /var/lib/dkms/blackmagic-io/10.11.4a9/build/bm_mm.o
CC [M] /var/lib/dkms/blackmagic-io/10.11.4a9/build/bm_util.o
CC [M] /var/lib/dkms/blackmagic-io/10.11.4a9/build/bmio_audio.o
/var/lib/dkms/blackmagic-io/10.11.4a9/build/bmio_audio.c: In function ‘create_sound_card’:
/var/lib/dkms/blackmagic-io/10.11.4a9/build/bmio_audio.c:373:2: error: implicit declaration of function ‘snd_card_create’ [-Werror=implicit-function-declaration]
int r = snd_card_create(idx, xid, module, extra_size, card_ret);
^
cc1: some warnings being treated as errors
make[2]: *** [/var/lib/dkms/blackmagic-io/10.11.4a9/build/bmio_audio.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [_module_/var/lib/dkms/blackmagic-io/10.11.4a9/build] Error 2
make[1]: Leaving directory `/usr/src/kernels/3.10.0-957.1.3.el7.x86_64'
make: *** [all] Error 2