Rin Cat (鈴猫)
Rin Cat (鈴猫)
There is no such files, just copy the output after run `make`.
There is no log file when you manual `make`. So that is the correct logs. From the logs I think there is something wrong with your compilation environment. You should...
`-g -gdwarf-4 -pg -mrecord-mcount` Your system gcc enabled debug and profile information, which usually not enabled. Try edit file `Makefile` and remove line `EXTRA_LDFLAGS += --strip-debug`
Try add `EXTRA_CFLAGS += -mfentry` at the top of `Makefile`
I do recommended you to fix your local environment, as it could cause the same issue if you compile other software.
> > I do recommended you to fix your local environment, as it could cause the same issue if you compile other software. > > Thank you for the advise....
`-mfentry` use a new mechanism to do profiling counter, which override `mcount`. So your gcc will not enable `-mrecord-mcount`. It not a fix but a workaround.
remove `/usr/src/rtl88x2bu-git` and redo it again.
DKMS do not update the driver, so you have to it every time this repo updated.
You can try `dkms uninstall rtl88x2bu --all`, but if kernel and header mismatched I cannot do much.