>> Hello,
>>
>> I notice many warnings. To reproduce:
>>
>> On Debian bookworm.
>>
>> sudo apt install dpdk-dev
>>
>> git clone https://git.tcpdump.org/libpcap
>>
>> # build with clang
>>
>> $ ./autogen.sh
>>
>> $ ./configure CC=clang-16 --with-dpdk
>>
>> $ make
>>
>> Warning lines:
>> /usr/include/dpdk/rte_ring_elem_pvt.h:13:36: warning: 'GCC_VERSION' is not 
>> defined, evaluates to 0 [-
>> Wundef]
> 
>> What do you think?
> 
> For the first warning there was a commit 3cb34fb0b0 "build: set toolchain 
> macros from predefined macros" dated 2024-01-02 that was fixing similar 
> issue. It is possible that documentation issues were fixed since 
> bookworm-shipped version 22.11 as well. Depending on your goals you may try 
> newer DPDK version, compiling libpcap with gcc and/or fewer warnings or just 
> ignoring these warnings.

Thanks, I will test a newer version.

Reply via email to