Project

General

Profile

Actions

Bug #779

closed

Out-of-tree build does not work

Added by Simon Marchi over 10 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
Start date:
04/08/2014
Due date:
% Done:

0%

Estimated time:

Description

When trying to build lttng-tools out of tree, I get the following:

Making all in src
make[1]: Entering directory `/home/simark/build/lttng-tools/src'
Making all in common
make[2]: Entering directory `/home/simark/build/lttng-tools/src/common'
Making all in compat
make[3]: Entering directory `/home/simark/build/lttng-tools/src/common/compat'
  CC       compat-fcntl.lo
  CC       compat-epoll.lo
  CCLD     libcompat.la
make[3]: Leaving directory `/home/simark/build/lttng-tools/src/common/compat'
Making all in health
make[3]: Entering directory `/home/simark/build/lttng-tools/src/common/health'
  CC       health.lo
  CCLD     libhealth.la
make[3]: Leaving directory `/home/simark/build/lttng-tools/src/common/health'
Making all in hashtable
make[3]: Entering directory `/home/simark/build/lttng-tools/src/common/hashtable'
  CC       hashtable.lo
  CC       utils.lo
  CC       rculfhash.lo
  CC       rculfhash-mm-chunk.lo
  CC       rculfhash-mm-mmap.lo
  CC       rculfhash-mm-order.lo
  CCLD     libhashtable.la
make[3]: Leaving directory `/home/simark/build/lttng-tools/src/common/hashtable'
Making all in kernel-ctl
make[3]: Entering directory `/home/simark/build/lttng-tools/src/common/kernel-ctl'
  CC       kernel-ctl.lo
  CCLD     libkernel-ctl.la
make[3]: Leaving directory `/home/simark/build/lttng-tools/src/common/kernel-ctl'
Making all in sessiond-comm
make[3]: Entering directory `/home/simark/build/lttng-tools/src/common/sessiond-comm'
  CC       sessiond-comm.lo
  CC       unix.lo
  CC       inet.lo
  CC       inet6.lo
  CCLD     libsessiond-comm.la
make[3]: Leaving directory `/home/simark/build/lttng-tools/src/common/sessiond-comm'
Making all in relayd
make[3]: Entering directory `/home/simark/build/lttng-tools/src/common/relayd'
  CC       relayd.lo
  CCLD     librelayd.la
make[3]: Leaving directory `/home/simark/build/lttng-tools/src/common/relayd'
Making all in kernel-consumer
make[3]: Entering directory `/home/simark/build/lttng-tools/src/common/kernel-consumer'
  CC       kernel-consumer.lo
  CCLD     libkernel-consumer.la
make[3]: Leaving directory `/home/simark/build/lttng-tools/src/common/kernel-consumer'
Making all in ust-consumer
make[3]: Entering directory `/home/simark/build/lttng-tools/src/common/ust-consumer'
  CC       ust-consumer.lo
  CCLD     libust-consumer.la
make[3]: Leaving directory `/home/simark/build/lttng-tools/src/common/ust-consumer'
Making all in testpoint
make[3]: Entering directory `/home/simark/build/lttng-tools/src/common/testpoint'
  CC       testpoint.lo
  CCLD     libtestpoint.la
make[3]: Leaving directory `/home/simark/build/lttng-tools/src/common/testpoint'
Making all in index
make[3]: Entering directory `/home/simark/build/lttng-tools/src/common/index'
  CC       index.lo
  CCLD     libindex.la
make[3]: Leaving directory `/home/simark/build/lttng-tools/src/common/index'
Making all in config
make[3]: Entering directory `/home/simark/build/lttng-tools/src/common/config'
  CC       libconfig_la-ini.lo
  CC       libconfig_la-config.lo
../../../../../src/lttng-tools/src/common/config/config.c:30:29: fatal error: common/defaults.h: No such file or directory
 #include <common/defaults.h>
                             ^
compilation terminated.
make[3]: *** [libconfig_la-config.lo] Error 1
make[3]: Leaving directory `/home/simark/build/lttng-tools/src/common/config'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/simark/build/lttng-tools/src/common'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/simark/build/lttng-tools/src'
make: *** [all-recursive] Error 1

Actions

Also available in: Atom PDF