From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-x232.google.com (mail-wg0-x232.google.com [IPv6:2a00:1450:400c:c00::232]) by dpdk.org (Postfix) with ESMTP id 6BCE668C8 for ; Mon, 3 Mar 2014 22:08:18 +0100 (CET) Received: by mail-wg0-f50.google.com with SMTP id l18so3996302wgh.9 for ; Mon, 03 Mar 2014 13:09:45 -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=gT7WYA8Z2o4b6MmKktszJsBIEHvO4D9BYyPRK5maaIc=; b=Wj3GIcr29Jiyp2Y4FZ/Rx+UrO19JMSmdQvnn2aDtYn1QpLH5+1WQZCR6UmsG7pklwm L3U4EjmpS2h/wlMHxwoNrhEwlS04Bqq2m+UCdKjnwMMaoqLUghkcd9S+Ev1ONZhwOBei TsWS59Y5qB7oZrkUE0LtNaQ1bG9tMDXRIz3ZY+DDSamAYyuv4PkBEOWNJKq92T9B6QoO fFmWf8CzZ4BU9yvkbncq+xIMwIqwrhzCBaORGoRRHbvhAsBeNJMZ/XWMWDpZRml6/c9/ CwlHS2gVyT2nGPrLiC+kxgGh7UOVgm+S19MlQnddxMsDF437RYMzDCpelJIx3G1cs2Bh X0Zg== MIME-Version: 1.0 X-Received: by 10.194.219.132 with SMTP id po4mr21784079wjc.7.1393880985703; Mon, 03 Mar 2014 13:09:45 -0800 (PST) Received: by 10.194.85.169 with HTTP; Mon, 3 Mar 2014 13:09:45 -0800 (PST) In-Reply-To: <5314E6F4.2090709@6wind.com> References: <5313905E.7000603@6wind.com> <5314E6F4.2090709@6wind.com> Date: Mon, 3 Mar 2014 23:09:45 +0200 Message-ID: From: Meir Tseitlin To: Olivier MATZ 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Mar 2014 21:08:18 -0000 Hi Olivier, make V=1 output (last lines): == Build lib/librte_meter == Build lib/librte_sched == Build lib/librte_kni == Build app make S=app -f /home/cigol/libs/dpdk-1.6.0r1-patch/app/Makefile -C /home/cigol/libs/dpdk-1.6.0r1-patch/build/build/app all == Build app/test gcc -m64 -pthread -march=native -DRTE_MACHINE_CPUFLAG_SSE -DRTE_MACHINE_CPUFLAG_SSE2 -DRTE_MACHINE_CPUFLAG_SSE3 -DRTE_MACHINE_CPUFLAG_SSSE3 -DRTE_MACHINE_CPUFLAG_SSE4_1 -DRTE_MACHINE_CPUFLAG_SSE4_2 -DRTE_COMPILE_TIME_CPUFLAGS=RTE_CPUFLAG_SSE,RTE_CPUFLAG_SSE2,RTE_CPUFLAG_SSE3,RTE_CPUFLAG_SSSE3,RTE_CPUFLAG_SSE4_1,RTE_CPUFLAG_SSE4_2 -I/usr/local/include -I/home/cigol/libs/dpdk-1.6.0r1-patch/build/include -include /home/cigol/libs/dpdk-1.6.0r1-patch/build/include/rte_config.h -O3 -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wpointer-arith -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -D_GNU_SOURCE -Wl,-Map=test.map,--cref -o test commands.o test.o test_pci.o test_prefetch.o test_byteorder.o test_per_lcore.o test_atomic.o test_malloc.o test_cycles.o test_spinlock.o test_memory.o test_memzone.o test_ring.o test_ring_perf.o test_rwlock.o test_timer.o test_mempool.o test_mempool_perf.o test_mbuf.o test_logs.o test_memcpy.o test_memcpy_perf.o test_hash.o test_hash_perf.o test_lpm.o test_lpm6.o test_debug.o test_errno.o test_tailq.o test_string_fns.o test_mp_secondary.o test_cpuflags.o test_eal_flags.o test_alarm.o test_interrupts.o test_version.o test_eal_fs.o test_func_reentrancy.o test_cmdline.o test_cmdline_num.o test_cmdline_etheraddr.o test_cmdline_portlist.o test_cmdline_ipaddr.o test_cmdline_cirbuf.o test_cmdline_string.o test_cmdline_lib.o test_red.o test_sched.o test_meter.o test_kni.o test_power.o test_common.o test_timer_perf.o test_ivshmem.o test_pmd_ring.o test_kvargs.o -Wl,-export-dynamic -Wl,-L/home/cigol/libs/dpdk-1.6.0r1-patch/build/lib -Wl,-L/home/cigol/libs/dpdk-1.6.0r1-patch/build/lib -Wl,-lrte_kni -Wl,-lrte_pmd_e1000 -Wl,-lrte_pmd_ixgbe -Wl,-lrte_pmd_virtio -Wl,-lrte_pmd_vmxnet3 -Wl,-lrte_timer -Wl,-lrte_hash -Wl,-lrte_lpm -Wl,-lrte_power -Wl,-lrte_meter -Wl,-lrte_sched -Wl,-lm -Wl,-lrt -Wl,--start-group -Wl,-lrte_kvargs -Wl,-lrte_mbuf -Wl,-lethdev -Wl,-lrte_pmd_ring -Wl,-lrte_malloc -Wl,-lrte_mempool -Wl,-lrte_ring -Wl,-lrte_eal -Wl,-lrte_cmdline -Wl,-lrte_pmd_pcap -Wl,-L/usr/local/lib -Wl,-Wl,-rpath,/usr/local/lib -Wl,-lpcap -Wl,-lrt -Wl,-lm -Wl,-ldl -Wl,--end-group /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]: *** [test] Error 1 make[2]: *** [test] Error 2 make[1]: *** [app] Error 2 make: *** [all] Error 2 Thanks Meir On Mon, Mar 3, 2014 at 10:32 PM, Olivier MATZ wrote: > 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 > > -- 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 * *Independent consultant* See who we know in commonWant a signature like this?