Open feskolech opened 4 years ago
not sure I want to recommend some random dude's gcc build, what version was your distro
$ 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
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?
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