Project

General

Profile

Actions

Bug #151

closed

Application that uses "lttng.h" fail to compile due to "opt_quiet" is not defined

Added by Tan le tran about 12 years ago. Updated about 12 years ago.

Status:
Resolved
Priority:
High
Assignee:
Target version:
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

temp_app.rar (1.42 KB) temp_app.rar source and log files Tan le tran, 03/05/2012 04:40 PM
Actions

Also available in: Atom PDF