[DPDK/examples Bug 1530] examples/vm_power_manager fails to build on aarch64 with gcc14
bugzilla at dpdk.org
bugzilla at dpdk.org
Fri Aug 30 09:45:06 CEST 2024
https://bugs.dpdk.org/show_bug.cgi?id=1530
Bug ID: 1530
Summary: examples/vm_power_manager fails to build on aarch64
with gcc14
Product: DPDK
Version: 22.11
Hardware: ARM
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: examples
Assignee: dev at dpdk.org
Reporter: guillaume.gardet at arm.com
Target Milestone: ---
examples/vm_power_manager fails to build with gcc14 on openSUSE Tubmleweed
aarch64.
Compiler version:
gcc (SUSE Linux) 14.2.0
Build error:
../examples/vm_power_manager/guest_cli/vm_power_cli_guest.c: In function
‘cmd_query_freq_list_parsed’:
../examples/vm_power_manager/guest_cli/vm_power_cli_guest.c:207:42: error:
implicit declaration of function ‘strtol’; did you mean ‘strtok’?
[-Wimplicit-function-declaration]
207 | lcore_id = (unsigned int)strtol(res->cpu_num, &ep,
10);
| ^~~~~~
| strtok
Adding the missing stdlib.h header fixes the problem.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/dev/attachments/20240830/31402b46/attachment.htm>
More information about the dev
mailing list