From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <olivier.matz@6wind.com>
Received: from mail.droids-corp.org (zoll.droids-corp.org [94.23.50.67])
 by dpdk.org (Postfix) with ESMTP id 030BA6968
 for <dev@dpdk.org>; Mon,  3 Mar 2014 21:30:58 +0100 (CET)
Received: from was59-1-82-226-113-214.fbx.proxad.net ([82.226.113.214]
 helo=[192.168.0.10]) by mail.droids-corp.org with esmtpsa
 (TLS1.0:DHE_RSA_CAMELLIA_256_CBC_SHA1:256) (Exim 4.80)
 (envelope-from <olivier.matz@6wind.com>)
 id 1WKZYI-0007vw-Fk; Mon, 03 Mar 2014 21:33:32 +0100
Message-ID: <5314E6F4.2090709@6wind.com>
Date: Mon, 03 Mar 2014 21:32:52 +0100
From: Olivier MATZ <olivier.matz@6wind.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
 rv:17.0) Gecko/20131103 Icedove/17.0.10
MIME-Version: 1.0
To: Meir Tseitlin <mirots@gmail.com>
References: <CA+Typ9mqB4nQ1MoztqSKQ1QvQX_nWQHDybw3tTuyuqghySLGRQ@mail.gmail.com>
 <5313905E.7000603@6wind.com>
 <CA+Typ9kW8gp4fLL7=q95ZbBjB030hAjMzh-CBn_iydWC1mPT4w@mail.gmail.com>
In-Reply-To: <CA+Typ9kW8gp4fLL7=q95ZbBjB030hAjMzh-CBn_iydWC1mPT4w@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
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 20:30:58 -0000

Hi Meir,

On 03/03/2014 08:31 PM, Meir Tseitlin wrote:
> 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....

Could you please retry with make V=1 ?
It will display the full command line.

This may be related to the following line in rte.app.mk:
LIBPCAP_LDFLAGS ?= $(shell pcap-config --libs).

You check the result of "pcap-config --libs" in a shell.

Regards,
Olivier