Skip to content

dt_dis.c:204: undefined reference to `dtrace_subrstr' #9

Closed

Description

@msabramo

This is on Ubuntu 10.04.4:

$ make all
...
cd cmd/dtrace ; make --no-print-directory
cc -g -W -D_ILP32 -D_LONGLONG_TYPE -o ../../build-2.6.32-38-generic/dtrace -L../../build-2.6.32-38-generic ../../build-2.6.32-38-generic/dtrace.o -ldtrace -lctf -lproc -llinux -lz -lrt -lpthread -lelf -ldl
../../build-2.6.32-38-generic/libdtrace.a(dt_dis.o): In function `dt_dis_call':
/home/marca/src/dtrace4linux/newlinux/libdtrace/dt_dis.c:204: undefined reference to `dtrace_subrstr'
collect2: ld returned 1 exit status
make[2]: *** [../../build-2.6.32-38-generic/dtrace] Error 1
make[1]: *** [do_cmds] Error 2
tools/bug.sh
make: *** [all] Error 1

Activity

  1. dtrace4linux commented on Feb 29, 2012

    @dtrace4linux
    Owner

    This issue caused because dt_names.c wasnt being rebuilt (where dtrace_subrstr comes from). fixed in a different patch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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