Actions
Bug #151
closedApplication that uses "lttng.h" fail to compile due to "opt_quiet" is not defined
Start date:
03/05/2012
Due date:
% Done:
100%
Estimated time:
Description
lttng version used:
===================
userspace-rcu : mar-04 8bcbd94a60f624c1faae1481fcb0888aec25b481
lttng-ust : mar-02 bf1175c265545d44e4a898e0bc520d366cd7882a
lttng-tools : mar-05 (09:56) 80e327fa80045f6b470ac76963fc4b5d396a80a9
babeltrace : mar-05 (12:38) 94fe441cc55114766436bc48bb7db7acedc19632
Problem:
========
Application-X , that tries to link to lttng library: " -lttng-ctl",
fails to compile with the following error:
:
/local/scratch/lmctdlt/my_DX_SYSROOT//usr/lib/liblttng-ctl.so: undefined reference to `opt_quiet'
collect2: ld returned 1 exit status
make: *** [temp_app] Error 1
Work around:
============
Have to define var "opt_quiet" in Application-X.
However, there is no information on how this var should be used on the Application side.
Files
Actions