Hi all,
Did anybody get perf tool to build? it fails to find libelf.h.. What am I doing wrong?
Thanks for your quick response<85> Below the steps I have been using.
Look forward to your help on this issue..
Thanks
Suresh
$ cd ~
$ git clone http://git.rocketboards.org/poky-socfpga.git
$ cd poky-socfpga/
$ git checkout -b <test_branch> ACDS14.0_REL_GSRD_PR
$ source ./altera-init build
$ bitbake perf
Note: replace <test_branch> with the name of the branch you want to use locally.
This fails with
====================================================
[snagarajan@moltar-76 perf]$ alias armmake=’make CROSS_COMPILE=arm-linux-gnueabihf- ARCH=arm’
[snagarajan@moltar-76 perf]$ PATH=~/gcc-linaro-arm-linux-gnueabihf-4.9-2014.07_linux/bin:$PATH
[snagarajan@moltar-76 perf]$ armmake install
BUILD: Doing ‘make -j4’ parallel build
Auto-detecting system features:
… backtrace: [ on ]
… dwarf: [ on ]
… fortify-source: [ on ]
… glibc: [ on ]
… gtk2: [ OFF ]
… gtk2-infobar: [ OFF ]
… libaudit: [ on ]
… libbfd: [ on ]
… libelf: [ on ]
… libelf-getphdrnum: [ on ]
… libelf-mmap: [ on ]
… libnuma: [ OFF ]
… libperl: [ on ]
… libpython: [ on ]
… libpython-version: [ on ]
… libslang: [ OFF ]
… libunwind: [ OFF ]
… on-exit: [ on ]
… stackprotector: [ on ]
… stackprotector-all: [ on ]
… timerfd: [ on ]
config/Makefile:329: No libunwind found, disabling post unwind support. Please install libunwind-dev[el] >= 1.1
config/Makefile:368: slang not found, disables TUI support. Please install slang-devel or libslang-dev
config/Makefile:381: GTK2 not found, disables GTK2 support. Please install gtk2-devel or libgtk2.0-dev
config/Makefile:536: No numa.h found, disables ‘perf bench numa mem’ benchmark, please install numa-libs-devel or libnuma-dev
FLEX util/pmu-flex.c
CC util/environment.o
CC util/event.o
CC util/evlist.o
In file included from util/callchain.h:8:0,
from util/hist.h:6,
from util/evsel.h:11,
from util/evlist.h:8,
from util/evlist.c:15:
util/symbol.h:17:20: fatal error: libelf.h: No such file or directory
# include <libelf.h>
^
compilation terminated.
make[1]: *** [util/evlist.o] Error 1
make[1]: *** Waiting for unfinished jobs….
Not sure what happened here. I’m trying to upgrade my Linux kernel from 4.9.x to 4.14.x and the below happened:
In file included from arch/x86/decode.c:26:0:
arch/x86/../../elf.h:22:18: fatal error: gelf.h: No such file or directory
#include <gelf.h>
^
compilation terminated.
mv: cannot stat ‘/usr/src/linux-4.14.51/tools/objtool/arch/x86/.decode.o.tmp’: No such file or directory
make[4]: *** [/usr/src/linux-4.14.51/tools/objtool/arch/x86/decode.o] Error 1
make[3]: *** [arch/x86] Error 2
make[2]: *** [/usr/src/linux-4.14.51/tools/objtool/objtool-in.o] Error 2
make[1]: *** [objtool] Error 2
make: *** [tools/objtool] Error 2
Any ideas what happened here (other than the obvious)? Should «gelf.h» already be on my computer? Or in the kernel tarball?
I downloaded vanilla 4.14.51 from kernel.org — I’ve compiled my own (unmodified) vanilla kernel successfully, repeatedly, for 14 years now, but this is new.
My PC is a Dell laptop with Core2 i5 (64-bit) with Slackware 14.1 — I upgraded the stock 3.17.x with 4.4.x several years ago, and more recently to 4.9.x (currently 4.9.109).
I do have libelf installed:
me@mylaptop:~$ locate gelf.h
/usr/include/libelf/gelf.h
me@mylaptop:~$ ls /var/log/packages/*elf*
/var/log/packages/libelf-0.8.13-x86_64-2
ADDENDUM
When trying 4.14.55 last night, I noted that the directory in which the kernel build script expects to see «gelf.h» is in the kernel source tree, not the regular /usr/include.
That being said, the corresponding directory in my (running) 4.9.x source tree does not have any .o nor .ko files. Obviously there’s a config item enabled in 4.14.x that I don’t have enabled in 4.9.x.
I’ve tried configuring 4.14.x as close to my working 4.9.x as possible; I am aware of some new options, but generally I try to keep the configurations the same between intermediate kernel versions.
That being said, I don’t know what config option it is that would want to see the header files in linux-4.14.*/tools/objtool/arch/x86/… Any ideas?
- All
- Module.000: Linux System Administration
-
Error: «Cannot use CONFIG_STACK_VALIDATION»
Solution: please install libelf-dev or libelf-devel or elfutils-libelf-devel -
include/classmap.h
ERROR:
During compilation it asks to update this file
-
Hi Sir,
We have install linux version 5.6.6-300.fc32.x86_64 and make in /usr/src/kernels/5.6.6-300.fc32.x86_6##4
Issue :
In file included from scripts/sorttable.c:191:
scripts/sorttable.h:89:10: fatal error: asm/orc_types.h: No such file or directory
89 | #include <asm/orc_types.h>
| ^~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [scripts/Makefile.host:103: scripts/sorttable] Error 1
make: *** [Makefile:1155: scripts] Error 2
-
Hi Sir,
«make modules_install» successfully install.
after that trying to run «make install» cmd. its showing below error.
root@saurabh-s145:/usr/src/linux-5.5.8# make install
sh ./arch/x86/boot/install.sh 5.5.8 arch/x86/boot/bzImage
System.map «/boot»
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 5.5.8 /boot/vmlinuz-5.5.8
run-parts: executing /etc/kernel/postinst.d/dkms 5.5.8 /boot/vmlinuz-5.5.8
* dkms: running auto installation service for kernel 5.5.8
Kernel preparation unnecessary for this kernel. Skipping…Building module:
cleaning build area…
‘make’ -j4 KVER=5.5.8…(bad exit status: 2)
ERROR (dkms apport): binary package for rtl8821ce: v5.5.2_34066.20190614 not found
Error! Bad return status for module build on kernel: 5.5.8 (x86_64)
Consult /var/lib/dkms/rtl8821ce/v5.5.2_34066.20190614/build/make.log for more information.
[ OK ]
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 5.5.8 /boot/vmlinuz-5.5.8
update-initramfs: Generating /boot/initrd.img-5.5.8
run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 5.5.8 /boot/vmlinuz-5.5.8
run-parts: executing /etc/kernel/postinst.d/update-notifier 5.5.8 /boot/vmlinuz-5.5.8
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 5.5.8 /boot/vmlinuz-5.5.8
Sourcing file `/etc/default/grub’
Generating grub configuration file …
Found linux image: /boot/vmlinuz-5.5.8
Found initrd image: /boot/initrd.img-5.5.8
Found linux image: /boot/vmlinuz-5.4.0-48-generic
Found initrd image: /boot/initrd.img-5.4.0-48-generic
Found linux image: /boot/vmlinuz-5.4.0-47-generic
Found initrd image: /boot/initrd.img-5.4.0-47-generic
Found Windows Boot Manager on /dev/nvme0n1p1@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for EFI firmware configuration
done
root@saurabh-s145:/usr/src/linux-5.5.8# -
Hi Sir,
the log file is at this path «/var/lib/dkms/rtl8821ce/v5.5.2_34066.20190614/build/make.log».
DKMS make.log for rtl8821ce-v5.5.2_34066.20190614 for kernel 5.5.8 (x86_64)
Mon Nov 23 11:53:51 IST 2020
/bin/sh: 1: -dumpversion: not found
(standard_in) 1: syntax error
make[2]: *** No targets. Stop. -
Hi Sir,
After Installing new kernel name 5.8.11 in loc /usr/src/kernels/linux5.8.11
After reboot, We have notification regarding low disk space
**Message
Low Disk Space on «Filesystem root»
the volume «Filesystem root» has only 0 byte disk space remaing
**
This message ignore or examine?
How to expend space & resolve issue?
system space as below
[root@localhost ~]# df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 3.8G 0 3.8G 0% /dev
tmpfs 3.8G 51M 3.8G 2% /dev/shm
tmpfs 3.8G 2.3M 3.8G 1% /run
/dev/sda13 48G 47G 0 100% /
tmpfs 3.8G 56K 3.8G 1% /tmp
/dev/sda14 48G 53M 46G 1% /usr/local
/dev/sda12 1.9G 253M 1.6G 14% /boot
/dev/sda15 39G 18G 19G 49% /home
/dev/sda19 4.8G 318M 4.2G 7% /opt
/dev/sda17 9.6G 5.7G 3.4G 63% /var
/dev/sda18 4.8G 20M 4.5G 1% /temp
/dev/sda11 999M 21M 978M 3% /boot/efi
tmpfs 773M 16K 773M 1% /run/user/42
tmpfs 773M 84K 773M 1% /run/user/1000 -
Hi Sir,
while building the kernel i tried to run «make » command below error has been occurred.
[root@localhost linux-5.5.8]# make
scripts/kconfig/conf —syncconfig Kconfig
CALL scripts/checksyscalls.sh
CALL scripts/atomic/check-atomics.sh
DESCEND objtool
CHK include/generated/compile.h
CHK kernel/kheaders_data.tar.xz
TEST posttest
arch/x86/tools/insn_decoder_test: success: Decoded and checked 5970571 instructions
TEST posttest
arch/x86/tools/insn_sanity: Success: decoded and checked 1000000 random instructions with 0 errors (seed:0xf6a93)
LD arch/x86/boot/compressed/vmlinux
ld: arch/x86/boot/compressed/pgtable_64.o:(.bss+0x0): multiple definition of `__force_order’; arch/x86/boot/compressed/kaslr_64.o:(.bss+0x0): first defined here
make[2]: *** [arch/x86/boot/compressed/Makefile:119: arch/x86/boot/compressed/vmlinux] Error 1
make[1]: *** [arch/x86/boot/Makefile:113: arch/x86/boot/compressed/vmlinux] Error 2
make: *** [arch/x86/Makefile:283: bzImage] Error 2
-
hello sir,
I have installed linux-4.19.159
I had followed the documents and the commands run successfull upto » make module_install «.
when i am going to run » make install » command it shows the below error :
sh ./arch/x86/boot/install.sh 4.19.159 arch/x86/boot/bzImage
System.map «/boot»
Cannot find LILO.
-
Hello sir,
I have complied kernel 5.10.8 successfully.
Module_install is successful.
BUt during make install I am facing below issue:
I tried installing kernel 5.10.8
sh ./arch/x86/boot/install.sh 5.10.8 arch/x86/boot/bzImage
System.map «/boot»
Cannot find LILO.
Kindly help me with it.
-
I think it caused by your configuration imported from system.
You should disable your secure boot.
and redo your kernel installation process again from start.
It may good if install your fedora again and then you build your kernal again.
-
What is System.map, how does it work?
-
Solution to: https://www.emblogic.com/forum/discussion/comment/2856#Comment_2856
sh ./arch/x86/boot/install.sh 5.10.8 arch/x86/boot/bzImage
System.map «/boot»
Cannot find LILO.
Solution:
1-> dnf install grubby
2-> grubby —update-kernel=ALL
3-> cd /boot/grub2
4-> grub2-editenv grubenv create
5-> grub2-editenv grubenv set default=0
6-> grub2-editenv grubenv list
then make install and proceed with further procedure(do not reboot before completing further procedure).
-
when I am doing make command getting this error
root@fedora linux-5.10.8]# make
SYNC include/config/auto.conf.cmd
LEX scripts/kconfig/lexer.lex.c
/bin/sh: line 1: flex: command not found
make[2]: *** [scripts/Makefile.host:9: scripts/kconfig/lexer.lex.c] Error 127
make[1]: *** [Makefile:602: syncconfig] Error 2
Makefile:688: include/config/auto.conf.cmd: No such file or directory
make: *** [Makefile:710: include/config/auto.conf.cmd] Error 2 -
<stdin>:1:10: fatal error: libelf.h: No such file or directory
compilation terminated.
————————-
Solution:
yum install elfutils-libelf-devel
-
openssl command not found
————————-
Solution:
dnf install openssl
-
Issue:
TF: .tmp_vmlinux.btf: pahole (pahole) is not available
Failed to generate BTF for vmlinux
Try to disable CONFIG_DEBUG_INFO_BTF
make: *** [Makefile:1106: vmlinux] Error 1-------------------------Solution:dnf install dwarves -
Issue:
zstd command not found
Solution:
dnf install zstd
-
Issue:
zstd command not found
debian apt-get install zstd
Ubuntu apt-get install zstd
Alpine apk add zstd
Arch Linux pacman -S zstd
Kali Linux apt-get install zstd
Fedora dnf install zstd
OS X brew install zstd
Raspbian apt-get install zstd
Docker docker run cmd.cat/zstd zstd
-
Issue:
update-initramfs command not found or not working
Solution:
——————-
In Fedora, run the command
dracut -f /boot/initramfs-currentimage
where initramfs-currentimage is replaced with the name of the image you are currently using.
-
ISSUE:
/bin/sh: line 1: flex: command not found
make[1]: *** [scripts/Makefile.host:9: scripts/kconfig/lexer.lex.c] Error 127
make: *** [Makefile:619: menuconfig] Error 2
Solution:
on Fedora: dnf install flex
on Ubuntu: sudo apt install flex
-
Issue: # make menuconfig
LEX scripts/kconfig/lexer.lex.c
YACC scripts/kconfig/parser.tab.[ch]
/bin/sh: line 1: bison: command not found
make[1]: *** [scripts/Makefile.host:17: scripts/kconfig/parser.tab.h] Error 127
make: *** [Makefile:619: menuconfig] Error 2
Solution:
fedora: dnf install bison
ubuntu:
sudo -i
apt-get update
apt-get dist-upgrade
apt-get install flex bison
apt-get clean
-
Issue:
fatal error: openssl/opensslv.h: No such file or directory
25 | #include <openssl/opensslv.h>
Solution:
To install OpenSSL development package on Debian, Ubuntu or their derivatives:
sudo apt-get install libssl-dev
To install OpenSSL development package on Fedora, CentOS or RHEL:
sudo yum install openssl-devel
or
dnf install openssl-devel
-
Issue:
fatal error: gelf.h: No such file or directory
Solution:
The missing development library file is with the name: elfutils-libelf-devel.
Installing the package with yum or dnf will resolve the above error:
yum install -y elfutils-libelf-devel
Or
for CentOS 8 and newer Fedora versions:
dnf install -y elfutils-libelf-devel
-
when I am doing make menuconfig command getting
this error
[root@localhost linux-5.16.8]# make menuconfig
*
* Unable to find the ncurses package.
* Install ncurses (ncurses-devel or libncurses-dev
* depending on your distribution).
*
* You may also need to install pkg-config to find the
* ncurses installed in a non-default location.
*
make[1]: *** [scripts/kconfig/Makefile:211: scripts/kconfig/mconf-cfg] Error 1
make: *** [Makefile:619: menuconfig] Error 2
Solution: dnf install ncurses-devel
dnf install pkg-config
-
[root@localhost linux-5.16.8]# make bzImage
scripts/sign-file.c:25:10: fatal error: openssl/opensslv.h: No such file or directory
25 | #include <openssl/opensslv.h>
| ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [scripts/Makefile.host:95: scripts/sign-file] Error 1
make: *** [Makefile:1181: scripts] Error 2
Solution: dnf install openssl-devel
dnf install elfutils-libelf-devel
-
<stdin>:1:10: fatal error: libelf.h: No such file or directory
compilation terminated.
HOSTCC /usr/src/kernels/linux-5.16.8/tools/objtool/fixdep.o
HOSTLD /usr/src/kernels/linux-5.16.8/tools/objtool/fixdep-in.o
LINK /usr/src/kernels/linux-5.16.8/tools/objtool/fixdep
CC /usr/src/kernels/linux-5.16.8/tools/objtool/exec-cmd.o
CC /usr/src/kernels/linux-5.16.8/tools/objtool/help.o
CC /usr/src/kernels/linux-5.16.8/tools/objtool/pager.o
CC /usr/src/kernels/linux-5.16.8/tools/objtool/parse-options.o
CC /usr/src/kernels/linux-5.16.8/tools/objtool/run-command.o
CC /usr/src/kernels/linux-5.16.8/tools/objtool/sigchain.o
CC /usr/src/kernels/linux-5.16.8/tools/objtool/subcmd-config.o
LD /usr/src/kernels/linux-5.16.8/tools/objtool/libsubcmd-in.o
AR /usr/src/kernels/linux-5.16.8/tools/objtool/libsubcmd.a
CC /usr/src/kernels/linux-5.16.8/tools/objtool/arch/x86/special.o
In file included from /usr/src/kernels/linux-5.16.8/tools/objtool/include/objtool/objtool.h:13,
from /usr/src/kernels/linux-5.16.8/tools/objtool/include/objtool/arch.h:11,
from /usr/src/kernels/linux-5.16.8/tools/objtool/include/objtool/check.h:11,
from /usr/src/kernels/linux-5.16.8/tools/objtool/include/objtool/special.h:10,
from arch/x86/special.c:4:
/usr/src/kernels/linux-5.16.8/tools/objtool/include/objtool/elf.h:10:10: fatal error: gelf.h: No such file or directory
10 | #include <gelf.h> -
make: *** [Makefile:1846: usr] Error 2
[root@localhost linux-5.16.8]# make
CALL scripts/checksyscalls.sh
CALL scripts/atomic/check-atomics.sh
CHK include/generated/compile.h
GEN usr/initramfs_data.cpio
usr/gen_initramfs.sh: Cannot open ‘y’
make[1]: *** [usr/Makefile:80: usr/initramfs_data.cpio] Error 1
make: *** [Makefile:1846: usr] Error 2
Solution: CONFIG_INITRAMFS_SOURCE=«y» replace with CONFIG_INITRAMFS_SOURCE=«»
-
openssl command not found
Solution:
Try
dnf install openssl
if this also does not work and you get the same error then
locate openssl
(this will give you the path at which he openssl is found)
(Add this path to PATH environment Variable)
PATH=$PATH:openssl-path
[Note: Do not chang the tab]
-
when I am doing make command getting this error……
[root@fedora 008.Device_Driver]# make
make -C /lib/modules/5.16.8/build M=/home/uttkarsh/008.Device_Driver modules
make[1]: Entering directory ‘/usr/src/kernels/linux-5.16.8’
CC [M] /home/uttkarsh/008.Device_Driver/cleanupDev.o
LD [M] /home/uttkarsh/008.Device_Driver/mycdd.o
MODPOST /home/uttkarsh/008.Device_Driver/Module.symvers
ERROR: modpost: missing MODULE_LICENSE() in /home/uttkarsh/008.Device_Driver/mycdd.o
make[2]: *** [scripts/Makefile.modpost:134: /home/uttkarsh/008.Device_Driver/Module.symvers] Error 1
make[2]: *** Deleting file ‘/home/uttkarsh/008.Device_Driver/Module.symvers’
make[1]: *** [Makefile:1761: modules] Error 2
make[1]: Leaving directory ‘/usr/src/kernels/linux-5.16.8’
make: *** [Makefile:11: default] Error 2
-
[root@localhost linux-5.16.8]# dnf install dwarves
Last metadata expiration check: 0:21:41 ago on Friday 06 May 2022 10:45:19 PM.
Package dwarves-1.21-1.fc33.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
[root@localhost linux-5.16.8]# make
CALL scripts/checksyscalls.sh
CALL scripts/atomic/check-atomics.sh
DESCEND objtool
DESCEND bpf/resolve_btfids
CHK include/generated/compile.h
CHK kernel/kheaders_data.tar.xz
GEN .version
CHK include/generated/compile.h
UPD include/generated/compile.h
CC init/version.o
AR init/built-in.a
LD vmlinux.o
MODPOST vmlinux.symvers
MODINFO modules.builtin.modinfo
GEN modules.builtin
LD .tmp_vmlinux.btf
BTF .btf.vmlinux.bin.o
scripts/link-vmlinux.sh: line 206: 588590 Killed LLVM_OBJCOPY=»${OBJCOPY}» ${PAHOLE} -J ${PAHOLE_FLAGS} ${1}
LD .tmp_vmlinux.kallsyms1
KSYMS .tmp_vmlinux.kallsyms1.S
AS .tmp_vmlinux.kallsyms1.S
LD .tmp_vmlinux.kallsyms2
KSYMS .tmp_vmlinux.kallsyms2.S
AS .tmp_vmlinux.kallsyms2.S
LD vmlinux
BTFIDS vmlinux
FAILED: load BTF from vmlinux: No such file or directory
make: *** [Makefile:1161: vmlinux] Error 255
make: *** Deleting file ‘vmlinux’ -
[root@localhost linux-5.16.8]# make
CALL scripts/checksyscalls.sh
CALL scripts/atomic/check-atomics.sh
CHK include/generated/compile.h
-
Issue: [root@fedora linux-6.0]# make menuconfig
*
* Unable to find the ncurses package.
* Install ncurses (ncurses-devel or libncurses-dev
* depending on your distribution).
*
* You may also need to install pkg-config to find the
* ncurses installed in a non-default location.
*
make[1]: *** [scripts/kconfig/Makefile:212: scripts/kconfig/mconf-cfg] Error 1
make: *** [Makefile:632: menuconfig] Error 2
-
root@fedora linux-6.0]# make menuconfig
LEX scripts/kconfig/lexer.lex.c
/bin/sh: line 1: flex: command not found
make[1]: *** [scripts/Makefile.host:9: scripts/kconfig/lexer.lex.c] Error 127
make: *** [Makefile:632: menuconfig] Error 2
[root@fedora linux-6.0]# -
root@fedora linux-6.0]# make menuconfig
YACC scripts/kconfig/parser.tab.[ch]
/bin/sh: line 1: bison: command not found
make[1]: *** [scripts/Makefile.host:17: scripts/kconfig/parser.tab.h] Error 127
make: *** [Makefile:632: menuconfig] Error 2
[root@fedora linux-6.0]# -
HDRINST usr/include/asm/resource.h
HDRINST usr/include/asm/socket.h
HDRINST usr/include/asm/sockios.h
HDRINST usr/include/asm/termbits.h
HDRINST usr/include/asm/termios.h
HDRINST usr/include/asm/types.h
DESCEND objtool
<stdin>:1:10: fatal error: libelf.h: No such file or directory
compilation terminated.
HOSTCC /usr/src/kernels/linux-6.0/tools/objtool/fixdep.o
HOSTLD /usr/src/kernels/linux-6.0/tools/objtool/fixdep-in.o
LINK /usr/src/kernels/linux-6.0/tools/objtool/fixdep
CC /usr/src/kernels/linux-6.0/tools/objtool/exec-cmd.o
CC /usr/src/kernels/linux-6.0/tools/objtool/help.o
CC /usr/src/kernels/linux-6.0/tools/objtool/pager.o
CC /usr/src/kernels/linux-6.0/tools/objtool/parse-options.o
CC /usr/src/kernels/linux-6.0/tools/objtool/run-command.o
CC /usr/src/kernels/linux-6.0/tools/objtool/sigchain.o
CC /usr/src/kernels/linux-6.0/tools/objtool/subcmd-config.o
LD /usr/src/kernels/linux-6.0/tools/objtool/libsubcmd-in.o
AR /usr/src/kernels/linux-6.0/tools/objtool/libsubcmd.a
CC /usr/src/kernels/linux-6.0/tools/objtool/arch/x86/special.o
In file included from /usr/src/kernels/linux-6.0/tools/objtool/include/objtool/objtool.h:13,
from /usr/src/kernels/linux-6.0/tools/objtool/include/objtool/arch.h:11,
from /usr/src/kernels/linux-6.0/tools/objtool/include/objtool/check.h:11,
from /usr/src/kernels/linux-6.0/tools/objtool/include/objtool/special.h:10,
from arch/x86/special.c:4:
/usr/src/kernels/linux-6.0/tools/objtool/include/objtool/elf.h:10:10: fatal error: gelf.h: No such file or directory
10 | #include <gelf.h>
| ^~~~~~~~
compilation terminated.
make[4]: *** [/usr/src/kernels/linux-6.0/tools/build/Makefile.build:97: /usr/src/kernels/linux-6.0/tools/objtool/arch/x86/special.o] Error 1
make[3]: *** [/usr/src/kernels/linux-6.0/tools/build/Makefile.build:139: arch/x86] Error 2
make[2]: *** [Makefile:54: /usr/src/kernels/linux-6.0/tools/objtool/objtool-in.o] Error 2
make[1]: *** [Makefile:73: objtool] Error 2
make: *** [Makefile:1348: tools/objtool] Error 2
[root@fedora linux-6.0]#
Howdy, Stranger!
It looks like you’re new here. If you want to get involved, click one of these buttons!
Categories
- All Discussions0
- Module.101: Advanced Data Structures using C17
- Module.303: Linux System Programming32
- Project 22. Ethernet Network Device Driver Development0
- Project.14. Linux System and Network Administration0
- Project.10. Embedded Linux ARM, Configuring and Porting using Storage0
- Project.203 Linux System Programming. MySQL0
- Pravjot Sir Classes128
- Events at EmbLogic2
- Query509
- Module.000: Linux System Administration24
- Project.001: C Programming, Data Structures78
- Project.002: OOPs, C++, Eclipse, Linux22
- Project.003: Linux System Programming34
- Project.004: Linux Network Programming8
- Project.005: Character Device Drivers Development21
- Project.105: Parallel Port Device Drivers Development5
- Project.205: Serial Port Device Drivers Development3
- Project.008: Block Device Driver Development3
- Project.009: Embedded Linux-ARM. Storage7
- Module.011: Shell Scripting using Bash6
- Project 12: Linux Kernel Architecture and Internals2
- Project.015: Python with Eclipse on Linux27
- Project 16: SPI Device Driver Development2
- Project 17: I2C Device Driver Development0
- Project 18: PCI Device Driver Development0
- Project 19: Embedded Linux on ARM Using Network TFTP0
- Project 20: CAN Bus Protocol and Driver Development0
- Project 21: USB Device Drivers Development0
- Embedded Linux0
- ARM Embedded Processor0
- Training2
- Members Area1
- Word From Admin1
- Forum
- The Ubuntu Forum Community
- Ubuntu Official Flavours Support
- Installation & Upgrades
- [ubuntu] Problem building gcc 4.5.2 on Ubuntu 10.10?
-
Problem building gcc 4.5.2 on Ubuntu 10.10?
I followed the instructions from GNU
http://gcc.gnu.org/install/prerequisites.html
I then run:
And this step failed. This is my config.log:Code:
This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.64. Invocation command line was $ ./configure ## --------- ## ## Platform. ## ## --------- ## hostname = chan-PC uname -m = i686 uname -r = 2.6.35-24-generic uname -s = Linux uname -v = #42-Ubuntu SMP Thu Dec 2 01:41:57 UTC 2010 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin PATH: /usr/games ## ----------- ## ## Core tests. ## ## ----------- ## configure:2429: checking build system type configure:2443: result: i686-pc-linux-gnu configure:2490: checking host system type configure:2503: result: i686-pc-linux-gnu configure:2523: checking target system type configure:2536: result: i686-pc-linux-gnu configure:2590: checking for a BSD-compatible install configure:2658: result: /usr/bin/install -c configure:2669: checking whether ln works configure:2691: result: yes configure:2695: checking whether ln -s works configure:2699: result: yes configure:2706: checking for a sed that does not truncate output configure:2770: result: /bin/sed configure:2779: checking for gawk configure:2809: result: no configure:2779: checking for mawk configure:2795: found /usr/bin/mawk configure:2806: result: mawk configure:4039: checking for gcc configure:4055: found /usr/bin/gcc configure:4066: result: gcc configure:4295: checking for C compiler version configure:4304: gcc --version >&5 gcc (Ubuntu/Linaro 4.4.4-14ubuntu5) 4.4.5 Copyright (C) 2010 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:4315: $? = 0 configure:4304: gcc -v >&5 Using built-in specs. Target: i686-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.4.4-14ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.4 --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=i686-linux-gnu --host=i686-linux-gnu --target=i686-linux-gnu Thread model: posix gcc version 4.4.5 (Ubuntu/Linaro 4.4.4-14ubuntu5) configure:4315: $? = 0 configure:4304: gcc -V >&5 gcc: '-V' option must have argument configure:4315: $? = 1 configure:4304: gcc -qversion >&5 gcc: unrecognized option '-qversion' gcc: no input files configure:4315: $? = 1 configure:4335: checking for C compiler default output file name configure:4357: gcc conftest.c >&5 configure:4361: $? = 0 configure:4398: result: a.out configure:4414: checking whether the C compiler works configure:4423: ./a.out configure:4427: $? = 0 configure:4442: result: yes configure:4449: checking whether we are cross compiling configure:4451: result: no configure:4454: checking for suffix of executables configure:4461: gcc -o conftest conftest.c >&5 configure:4465: $? = 0 configure:4487: result: configure:4493: checking for suffix of object files configure:4515: gcc -c conftest.c >&5 configure:4519: $? = 0 configure:4540: result: o configure:4544: checking whether we are using the GNU C compiler configure:4563: gcc -c conftest.c >&5 configure:4563: $? = 0 configure:4572: result: yes configure:4581: checking whether gcc accepts -g configure:4601: gcc -c -g conftest.c >&5 configure:4601: $? = 0 configure:4642: result: yes configure:4659: checking for gcc option to accept ISO C89 configure:4723: gcc -c -g -O2 conftest.c >&5 configure:4723: $? = 0 configure:4736: result: none needed configure:4814: checking for g++ configure:4830: found /usr/bin/g++ configure:4841: result: g++ configure:4868: checking for C++ compiler version configure:4877: g++ --version >&5 g++ (Ubuntu/Linaro 4.4.4-14ubuntu5) 4.4.5 Copyright (C) 2010 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:4888: $? = 0 configure:4877: g++ -v >&5 Using built-in specs. Target: i686-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.4.4-14ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.4 --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=i686-linux-gnu --host=i686-linux-gnu --target=i686-linux-gnu Thread model: posix gcc version 4.4.5 (Ubuntu/Linaro 4.4.4-14ubuntu5) configure:4888: $? = 0 configure:4877: g++ -V >&5 g++: '-V' option must have argument configure:4888: $? = 1 configure:4877: g++ -qversion >&5 g++: unrecognized option '-qversion' g++: no input files configure:4888: $? = 1 configure:4892: checking whether we are using the GNU C++ compiler configure:4911: g++ -c conftest.cpp >&5 configure:4911: $? = 0 configure:4920: result: yes configure:4929: checking whether g++ accepts -g configure:4949: g++ -c -g conftest.cpp >&5 configure:4949: $? = 0 configure:4990: result: yes configure:5079: checking for gnatbind configure:5095: found /usr/bin/gnatbind configure:5106: result: gnatbind configure:5171: checking for gnatmake configure:5187: found /usr/bin/gnatmake configure:5198: result: gnatmake configure:5220: checking whether compiler driver understands Ada configure:5243: result: yes configure:5252: checking how to compare bootstrapped objects configure:5277: result: cmp --ignore-initial=16 $$f1 $$f2 configure:5293: checking for objdir configure:5308: result: .libs configure:5474: checking for the correct version of gmp.h configure:5494: gcc -c -g -O2 conftest.c >&5 configure:5494: $? = 0 configure:5512: gcc -c -g -O2 conftest.c >&5 configure:5512: $? = 0 configure:5513: result: yes configure:5529: checking for the correct version of mpfr.h configure:5547: gcc -c -g -O2 conftest.c >&5 configure:5547: $? = 0 configure:5564: gcc -c -g -O2 conftest.c >&5 configure:5564: $? = 0 configure:5565: result: yes configure:5582: checking for the correct version of mpc.h configure:5599: gcc -c -g -O2 conftest.c >&5 configure:5599: $? = 0 configure:5615: gcc -c -g -O2 conftest.c >&5 configure:5615: $? = 0 configure:5616: result: yes configure:5634: checking for the correct version of the gmp/mpfr/mpc libraries configure:5665: gcc -o conftest -g -O2 conftest.c -lmpc -lmpfr -lgmp >&5 configure:5665: $? = 0 configure:5666: result: yes configure:5841: checking for version 0.10 of PPL configure:5858: gcc -c -g -O2 conftest.c >&5 configure:5858: $? = 0 configure:5859: result: yes configure:5936: checking for version 0.15.5 (or later revision) of CLooG configure:5953: gcc -c -g -O2 -DCLOOG_PPL_BACKEND conftest.c >&5 configure:5953: $? = 0 configure:5969: gcc -c -g -O2 -DCLOOG_PPL_BACKEND conftest.c >&5 configure:5969: $? = 0 configure:5970: result: yes configure:6004: checking how to run the C preprocessor configure:6035: gcc -E conftest.c configure:6035: $? = 0 configure:6049: gcc -E conftest.c conftest.c:10: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. configure:6049: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:6074: result: gcc -E configure:6094: gcc -E conftest.c configure:6094: $? = 0 configure:6108: gcc -E conftest.c conftest.c:10: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. configure:6108: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:6137: checking for grep that handles long lines and -e configure:6195: result: /bin/grep configure:6200: checking for egrep configure:6262: result: /bin/grep -E configure:6267: checking for ANSI C header files configure:6287: gcc -c -g -O2 conftest.c >&5 configure:6287: $? = 0 configure:6360: gcc -o conftest -g -O2 conftest.c >&5 configure:6360: $? = 0 configure:6360: ./conftest configure:6360: $? = 0 configure:6371: result: yes configure:6384: checking for sys/types.h configure:6384: gcc -c -g -O2 conftest.c >&5 configure:6384: $? = 0 configure:6384: result: yes configure:6384: checking for sys/stat.h configure:6384: gcc -c -g -O2 conftest.c >&5 configure:6384: $? = 0 configure:6384: result: yes configure:6384: checking for stdlib.h configure:6384: gcc -c -g -O2 conftest.c >&5 configure:6384: $? = 0 configure:6384: result: yes configure:6384: checking for string.h configure:6384: gcc -c -g -O2 conftest.c >&5 configure:6384: $? = 0 configure:6384: result: yes configure:6384: checking for memory.h configure:6384: gcc -c -g -O2 conftest.c >&5 configure:6384: $? = 0 configure:6384: result: yes configure:6384: checking for strings.h configure:6384: gcc -c -g -O2 conftest.c >&5 configure:6384: $? = 0 configure:6384: result: yes configure:6384: checking for inttypes.h configure:6384: gcc -c -g -O2 conftest.c >&5 configure:6384: $? = 0 configure:6384: result: yes configure:6384: checking for stdint.h configure:6384: gcc -c -g -O2 conftest.c >&5 configure:6384: $? = 0 configure:6384: result: yes configure:6384: checking for unistd.h configure:6384: gcc -c -g -O2 conftest.c >&5 configure:6384: $? = 0 configure:6384: result: yes configure:6475: checking libelf.h usability configure:6475: gcc -c -g -O2 -I/usr/include/libelf -I/usr/include/libelf conftest.c >&5 conftest.c:53: fatal error: libelf.h: No such file or directory compilation terminated. configure:6475: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define LT_OBJDIR ".libs/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include <stdio.h> | #ifdef HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #ifdef HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #ifdef STDC_HEADERS | # include <stdlib.h> | # include <stddef.h> | #else | # ifdef HAVE_STDLIB_H | # include <stdlib.h> | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include <memory.h> | # endif | # include <string.h> | #endif | #ifdef HAVE_STRINGS_H | # include <strings.h> | #endif | #ifdef HAVE_INTTYPES_H | # include <inttypes.h> | #endif | #ifdef HAVE_STDINT_H | # include <stdint.h> | #endif | #ifdef HAVE_UNISTD_H | # include <unistd.h> | #endif | #include <libelf.h> configure:6475: result: no configure:6475: checking libelf.h presence configure:6475: gcc -E -I/usr/include/libelf conftest.c conftest.c:20: fatal error: libelf.h: No such file or directory compilation terminated. configure:6475: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define LT_OBJDIR ".libs/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include <libelf.h> configure:6475: result: no configure:6475: checking for libelf.h configure:6475: result: no configure:6487: checking gelf.h usability configure:6487: gcc -c -g -O2 -I/usr/include/libelf -I/usr/include/libelf conftest.c >&5 conftest.c:53: fatal error: gelf.h: No such file or directory compilation terminated. configure:6487: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define LT_OBJDIR ".libs/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include <stdio.h> | #ifdef HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #ifdef HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #ifdef STDC_HEADERS | # include <stdlib.h> | # include <stddef.h> | #else | # ifdef HAVE_STDLIB_H | # include <stdlib.h> | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include <memory.h> | # endif | # include <string.h> | #endif | #ifdef HAVE_STRINGS_H | # include <strings.h> | #endif | #ifdef HAVE_INTTYPES_H | # include <inttypes.h> | #endif | #ifdef HAVE_STDINT_H | # include <stdint.h> | #endif | #ifdef HAVE_UNISTD_H | # include <unistd.h> | #endif | #include <gelf.h> configure:6487: result: no configure:6487: checking gelf.h presence configure:6487: gcc -E -I/usr/include/libelf conftest.c conftest.c:20: fatal error: gelf.h: No such file or directory compilation terminated. configure:6487: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define LT_OBJDIR ".libs/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include <gelf.h> configure:6487: result: no configure:6487: checking for gelf.h configure:6487: result: no configure:6500: checking libelf/libelf.h usability configure:6500: gcc -c -g -O2 -I/usr/include/libelf -I/usr/include/libelf conftest.c >&5 conftest.c:53: fatal error: libelf/libelf.h: No such file or directory compilation terminated. configure:6500: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define LT_OBJDIR ".libs/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include <stdio.h> | #ifdef HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #ifdef HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #ifdef STDC_HEADERS | # include <stdlib.h> | # include <stddef.h> | #else | # ifdef HAVE_STDLIB_H | # include <stdlib.h> | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include <memory.h> | # endif | # include <string.h> | #endif | #ifdef HAVE_STRINGS_H | # include <strings.h> | #endif | #ifdef HAVE_INTTYPES_H | # include <inttypes.h> | #endif | #ifdef HAVE_STDINT_H | # include <stdint.h> | #endif | #ifdef HAVE_UNISTD_H | # include <unistd.h> | #endif | #include <libelf/libelf.h> configure:6500: result: no configure:6500: checking libelf/libelf.h presence configure:6500: gcc -E -I/usr/include/libelf conftest.c conftest.c:20: fatal error: libelf/libelf.h: No such file or directory compilation terminated. configure:6500: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define LT_OBJDIR ".libs/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include <libelf/libelf.h> configure:6500: result: no configure:6500: checking for libelf/libelf.h configure:6500: result: no configure:6512: checking libelf/gelf.h usability configure:6512: gcc -c -g -O2 -I/usr/include/libelf -I/usr/include/libelf conftest.c >&5 conftest.c:53: fatal error: libelf/gelf.h: No such file or directory compilation terminated. configure:6512: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define LT_OBJDIR ".libs/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include <stdio.h> | #ifdef HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #ifdef HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #ifdef STDC_HEADERS | # include <stdlib.h> | # include <stddef.h> | #else | # ifdef HAVE_STDLIB_H | # include <stdlib.h> | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include <memory.h> | # endif | # include <string.h> | #endif | #ifdef HAVE_STRINGS_H | # include <strings.h> | #endif | #ifdef HAVE_INTTYPES_H | # include <inttypes.h> | #endif | #ifdef HAVE_STDINT_H | # include <stdint.h> | #endif | #ifdef HAVE_UNISTD_H | # include <unistd.h> | #endif | #include <libelf/gelf.h> configure:6512: result: no configure:6512: checking libelf/gelf.h presence configure:6512: gcc -E -I/usr/include/libelf conftest.c conftest.c:20: fatal error: libelf/gelf.h: No such file or directory compilation terminated. configure:6512: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define LT_OBJDIR ".libs/" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include <libelf/gelf.h> configure:6512: result: no configure:6512: checking for libelf/gelf.h configure:6512: result: no configure:7654: checking for default BUILD_CONFIG configure:7686: result: bootstrap-debug configure:8128: checking for bison configure:8158: result: no configure:8128: checking for byacc configure:8158: result: no configure:8128: checking for yacc configure:8158: result: no configure:8176: checking for bison configure:8206: result: no configure:8223: checking for gm4 configure:8253: result: no configure:8223: checking for gnum4 configure:8253: result: no configure:8223: checking for m4 configure:8239: found /usr/bin/m4 configure:8250: result: m4 configure:8270: checking for flex configure:8300: result: no configure:8270: checking for lex configure:8300: result: no configure:8318: checking for flex configure:8348: result: no configure:8365: checking for makeinfo configure:8381: found /usr/bin/makeinfo configure:8392: result: makeinfo configure:8426: checking for expect configure:8456: result: no configure:8475: checking for runtest configure:8505: result: no configure:8620: checking for ar configure:8636: found /usr/bin/ar configure:8647: result: ar configure:8761: checking for as configure:8777: found /usr/bin/as configure:8788: result: as configure:8902: checking for dlltool configure:8932: result: no configure:9043: checking for ld configure:9059: found /usr/bin/ld configure:9070: result: ld configure:9184: checking for lipo configure:9214: result: no configure:9325: checking for nm configure:9341: found /usr/bin/nm configure:9352: result: nm configure:9466: checking for ranlib configure:9482: found /usr/bin/ranlib configure:9493: result: ranlib configure:9602: checking for strip configure:9618: found /usr/bin/strip configure:9629: result: strip configure:9738: checking for windres configure:9768: result: no configure:9879: checking for windmc configure:9909: result: no configure:10020: checking for objcopy configure:10036: found /usr/bin/objcopy configure:10047: result: objcopy configure:10161: checking for objdump configure:10177: found /usr/bin/objdump configure:10188: result: objdump configure:10341: checking for cc configure:10357: found /usr/bin/cc configure:10368: result: cc configure:10502: checking for c++ configure:10518: found /usr/bin/c++ configure:10529: result: c++ configure:10663: checking for gcc configure:10679: found /usr/bin/gcc configure:10690: result: gcc configure:10819: checking for gcj configure:10849: result: no configure:10980: checking for gfortran configure:11010: result: no configure:11071: checking for ar configure:11104: result: no configure:11221: checking for ar configure:11237: found /usr/bin/ar configure:11248: result: ar configure:11301: checking for as configure:11334: result: no configure:11451: checking for as configure:11467: found /usr/bin/as configure:11478: result: as configure:11531: checking for dlltool configure:11564: result: no configure:11681: checking for dlltool configure:11711: result: no configure:11761: checking for ld configure:11794: result: no configure:11911: checking for ld configure:11927: found /usr/bin/ld configure:11938: result: ld configure:11991: checking for lipo configure:12024: result: no configure:12141: checking for lipo configure:12171: result: no configure:12221: checking for nm configure:12254: result: no configure:12371: checking for nm configure:12387: found /usr/bin/nm configure:12398: result: nm configure:12451: checking for objdump configure:12484: result: no configure:12601: checking for objdump configure:12617: found /usr/bin/objdump configure:12628: result: objdump configure:12681: checking for ranlib configure:12714: result: no configure:12831: checking for ranlib configure:12847: found /usr/bin/ranlib configure:12858: result: ranlib configure:12911: checking for strip configure:12944: result: no configure:13061: checking for strip configure:13077: found /usr/bin/strip configure:13088: result: strip configure:13141: checking for windres configure:13174: result: no configure:13291: checking for windres configure:13321: result: no configure:13371: checking for windmc configure:13404: result: no configure:13521: checking for windmc configure:13551: result: no configure:13579: checking where to find the target ar configure:13612: result: host tool configure:13621: checking where to find the target as configure:13654: result: host tool configure:13663: checking where to find the target cc configure:13686: result: just compiled configure:13705: checking where to find the target c++ configure:13731: result: just compiled configure:13750: checking where to find the target c++ for libstdc++ configure:13776: result: just compiled configure:13795: checking where to find the target dlltool configure:13828: result: host tool configure:13837: checking where to find the target gcc configure:13860: result: just compiled configure:13879: checking where to find the target gcj configure:13905: result: just compiled configure:13924: checking where to find the target gfortran configure:13950: result: just compiled configure:13969: checking where to find the target ld configure:14002: result: host tool configure:14011: checking where to find the target lipo configure:14033: result: host tool configure:14042: checking where to find the target nm configure:14075: result: host tool configure:14084: checking where to find the target objdump configure:14117: result: host tool configure:14126: checking where to find the target ranlib configure:14159: result: host tool configure:14168: checking where to find the target strip configure:14201: result: host tool configure:14210: checking where to find the target windres configure:14243: result: host tool configure:14252: checking where to find the target windmc configure:14285: result: host tool configure:14322: checking whether to enable maintainer-specific portions of Makefiles configure:14331: result: no configure:14364: checking whether -fkeep-inline-functions is supported configure:14383: gcc -c -g -O2 -fkeep-inline-functions conftest.c >&5 configure:14383: $? = 0 configure:14384: result: yes configure:14581: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by config.status, which was generated by GNU Autoconf 2.64. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on chan-PC config.status:982: creating Makefile ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=i686-pc-linux-gnu ac_cv_c_compiler_gnu=yes ac_cv_cxx_compiler_gnu=yes ac_cv_env_AR_FOR_TARGET_set= ac_cv_env_AR_FOR_TARGET_value= ac_cv_env_AR_set= ac_cv_env_AR_value= ac_cv_env_AS_FOR_TARGET_set= ac_cv_env_AS_FOR_TARGET_value= ac_cv_env_AS_set= ac_cv_env_AS_value= ac_cv_env_CCC_set= ac_cv_env_CCC_value= ac_cv_env_CC_FOR_TARGET_set= ac_cv_env_CC_FOR_TARGET_value= ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set= ac_cv_env_CFLAGS_value= ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_CXXFLAGS_set= ac_cv_env_CXXFLAGS_value= ac_cv_env_CXX_FOR_TARGET_set= ac_cv_env_CXX_FOR_TARGET_value= ac_cv_env_CXX_set= ac_cv_env_CXX_value= ac_cv_env_DLLTOOL_FOR_TARGET_set= ac_cv_env_DLLTOOL_FOR_TARGET_value= ac_cv_env_DLLTOOL_set= ac_cv_env_DLLTOOL_value= ac_cv_env_GCC_FOR_TARGET_set= ac_cv_env_GCC_FOR_TARGET_value= ac_cv_env_GCJ_FOR_TARGET_set= ac_cv_env_GCJ_FOR_TARGET_value= ac_cv_env_GFORTRAN_FOR_TARGET_set= ac_cv_env_GFORTRAN_FOR_TARGET_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_LD_FOR_TARGET_set= ac_cv_env_LD_FOR_TARGET_value= ac_cv_env_LD_set= ac_cv_env_LD_value= ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_LIPO_FOR_TARGET_set= ac_cv_env_LIPO_FOR_TARGET_value= ac_cv_env_LIPO_set= ac_cv_env_LIPO_value= ac_cv_env_NM_FOR_TARGET_set= ac_cv_env_NM_FOR_TARGET_value= ac_cv_env_NM_set= ac_cv_env_NM_value= ac_cv_env_OBJCOPY_set= ac_cv_env_OBJCOPY_value= ac_cv_env_OBJDUMP_FOR_TARGET_set= ac_cv_env_OBJDUMP_FOR_TARGET_value= ac_cv_env_OBJDUMP_set= ac_cv_env_OBJDUMP_value= ac_cv_env_RANLIB_FOR_TARGET_set= ac_cv_env_RANLIB_FOR_TARGET_value= ac_cv_env_RANLIB_set= ac_cv_env_RANLIB_value= ac_cv_env_STRIP_FOR_TARGET_set= ac_cv_env_STRIP_FOR_TARGET_value= ac_cv_env_STRIP_set= ac_cv_env_STRIP_value= ac_cv_env_WINDMC_FOR_TARGET_set= ac_cv_env_WINDMC_FOR_TARGET_value= ac_cv_env_WINDMC_set= ac_cv_env_WINDMC_value= ac_cv_env_WINDRES_FOR_TARGET_set= ac_cv_env_WINDRES_FOR_TARGET_value= ac_cv_env_WINDRES_set= ac_cv_env_WINDRES_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_header_gelf_h=no ac_cv_header_inttypes_h=yes ac_cv_header_libelf_gelf_h=no ac_cv_header_libelf_h=no ac_cv_header_libelf_libelf_h=no ac_cv_header_memory_h=yes ac_cv_header_stdc=yes ac_cv_header_stdint_h=yes ac_cv_header_stdlib_h=yes ac_cv_header_string_h=yes ac_cv_header_strings_h=yes ac_cv_header_sys_stat_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_unistd_h=yes ac_cv_host=i686-pc-linux-gnu ac_cv_objext=o ac_cv_path_EGREP='/bin/grep -E' ac_cv_path_GREP=/bin/grep ac_cv_path_SED=/bin/sed ac_cv_path_install='/usr/bin/install -c' ac_cv_prog_AR=ar ac_cv_prog_AR_FOR_TARGET=ar ac_cv_prog_AS=as ac_cv_prog_AS_FOR_TARGET=as ac_cv_prog_AWK=mawk ac_cv_prog_CC_FOR_TARGET=cc ac_cv_prog_CPP='gcc -E' ac_cv_prog_CXX_FOR_TARGET=c++ ac_cv_prog_GCC_FOR_TARGET=gcc ac_cv_prog_LD=ld ac_cv_prog_LD_FOR_TARGET=ld ac_cv_prog_M4=m4 ac_cv_prog_MAKEINFO=makeinfo ac_cv_prog_NM=nm ac_cv_prog_NM_FOR_TARGET=nm ac_cv_prog_OBJCOPY=objcopy ac_cv_prog_OBJDUMP=objdump ac_cv_prog_OBJDUMP_FOR_TARGET=objdump ac_cv_prog_RANLIB=ranlib ac_cv_prog_RANLIB_FOR_TARGET=ranlib ac_cv_prog_STRIP=strip ac_cv_prog_STRIP_FOR_TARGET=strip ac_cv_prog_ac_ct_CC=gcc ac_cv_prog_ac_ct_CXX=g++ ac_cv_prog_ac_ct_GNATBIND=gnatbind ac_cv_prog_ac_ct_GNATMAKE=gnatmake ac_cv_prog_cc_c89= ac_cv_prog_cc_g=yes ac_cv_prog_cxx_g=yes ac_cv_target=i686-pc-linux-gnu acx_cv_cc_gcc_supports_ada=yes acx_cv_prog_LN=ln gcc_cv_prog_cmp_skip='cmp --ignore-initial=16 $$f1 $$f2' gcc_cv_tool_dirs=/usr/local/libexec/gcc/i686-pc-linux-gnu/4.5.2:/usr/local/libexec/gcc/i686-pc-linux-gnu:/usr/lib/gcc/i686-pc-linux-gnu/4.5.2:/usr/lib/gcc/i686-pc-linux-gnu:/usr/local/i686-pc-linux-gnu/bin/i686-pc-linux-gnu/4.5.2:/usr/local/i686-pc-linux-gnu/bin: gcc_cv_tool_prefix=/usr/local lt_cv_objdir=.libs ## ----------------- ## ## Output variables. ## ## ----------------- ## AR='ar' AR_FOR_BUILD='$(AR)' AR_FOR_TARGET='$(AR)' AS='as' AS_FOR_BUILD='$(AS)' AS_FOR_TARGET='$(AS)' AWK='mawk' BISON='/home/chan/Desktop/Download/gcc-4.5.2/missing bison' BUILD_CONFIG='bootstrap-debug' CC='gcc' CC_FOR_BUILD='$(CC)' CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/' CFLAGS='-g -O2' CFLAGS_FOR_BUILD='-g -O2' CFLAGS_FOR_TARGET='-g -O2' COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as' COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld' COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm' CONFIGURE_GDB_TK='' CPP='gcc -E' CPPFLAGS='' CXX='g++' CXXFLAGS='-g -O2' CXXFLAGS_FOR_BUILD='-g -O2' CXXFLAGS_FOR_TARGET='-g -O2' CXX_FOR_BUILD='$(CXX)' CXX_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/g++ -B$$r/$(HOST_SUBDIR)/gcc/ -nostdinc++ `test ! -f $$r/$(TARGET_SUBDIR)/libstdc++-v3/scripts/testsuite_flags || $(SHELL) $$r/$(TARGET_SUBDIR)/libstdc++-v3/scripts/testsuite_flags --build-includes` -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs' DEBUG_PREFIX_CFLAGS_FOR_TARGET='' DEFS='-DPACKAGE_NAME="" -DPACKAGE_TARNAME="" -DPACKAGE_VERSION="" -DPACKAGE_STRING="" -DPACKAGE_BUGREPORT="" -DPACKAGE_URL="" -DLT_OBJDIR=".libs/" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1' DLLTOOL='dlltool' DLLTOOL_FOR_BUILD='$(DLLTOOL)' DLLTOOL_FOR_TARGET='$(DLLTOOL)' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/bin/grep -E' EXEEXT='' EXPECT='expect' FLAGS_FOR_TARGET=' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include' FLEX='/home/chan/Desktop/Download/gcc-4.5.2/missing flex' GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/' GCC_SHLIB_SUBDIR='' GCJ_FOR_BUILD='$(GCJ)' GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/' GDB_TK='' GFORTRAN_FOR_BUILD='$(GFORTRAN)' GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/' GNATBIND='gnatbind' GNATMAKE='gnatmake' GREP='/bin/grep' INSTALL_DATA='${INSTALL} -m 644' INSTALL_GDB_TK='' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' LD='ld' LDFLAGS='' LDFLAGS_FOR_BUILD='' LD_FOR_BUILD='$(LD)' LD_FOR_TARGET='$(LD)' LEX='/home/chan/Desktop/Download/gcc-4.5.2/missing flex' LIBOBJS='' LIBS='' LIPO='lipo' LIPO_FOR_TARGET='$(LIPO)' LN='ln' LN_S='ln -s' LTLIBOBJS='' M4='m4' MAINT='#' MAINTAINER_MODE_FALSE='' MAINTAINER_MODE_TRUE='#' MAKEINFO='makeinfo' NM='nm' NM_FOR_BUILD='$(NM)' NM_FOR_TARGET='$(NM)' OBJCOPY='objcopy' OBJDUMP='objdump' OBJDUMP_FOR_TARGET='$(OBJDUMP)' OBJEXT='o' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_URL='' PACKAGE_VERSION='' PATH_SEPARATOR=':' RANLIB='ranlib' RANLIB_FOR_BUILD='$(RANLIB)' RANLIB_FOR_TARGET='$(RANLIB)' RAW_CXX_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -shared-libgcc -B$$r/$(HOST_SUBDIR)/gcc -nostdinc++ -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs' RPATH_ENVVAR='LD_LIBRARY_PATH' RUNTEST='runtest' SED='/bin/sed' SHELL='/bin/bash' STRIP='strip' STRIP_FOR_TARGET='$(STRIP)' SYSROOT_CFLAGS_FOR_TARGET='' TOPLEVEL_CONFIGURE_ARGUMENTS='./configure' WINDMC='windmc' WINDMC_FOR_BUILD='$(WINDMC)' WINDMC_FOR_TARGET='$(WINDMC)' WINDRES='windres' WINDRES_FOR_BUILD='$(WINDRES)' WINDRES_FOR_TARGET='$(WINDRES)' YACC='/home/chan/Desktop/Download/gcc-4.5.2/missing bison -y' ac_ct_CC='gcc' ac_ct_CXX='g++' bindir='${exec_prefix}/bin' build='i686-pc-linux-gnu' build_alias='' build_configargs='--cache-file=../config.cache '''--enable-languages=c,c++,fortran,java,objc''' --program-transform-name='''s,y,y,''' --disable-option-checking' build_configdirs=' libiberty fixincludes' build_cpu='i686' build_libsubdir='build-i686-pc-linux-gnu' build_noncanonical='i686-pc-linux-gnu' build_os='linux-gnu' build_subdir='build-i686-pc-linux-gnu' build_tooldir='${exec_prefix}/i686-pc-linux-gnu' build_vendor='pc' clooginc=' -DCLOOG_PPL_BACKEND ' clooglibs=' -lcloog ' compare_exclusions='gcc/cc*-checksum$(objext) | gcc/ada/*tools/*' config_shell='/bin/bash' configdirs=' intl libiberty zlib libcpp libdecnumber fixincludes gcc' datadir='${datarootdir}' datarootdir='${prefix}/share' do_compare='cmp --ignore-initial=16 $$f1 $$f2' docdir='${datarootdir}/doc/${PACKAGE}' dvidir='${docdir}' exec_prefix='${prefix}' extra_host_libiberty_configure_flags='' extra_mpc_gmp_configure_flags='' extra_mpc_mpfr_configure_flags='' extra_mpfr_configure_flags='' gmpinc='' gmplibs='-lmpc -lmpfr -lgmp' host='i686-pc-linux-gnu' host_alias='' host_configargs='--cache-file=./config.cache '''--enable-languages=c,c++,fortran,java,objc''' --program-transform-name='''s,y,y,''' --disable-option-checking' host_cpu='i686' host_noncanonical='i686-pc-linux-gnu' host_os='linux-gnu' host_subdir='host-i686-pc-linux-gnu' host_vendor='pc' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' libdir='${exec_prefix}/lib' libelfinc='' libelflibs='' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' oldincludedir='/usr/include' pdfdir='${docdir}' poststage1_ldflags='' poststage1_libs='' pplinc='' ppllibs=' -lppl_c -lppl -lgmpxx' prefix='/usr/local' program_transform_name='s,y,y,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' stage1_cflags='-g -fkeep-inline-functions' stage1_checking='--enable-checking=yes,types' stage1_languages='c' stage1_ldflags='' stage1_libs='' stage2_werror_flag='' sysconfdir='${prefix}/etc' target='i686-pc-linux-gnu' target_alias='' target_configargs='--cache-file=./config.cache --enable-multilib '''--enable-languages=c,c++,fortran,java,objc''' --program-transform-name='''s,y,y,''' --disable-option-checking' target_configdirs=' libgcc libiberty libgomp libstdc++-v3 libmudflap libssp libgfortran boehm-gc libffi zlib libjava libobjc' target_cpu='i686' target_noncanonical='i686-pc-linux-gnu' target_os='linux-gnu' target_subdir='i686-pc-linux-gnu' target_vendor='pc' tooldir='${exec_prefix}/i686-pc-linux-gnu' ## ------------------- ## ## File substitutions. ## ## ------------------- ## alphaieee_frag='/dev/null' host_makefile_frag='./config/mh-x86omitfp' ospace_frag='/dev/null' serialization_dependencies='serdep.tmp' target_makefile_frag='./config/mt-gnu' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" #define PACKAGE_STRING "" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "" #define LT_OBJDIR ".libs/" #define STDC_HEADERS 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 configure: exit 0Has anyone experienced this, and help me out?
Thanks,
Chan
Tags for this Thread
Bookmarks
Bookmarks

