dtrace4linux/linux — Issue #3: make clean probably not cleaning out everything
Author: msabramo
Created: 2012-02-29 19:21:54+00:00
State: open

On Ubuntu 10.04.4:

```
$ make all
```

Result: I get the `mkerrtags.sh` error in issue #2.

```
$ make clean
$ make all
```

Result: Now I get linker errors:

```

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_cc.o): In function `dt_load_libs_dir':
/home/marca/src/dtrace4linux/linux/libdtrace/dt_cc.c:2228: undefined reference to `dt_errtag'
../../build-2.6.32-38-generic/libdtrace.a(dt_cc.o): In function `dt_load_libs_sort':
/home/marca/src/dtrace4linux/linux/libdtrace/dt_cc.c:2284: undefined reference to `dt_errtag'
../../build-2.6.32-38-generic/libdtrace.a(dt_parser.o): In function `dt_cook_clause':
/home/marca/src/dtrace4linux/linux/libdtrace/dt_parser.c:4082: undefined reference to `dt_errtag'
/home/marca/src/dtrace4linux/linux/libdtrace/dt_parser.c:4083: undefined reference to `dt_errtag'
../../build-2.6.32-38-generic/libdtrace.a(dt_parser.o): In function `xyvwarn':
/home/marca/src/dtrace4linux/linux/libdtrace/dt_parser.c:4829: undefined reference to `dt_errtag'
../../build-2.6.32-38-generic/libdtrace.a(dt_parser.o):/home/marca/src/dtrace4linux/linux/libdtrace/dt_parser.c:4863: more undefined references to `dt_errtag' follow
../../build-2.6.32-38-generic/libdtrace.a(dt_dis.o): In function `dt_dis_call':
/home/marca/src/dtrace4linux/linux/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
```