From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id +og9JW+MW2CMaAAAWB0awg (envelope-from ) for ; Wed, 24 Mar 2021 15:01:03 -0400 Received: by simark.ca (Postfix, from userid 112) id 873ED1EF7C; Wed, 24 Mar 2021 15:01:03 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.lttng.org (lists.lttng.org [167.114.26.123]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id E163D1E789 for ; Wed, 24 Mar 2021 15:01:02 -0400 (EDT) Received: from lists-lttng01.efficios.com (localhost [IPv6:::1]) by lists.lttng.org (Postfix) with ESMTP id 4F5HdB25SNzMb2; Wed, 24 Mar 2021 15:01:02 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lists.lttng.org; s=default; t=1616612462; bh=GfiZyHo2BD18dbzcDft8VmeFgMuDAhcZdwKQuKZM/to=; h=Date:To:Cc:References:In-Reply-To:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=Jpn7QYW6W/+I77GEojN89x57u7/BJBmvJBtgTSbqhf1mt1aYoV7f6tucmP+QkAwZq SJrne0sPtOlC+/QpQ5qwlkiQVZedDDDF0UDTkvXX2z0v1z8UNU8OuibkyHsUWcoQ2Y tj0pfPOiUrs83teoKqGDQ+LPSUqe5EoYe+m0mLIn7q8fa8VnnpwBL57FpXHXJKbKyv x3AiLtYjTwcvLRb7GtdwFZ0iE+EOO941EzmrRd77Mtt9eB41qpGfoY0h/6YjNvSib+ xmH9T2xICBsueqByOuAf8bqr4N9rm3DSwLbvFBPQT9zl9y7/HSljdOOQLzPKdHXdHU qBiLT6JsB4ffQ== Received: from mail.efficios.com (mail.efficios.com [167.114.26.124]) by lists.lttng.org (Postfix) with ESMTPS id 4F5Hd90Tm1zMCy for ; Wed, 24 Mar 2021 15:01:00 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mail.efficios.com (Postfix) with ESMTP id C210924B8AB for ; Wed, 24 Mar 2021 15:00:54 -0400 (EDT) Received: from mail.efficios.com ([127.0.0.1]) by localhost (mail03.efficios.com [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id x4lWqBs5NNXm; Wed, 24 Mar 2021 15:00:54 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mail.efficios.com (Postfix) with ESMTP id 5563A24B8AA; Wed, 24 Mar 2021 15:00:54 -0400 (EDT) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.efficios.com 5563A24B8AA X-Virus-Scanned: amavisd-new at efficios.com Received: from mail.efficios.com ([127.0.0.1]) by localhost (mail03.efficios.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 3LSIMjGkq9Xh; Wed, 24 Mar 2021 15:00:54 -0400 (EDT) Received: from joraj-alpa (192-222-181-218.qc.cable.ebox.net [192.222.181.218]) by mail.efficios.com (Postfix) with ESMTPSA id 0B25324B8A9; Wed, 24 Mar 2021 15:00:53 -0400 (EDT) Date: Wed, 24 Mar 2021 15:00:53 -0400 To: MONTET Julien Cc: lttng-dev Message-ID: <20210324190053.GG344120@joraj-alpa> References: <20210324142540.GB344120@joraj-alpa> <20210324153255.GC344120@joraj-alpa> <20210324160629.GE344120@joraj-alpa> <20210324163611.GF344120@joraj-alpa> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Subject: Re: [lttng-dev] Issues on basic LTTng trace userspace (tutorial) X-BeenThere: lttng-dev@lists.lttng.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: LTTng development list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Jonathan Rajotte-Julien via lttng-dev Reply-To: Jonathan Rajotte-Julien Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: lttng-dev-bounces@lists.lttng.org Sender: "lttng-dev" On Wed, Mar 24, 2021 at 06:55:37PM +0000, MONTET Julien wrote: > Hi Jonathan, > > You are absolutely right ! > I have two different lttng : find /usr -name "*liblttng-ust*" Ubuntu Pastebin Glad to know that we are making progress. > > According to you, what would be the best solution to solve this issue ? > I have indeed a folder named lttng-ust where I have made the (wrong) configure / make. Go into the lttng folder and do: sudo make uninstall sudo ldconfig > > > I tried to (temporary) remove all the libttng* /usr/local/lib/, but I face this problem : That should works also. > /usr/bin/ld: hello-tp.o: in function `__lttng_events_init__hello_world': > hello-tp.c:(.text+0xe56): undefined reference to `lttng_ust_probe_register' > /usr/bin/ld: hello-tp.o: in function `__lttng_events_exit__hello_world': > hello-tp.c:(.text+0xeb2): undefined reference to `lttng_ust_probe_unregister' > collect2: error: ld returned 1 exit status Did you remove the -L/usr/local/bin flag? There should be no reason to keep it at this point. > > In the worst case scenario I am able to get my last clean snapchot. That is also a good bet :). -- Jonathan Rajotte-Julien EfficiOS _______________________________________________ lttng-dev mailing list lttng-dev@lists.lttng.org https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev