diff --git a/configure b/configure index f22b5bb00..bfbba787f 100755 --- a/configure +++ b/configure @@ -376,7 +376,8 @@ if [ -z "${CONFIG[ENV]}" ]; then # program, just compile it if ! echo -e '#include \n' \ 'int main(void) { return rte_vhost_extern_callback_register(0, NULL, NULL); }\n' \ - | $BUILD_CMD -c -Wno-deprecated-declarations -I"${CONFIG[DPDK_DIR]}/include" -; then + | $BUILD_CMD -c -Wno-deprecated-declarations -Werror \ + -I"${CONFIG[DPDK_DIR]}/include" -; then echo "Notice: DPDK's rte_vhost not found or version < 19.05, using internal," \ "legacy rte_vhost library." CONFIG[VHOST_INTERNAL_LIB]=y