Posting Permissions
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
Не уверен, что здесь произошло. Я пытаюсь обновить ядро Linux с 4.9.x до 4.14.x, и произошло следующее:
In file included from arch/x86/decode.c:26:0:
arch/x86/../../elf.h:22:18: fatal error: gelf.h: No such file or directory
#include <gelf.h>
^
compilation terminated.
mv: cannot stat ‘/usr/src/linux-4.14.51/tools/objtool/arch/x86/.decode.o.tmp’: No such file or directory
make[4]: *** [/usr/src/linux-4.14.51/tools/objtool/arch/x86/decode.o] Error 1
make[3]: *** [arch/x86] Error 2
make[2]: *** [/usr/src/linux-4.14.51/tools/objtool/objtool-in.o] Error 2
make[1]: *** [objtool] Error 2
make: *** [tools/objtool] Error 2
Есть идеи, что здесь произошло (кроме очевидного)? Должен ли » gelf.h » уже находиться на моем компьютере? Или в ядре тарбол?
Я скачал vanilla 4.14.51 с сайта kernel.org — я успешно скомпилировал свое собственное (немодифицированное) ядро vanilla в течение 14 лет, но это новое.
Мой компьютер — это ноутбук Dell с Core2 i5 (64-разрядной) и Slackware 14.1 — я обновил версию 3.17.x с 4.4.x несколько лет назад, а совсем недавно — до 4.9.x (в настоящее время 4.9.109).
У меня установлен libelf:
me@mylaptop:~$ locate gelf.h
/usr/include/libelf/gelf.h
me@mylaptop:~$ ls /var/log/packages/*elf*
/var/log/packages/libelf-0.8.13-x86_64-2
ДОПОЛНЕНИЕ
Пробуя 4.14.55 прошлой ночью, я заметил, что каталог, в котором скрипт сборки ядра ожидает увидеть «gelf.h», находится в дереве исходников ядра, а не в обычном /usr/include .
При этом соответствующий каталог в моем (работающем) дереве исходного кода 4.9.x не имеет ни файлов .o ни .ko . Очевидно, что в 4.14.x включен элемент конфигурации, который я не включил в 4.9.x.
Я попытался настроить 4.14.x как можно ближе к моему рабочему 4.9.x; Я знаю о некоторых новых опциях, но в целом я стараюсь сохранять одинаковые конфигурации между промежуточными версиями ядра.
Тем не менее, я не знаю, какой параметр конфигурации он хотел бы видеть заголовочные файлы в linux-4.14.*/tools/objtool/arch/x86/ … Есть идеи?


