Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux kernel space software does not compile #16

Closed
nanortemis opened this issue Jan 4, 2019 · 1 comment
Closed

Linux kernel space software does not compile #16

nanortemis opened this issue Jan 4, 2019 · 1 comment

Comments

@nanortemis
Copy link

Hi,

I'm getting this error:

make -C /lib/modules/4.20.0-042000-generic/build M=/home/nanortemis/Tools/litex/litex/litepcie/litepcie/software/linux/kernel modules
make[1]: Entering directory '/usr/src/linux-headers-4.20.0-042000-generic'
  CC [M]  /home/nanortemis/Tools/litex/litex/litepcie/litepcie/software/linux/kernel/main.o
/home/nanortemis/Tools/litex/litex/litepcie/litepcie/software/linux/kernel/main.c: In function ‘litepcie_dma_wait’:
/home/nanortemis/Tools/litex/litex/litepcie/litepcie/software/linux/kernel/main.c:292:13: error: implicit declaration of function ‘signal_pending’; did you mean ‘timer_pending’? [-Werror=implicit-function-declaration]
         if (signal_pending(current)) {
             ^~~~~~~~~~~~~~
             timer_pending
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:292: /home/nanortemis/Tools/litex/litex/litepcie/litepcie/software/linux/kernel/main.o] Error 1
make[1]: *** [Makefile:1563: _module_/home/nanortemis/Tools/litex/litex/litepcie/litepcie/software/linux/kernel] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.20.0-042000-generic'
make: *** [Makefile:12: litepcie.ko] Error 2

a quick solution can be found here: diederikdehaas/rtl8812AU#75 (comment)

@enjoy-digital
Copy link
Owner

Thanks, i integrated the solution with 14acea3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants