From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla@dpdk.org
Subject: [Bug 222] When setting CONFIG_RTE_LIBRTE_PDUMP=n,
build fails with "undefined reference to `test_pdump'"
Date: Sat, 09 Mar 2019 16:24:50 +0000
Message-ID:
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
To: dev@dpdk.org
Return-path:
List-Id: DPDK patches and discussions
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: dev-bounces@dpdk.org
Sender: "dev"
https://bugs.dpdk.org/show_bug.cgi?id=3D222
Bug ID: 222
Summary: When setting CONFIG_RTE_LIBRTE_PDUMP=3Dn, build fails
with "undefined reference to `test_pdump'"
Product: DPDK
Version: 19.02
Hardware: x86
OS: Linux
Status: CONFIRMED
Severity: normal
Priority: Normal
Component: other
Assignee: dev@dpdk.org
Reporter: ramirose@gmail.com
Target Milestone: ---
Running the following steps:
Cloning DPDK tree (git clone http://dpdk.org/git/dpdk)
make config T=3Dx86_64-native-linuxapp-gcc
setting CONFIG_RTE_LIBRTE_PDUMP=3Dn in build/.config
running "make"
...
...
CC test_ipsec.o
LD test
/usr/bin/ld: test.o: in function `main':
test.c:(.text.startup+0x91): undefined reference to `test_pdump'
/usr/bin/ld: test_eal_flags.o: in function `process_dup.constprop.7':
test_eal_flags.c:(.text+0x4a4): undefined reference to `flag_for_send_pkts'
/usr/bin/ld: test_eal_flags.c:(.text+0x4b3): undefined reference to `send_p=
kts'
collect2: error: ld returned 1 exit status
make[3]: *** [/work/down/temp/dpdk/mk/rte.app.mk:399: test] Error 1
make[2]: *** [/work/down/temp/dpdk/mk/rte.subdir.mk:37: test] Error 2
make[1]: *** [/work/down/temp/dpdk/mk/rte.sdkbuild.mk:48: app] Error 2
make: *** [/work/down/temp/dpdk/mk/rte.sdkroot.mk:99: all] Error 2
..
...
This happens on 4.19.4-300.fc29.x86_64.
The error is reproducible and consistent.
It did not happen on previous releases of DPDK (though I don't remember exa=
ctly
which)
--=20
You are receiving this mail because:
You are the assignee for the bug.=