Kernel modules and -fno-pic October 25, 2021 07:10PM |
Registered: 10 years ago Posts: 226 |
obj-m+=wx_lkm.o all: make -C /lib/modules/$(shell uname -r)/build/ M=$(PWD) modules clean: make -C /lib/modules/$(shell uname -r)/build/ M=$(PWD) cleanI had to change it to:
obj-m+=wx_lkm.o all: make -C /lib/modules/$(shell uname -r)/build/ EXTRA_CFLAGS=-fno-pic M=$(PWD) modules clean: make -C /lib/modules/$(shell uname -r)/build/ M=$(PWD) clean
Re: Kernel modules and -fno-pic October 25, 2021 07:39PM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: Kernel modules and -fno-pic October 25, 2021 07:52PM |
Registered: 10 years ago Posts: 226 |
Re: Kernel modules and -fno-pic October 26, 2021 03:14PM |
Registered: 10 years ago Posts: 226 |
Re: Kernel modules and -fno-pic October 26, 2021 04:35PM |
Admin Registered: 13 years ago Posts: 18,821 |