| 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.