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

additional information for debian/ubuntu/linux mint users #6

Open
feskolech opened this issue Mar 3, 2020 · 3 comments
Open

additional information for debian/ubuntu/linux mint users #6

feskolech opened this issue Mar 3, 2020 · 3 comments

Comments

@feskolech
Copy link

feskolech commented Mar 3, 2020

linux mint 19.3
kernel 5.5.7-050507-generic
./arch/x86/include/asm/page_64.h: In function ‘clear_page’: ././include/linux/compiler_types.h:210:24: error: expected ‘(’ before ‘__inline’ #define asm_inline asm __inline
it worked after this:
sudo add-apt-repository ppa:jonathonf/gcc-9.0
sudo apt update
sudo apt install gcc-9
sudo apt install g++-9
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 60 --slave /usr/bin/g++ g++ /usr/bin/g++-9

Add it to system requirements pls

@LWSS
Copy link
Owner

LWSS commented Mar 3, 2020

not sure I want to recommend some random dude's gcc build, what version was your distro

@feskolech
Copy link
Author

feskolech commented Mar 5, 2020

$ cat /etc/os-release
NAME="Linux Mint"
VERSION="19.3 (Tricia)"
ID=linuxmint
ID_LIKE=ubuntu
PRETTY_NAME="Linux Mint 19.3"
VERSION_ID="19.3"

$ uname -r
5.5.8-050508-generic

there's no gcc/g++ 9.0 in ubuntu 18.04, maybe in 18.10 repos too

@telans telans mentioned this issue Apr 16, 2020
@daxx-linux
Copy link

hi, thank you for your effort.
I have a question about how to read or print the memory maps of a task_struct directly in linux kernel.
Is anyone konw how to do it?

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

Successfully merging a pull request may close this issue.

3 participants