lwfinger / rtl8723bu

Driver for RTL8723BU
283 stars 143 forks source link

compile error: objdump: ... : file format not recognized #125

Open cypa opened 5 years ago

cypa commented 5 years ago
λ uname -a
Linux smart 4.19.11-arch1-1-ARCH #1 SMP PREEMPT Thu Dec 20 03:40:28 UTC 2018 x86_64 GNU/Linux

make.log

strange error appeared after arch linux update to 4.19.11-arch1-1-ARCH kernel, see make.log attached (in russian) error translates to

objdump: /var/lib/dkms/rtl8723bu/4.3.6.11_12942.20141204_BTCOEX20140507-4E40/build/core/.tmp_rtw_security.o: unable to initialize decompress status for section .debug_info objdump: /var/lib/dkms/rtl8723bu/4.3.6.11_12942.20141204_BTCOEX20140507-4E40/build/core/.tmp_rtw_security.o: unable to initialize decompress status for section .debug_info objdump: /var/lib/dkms/rtl8723bu/4.3.6.11_12942.20141204_BTCOEX20140507-4E40/build/core/.tmp_rtw_security.o: file format not recognized

and so on

cypa commented 5 years ago

installed elfutils but th error persists

nunq commented 5 years ago

I encountered the same issue when upgrading to 4.19.11-arch1-1-ARCH. Downgrading both elfutils and libelf to 0.174-1 (+ adding them to IgnorePkg) and then upgrading linux, linux-headers, etc. worked for me. After rebooting, the driver compiled just fine.

cypa commented 5 years ago

yes, that works, but what should we do next?

lwfinger commented 5 years ago

Complain to ARCH. They are the ones that screwed something up.

pseudotheist commented 4 years ago

So, I had a similar issue trying to install this drive in KaOS: Install script But I'm not sure how it would be an elfutils issue, since the driver installed fine on Ubuntu Disco Dingo, and it seems they both have elfutils version 176-1.

lwfinger commented 4 years ago

This is more likely to be a compiler problem. Do they have the same version of gcc?

pseudotheist commented 4 years ago

So far as I can tell, they seem to be the same version: Ubuntu: "Version: 4:8.3.0-1ubuntu3" KaOS: 8.3.0-1