Arm Linux Kernel Hacks

포토로그 Kernel Crash

통계 위젯 (화이트)


fatal error: libelf.h: No such file or directory Linux Kernel Contribution

  HDRINST usr/include/asm/bpf_perf_event.h
  HDRINST usr/include/asm/sockios.h
  HDRINST usr/include/asm/termbits.h
  HDRINST usr/include/asm/socket.h
  HDRINST usr/include/asm/unistd_64.h
  DESCEND objtool
<stdin>:1:10: fatal error: libelf.h: No such file or directory
compilation terminated.
  HOSTCC  /home/austin/src/0523_kernel_src/out-w1_security_x86/tools/objtool/fixdep.o
  HOSTLD  /home/austin/src/0523_kernel_src/out-w1_security_x86/tools/objtool/fixdep-in.o
  LINK    /home/austin/src/0523_kernel_src/out-w1_security_x86/tools/objtool/fixdep
$ sudo apt-get install libelf-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 57.0 kB of archives.
After this operation, 382 kB of additional disk space will be used.
Get:1 focal/main amd64 libelf-dev amd64 0.176-1.1build1 [57.0 kB]
Fetched 57.0 kB in 1s (55.0 kB/s)     
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libelf-dev:amd64.
(Reading database ... 146236 files and directories currently installed.)
Preparing to unpack .../libelf-dev_0.176-1.1build1_amd64.deb ...
Unpacking libelf-dev:amd64 (0.176-1.1build1) ...
Setting up libelf-dev:amd64 (0.176-1.1build1) ...  


댓글 입력 영역