Created attachment 1224983 [details] /var/lib/dkms/8192cu/4.0.2.9000.20130911/build/make.log Description of problem: [root@localhost rt8192cu_dkms]# make install_dkms mkdir /usr/src/8192cu-4.0.2.9000.20130911 -p cp . /usr/src/8192cu-4.0.2.9000.20130911 -a rm /usr/src/8192cu-4.0.2.9000.20130911/README.md rm /usr/src/8192cu-4.0.2.9000.20130911/ReleaseNotes.pdf rm -fr /usr/src/8192cu-4.0.2.9000.20130911/.git dkms add -m 8192cu -v 4.0.2.9000.20130911 Creating symlink /var/lib/dkms/8192cu/4.0.2.9000.20130911/source -> /usr/src/8192cu-4.0.2.9000.20130911 DKMS: add completed. dkms build -m 8192cu -v 4.0.2.9000.20130911 Kernel preparation unnecessary for this kernel. Skipping... Building module: cleaning build area... make -j4 KERNELRELEASE=4.8.8-300.fc25.x86_64 -C /lib/modules/4.8.8-300.fc25.x86_64/build M=/var/lib/dkms/8192cu/4.0.2.9000.20130911/build.........(bad exit status: 2) Error! Bad return status for module build on kernel: 4.8.8-300.fc25.x86_64 (x86_64) Consult /var/lib/dkms/8192cu/4.0.2.9000.20130911/build/make.log for more information. Makefile:602: recipe for target 'install_dkms' failed make: *** [install_dkms] Error 10 Version-Release number of selected component (if applicable): F25 kernel version 4.8.8-300.fc25.x86_64 Dynamic Kernel Module Support (DKMS): Fedora 25 for x86_64 - dkms-2.2.0.3-34.git.9e0394d.fc25.noarch.rpm How reproducible: always (DKMS compile does not work) Actual results: Building module: cleaning build area... make -j4 KERNELRELEASE=4.8.8-300.fc25.x86_64 -C /lib/modules/4.8.8-300.fc25.x86_64/build M=/var/lib/dkms/8192cu/4.0.2.9000.20130911/build.........(bad exit status: 2) Error! Bad return status for module build on kernel: 4.8.8-300.fc25.x86_64 (x86_64) Consult /var/lib/dkms/8192cu/4.0.2.9000.20130911/build/make.log for more information. Makefile:602: recipe for target 'install_dkms' failed make: *** [install_dkms] Error 10 Expected results: PASS Additional info: http://fr2.rpmfind.net/linux/rpm2html/search.php?query=dkms Thank you, _nobody_
How to reproduce: [1] Go to https://github.com/vincent-t/rt8192cu_dkms [2] Pull the git clone, using the tag out of the web site: git clone https://github.com/vincent-t/rt8192cu_dkms.git [3] Install DKMS: dnf install dkms: it installed (for me) package dkms-2.2.0.3-34.git.9e0394d.fc25.noarch [4] Check agains which kernel you are building: latest 4.8.8-300.fc25.x86_64 [5] Go to .../rt8192cu_dkms/ and follow README.md [6] Become root and execute: make install_dkms! [7] Dynamic Kernel Module Support (DKMS) files will give C compile errors!!! ALWAYS reproducible (needless to say). Floor all yours, Fedora kernel maintainers. :-) Good Luck! _nobody_ (niemand)
Fedora does not provide or support third party module packages. Further, this is a build issue with the driver you're trying to build and it will need to be updated to match the kernel.
Nope, Josh. Wrong. Very South. Let me ask you the question: What is the definition of: Dynamic Kernel Module Support (DKMS), and who is responsible for it??? _______ Wanna me to answer this question? YES, I will!? DKMS is PART of Fedora distro. And, amazingly... It does NOT compile against its own components (please, see the logs, or you do NOT know how to interpret them)??? Please, go back and DO fix your problems... Or prove to me (rock solid) that I am not in the course of the action... OK? OK? ;-) Thank you, Josh! _nobody_
Hello Josh, and others, I went back to investigate more... And I found deep down there that you are correct. I apologize. I removed dkms and then investigated further... And, yes, the third party Makefile puts links in /usr/src as well as in /var/lib/ ?! Here is the proof, so it has nothing to do with Fedora 2X, and its components: [root@localhost rt8192cu_dkms]# make install_dkms mkdir /usr/src/8192cu-4.0.2.9000.20130911 -p cp . /usr/src/8192cu-4.0.2.9000.20130911 -a rm /usr/src/8192cu-4.0.2.9000.20130911/README.md rm /usr/src/8192cu-4.0.2.9000.20130911/ReleaseNotes.pdf rm -fr /usr/src/8192cu-4.0.2.9000.20130911/.git dkms add -m 8192cu -v 4.0.2.9000.20130911 Creating symlink /var/lib/dkms/8192cu/4.0.2.9000.20130911/source -> /usr/src/8192cu-4.0.2.9000.20130911 DKMS: add completed. dkms build -m 8192cu -v 4.0.2.9000.20130911 Kernel preparation unnecessary for this kernel. Skipping... _______ I'll try to fix the third package myself. Once again, apology! _nobody_