acooks / tn40xx-driver

Linux driver for tn40xx from Tehuti Networks
73 stars 52 forks source link

driver doesn't compile at 5.4.x Kernel #26

Closed spooch99 closed 4 years ago

spooch99 commented 4 years ago

Hi, Ive tried to compile the Tehuti 40xx-drive for a newer 5.4.x-Kernel, but unfortunatly it didnt work. Ive attached the compiler log for seeing, what happened. It seems probably a compiler issue of a newer ggc. The System is an Ubuntu 18.04.4 64bit Server Installation.

Tfh! Oliver compile-log.txt

acooks commented 4 years ago

The error log shows that the (ubuntu provided) compiler is unhappy about the (ubuntu provided) kernel headers. It looks like this system is not able to compile any kernel modules at all.

acooks commented 4 years ago

@spooch99 if there's anything more to add to this issue, please reopen.

spooch99 commented 4 years ago

Hi Andrew,

sorry for my late reply! The code now compiles without problems (Ubuntu 20.04 and Kernel 5.8.5).

Regards, Oliver

On 19.02.20 11:51, Andrew Cooks wrote:

The error log shows that the (ubuntu provided) compiler is unhappy about the (ubuntu provided) kernel headers. It looks like this system is not able to compile any kernel modules at all.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/acooks/tn40xx-driver/issues/26?email_source=notifications&email_token=AK72GIWFWZASR63QP55E44DRDUFKLA5CNFSM4KXCLOBKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMHJRQY#issuecomment-588159171, or unsubscribe https://github.com/notifications/unsubscribe-auth/AK72GIXICLU37NL2ZJDW4E3RDUFKLANCNFSM4KXCLOBA.