Skip to content

make all failing #129

Open
Open
@khemkasudeep

Description

@khemkasudeep

Hi

I am trying to build dtrace.
I have installed libdwarf and elfutils-libs
make all is failing with below error -
Any idea what may be going wrong.

BUILD_DIR=build-4.4.5-0.1.fm.221.49.316.metal1.x86_64
tools/mkdriver.pl driver-kmem ;
tools/build.pl build-4.4.5-0.1.fm.221.49.316.metal1.x86_64 uname -m
Executing: /tmp/dtrace/dtrace-20160613/tools/make-me
make -C /lib/modules/4.4.5-0.1.fm.221.49.316.metal1.x86_64/build M=/tmp/dtrace/dtrace-20160613/build-4.4.5-0.1.fm.221.49.316.metal1.x86_64/driver-kmem
Building modules, stage 2.
MODPOST 1 modules
gcc -o build-4.4.5-0.1.fm.221.49.316.metal1.x86_64/kcore tools/kcore.c
tools/check_dep.pl
tools/mkport.pl
/tmp/ccXV3VX4.o: In function main': root.dwarf.c:(.text+0x1f): undefined reference to dwarf_loclist'
collect2: ld returned 1 exit status
Failed to find offset
Use of uninitialized value $old_rsp in concatenation (.) or string at tools/mkport.pl line 144.
old_rsp=
We cannot find old_rsp or per_cpu__old_rsp in your kernel.
Additionally, it looks like /proc/kcore is broken on your kernel,
meaning we cannot poke to find this variable, which helps identify
kernel thread offsets.
FATAL ERROR: cannot find old_rsp
FATAL ERROR: build.pl aborting
make: *** [all] Error 25

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions