From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <mirots@gmail.com>
Received: from mail-we0-x233.google.com (mail-we0-x233.google.com
 [IPv6:2a00:1450:400c:c03::233])
 by dpdk.org (Postfix) with ESMTP id 7059C68A2
 for <dev@dpdk.org>; Mon,  3 Mar 2014 20:30:02 +0100 (CET)
Received: by mail-we0-f179.google.com with SMTP id x48so3802354wes.10
 for <dev@dpdk.org>; Mon, 03 Mar 2014 11:31:30 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:in-reply-to:references:date:message-id:subject:from:to
 :cc:content-type;
 bh=HuNjSWwyERbaANwAMRB931bwcX0tY5taFvhgpTi86qk=;
 b=dFYFdz/YZ+3Y5qQQ5X90p7/BzHoMPlhSNR+pd4YUCSSj4W0t88u12kyLD4N2BfJEhY
 EfUbqgNJCueFCbg0OlLZX40g2HAsETeo2UKy0B4jzW96EltqnzHAXgihB6VNmZj6jjdK
 vR24CZ0i+D3FCb/fJH+zdSytAEE3So272Uv/Th/eDp0UKc7ug1vc3WoyhQfFX0mAz8sd
 HZHv29ItlvR/kA5AKIwFL+2t2pgKBCA1GQ6MR6ItsV9uEJOg93JQ9Xk3MuXoQP6yotPz
 FKH9cvAhV8ZAue3J7McAGKm3ZBUMTS9NzicfSfr8E7dOkaYAVtshb0JwMG4azoZOkLQn
 UZcA==
MIME-Version: 1.0
X-Received: by 10.194.2.194 with SMTP id 2mr9048905wjw.73.1393875079390; Mon,
 03 Mar 2014 11:31:19 -0800 (PST)
Received: by 10.194.85.169 with HTTP; Mon, 3 Mar 2014 11:31:19 -0800 (PST)
In-Reply-To: <5313905E.7000603@6wind.com>
References: <CA+Typ9mqB4nQ1MoztqSKQ1QvQX_nWQHDybw3tTuyuqghySLGRQ@mail.gmail.com>
 <5313905E.7000603@6wind.com>
Date: Mon, 3 Mar 2014 21:31:19 +0200
Message-ID: <CA+Typ9kW8gp4fLL7=q95ZbBjB030hAjMzh-CBn_iydWC1mPT4w@mail.gmail.com>
From: Meir Tseitlin <mirots@gmail.com>
To: Olivier MATZ <olivier.matz@6wind.com>
Content-Type: text/plain; charset=ISO-8859-1
X-Content-Filtered-By: Mailman/MimeDel 2.1.15
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] Pcap question
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: patches and discussions about DPDK <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Mon, 03 Mar 2014 19:30:02 -0000

Hi Olivier,

The patch did solved compilation errors (Thanks!), but now I am again
experiencing linkage error with executables I had in previous versions as
well:

  LD dump_cfg
/usr/bin/ld: unrecognized option '-Wl'
/usr/bin/ld: use the --help option for usage information
collect2: error: ld returned 1 exit status
make[3]: *** [dump_cfg] Error 1
make[2]: *** [dump_cfg] Error 2
make[2]: *** Waiting for unfinished jobs....

  LD cmdline_test
/usr/bin/ld: unrecognized option '-Wl'
/usr/bin/ld: use the --help option for usage information
collect2: error: ld returned 1 exit status
make[3]: *** [cmdline_test] Error 1
make[2]: *** [cmdline_test] Error 2

  LD testpmd
/usr/bin/ld: unrecognized option '-Wl'
/usr/bin/ld: use the --help option for usage information
collect2: error: ld returned 1 exit status
make[3]: *** [testpmd] Error 1
make[2]: *** [test-pmd] Error 2


I tried it with binutils 2.22 and 2.24.

It does not happen when compiling without pcap flag enabled

Can you please put some light on it?

Many thanks
Meir Tseitlin


On Sun, Mar 2, 2014 at 10:11 PM, Olivier MATZ <olivier.matz@6wind.com>wrote:

> Hi Meir,
>
>
> On 03/02/2014 08:13 PM, Meir Tseitlin wrote:
>
>> I am experiencing problem with compiling libpcap extension with all recent
>> versions
>>
>
> Indeed, I can reproduce the compilation error on current dev version.
> The cause seems to be a conflict between the patches I submitted
> (rte_kvargs) and the one from Mats Liljegren which was commited the
> day before:
>
> http://dpdk.org/browse/dpdk/commit/?h=1.5.2&id=
> 4c745617a18fc37bd2a08aad512846a416665ae3
>
> I will submit a fix.
>
> Olivier
>
>


-- 
Kind regards,
*Meir Tseitlin*
Software architect*Mobile:* +972.54.7647417
*Fax:* +972.72.2812365
*Email:* meir.tech@gmail.com
 *http://il.linkedin.com/in/meirts <http://il.linkedin.com/in/meirts>*
*Independent consultant*
<http://maps.google.com/maps?q=&hl=en>
See who we know in
common<http://www.linkedin.com/e/wwk/6408776/?hs=false&tok=2g4qg82N8Sb5U1>Want
a signature like
this?<http://www.linkedin.com/e/sig/6408776/?hs=false&tok=20mz9jA_USb5U1>