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

afulnx fails to build on Ubuntu 18.04.5LTS 4.15.0-124-generic #3

Open
torehl opened this issue Nov 30, 2020 · 0 comments
Open

afulnx fails to build on Ubuntu 18.04.5LTS 4.15.0-124-generic #3

torehl opened this issue Nov 30, 2020 · 0 comments

Comments

@torehl
Copy link

torehl commented Nov 30, 2020

Hi,
fail to build on latest Ubuntu 18.04.5LTS. You fix?

root@lizhi:/Downloads/Supermicro/X9DRG-HF/Bios/3.3/X9DRGH8.719/afulnx-release/afulnx64# uname -ar
Linux lizhi 4.15.0-124-generic #127-Ubuntu SMP Fri Nov 6 10:54:43 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
root@lizhi:
/Downloads/Supermicro/X9DRG-HF/Bios/3.3/X9DRGH8.719/afulnx-release/afulnx64# ./afulnx_64 /MAKEDRV KERNEL=/lib/modules/4.15.0-124-generic/build

  • Program initializing ..
  • Make AFULNX driver .... In file included from /root/Downloads/Supermicro/X9DRG-HF/Bios/3.3/X9DRGH8.719/afulnx-release/afulnx64/.temp/amiwrap.c:17:0:
    ./arch/x86/include/asm/uaccess.h: In function ‘set_fs’:
    ./arch/x86/include/asm/uaccess.h:32:9: error: dereferencing pointer to incomplete type ‘struct task_struct’
    current->thread.addr_limit = fs;
    ^~
    make[2]: *** [/root/Downloads/Supermicro/X9DRG-HF/Bios/3.3/X9DRGH8.719/afulnx-release/afulnx64/.temp/amiwrap.o] Error 1
    make[1]: *** [module/root/Downloads/Supermicro/X9DRG-HF/Bios/3.3/X9DRGH8.719/afulnx-release/afulnx64/.temp] Error 2
    make: *** [default] Error 2
    fail
    10 - Error: Unable to load driver.
    root@lizhi:~/Downloads/Supermicro/X9DRG-HF/Bios/3.3/X9DRGH8.719/afulnx-release/afulnx64#

Brgds,
Tore

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

1 participant