* [DPDK/examples Bug 1530] examples/vm_power_manager fails to build on aarch64 with gcc14
@ 2024-08-30 7:45 bugzilla
0 siblings, 0 replies; only message in thread
From: bugzilla @ 2024-08-30 7:45 UTC (permalink / raw)
To: dev
[-- Attachment #1: Type: text/plain, Size: 1300 bytes --]
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@dpdk.org
Reporter: guillaume.gardet@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.
[-- Attachment #2: Type: text/html, Size: 3176 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-08-30 7:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-30 7:45 [DPDK/examples Bug 1530] examples/vm_power_manager fails to build on aarch64 with gcc14 bugzilla
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).