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 <olivier.matz at 6wind.com>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 at 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>