You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to build mpiP using "icx" on intel CPUs, but met the following issue. how to fix it?
pc_lookup.c:115:41: error: parameter 'data' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
find_address_in_section (abfd, section, data)
^
pc_lookup.c:118:6: error: expected function body after function declarator
PTR data;
^
pc_lookup.c:119:1: error: expected identifier or '('
{
^
pc_lookup.c:438:58: error: use of undeclared identifier 'PTR'
bfd_map_over_sections (abfd, find_address_in_section, (PTR) NULL);
^
pc_lookup.c:438:32: error: use of undeclared identifier 'find_address_in_section'
bfd_map_over_sections (abfd, find_address_in_section, (PTR) NULL);
^
pc_lookup.c:480:35: error: use of undeclared identifier 'PTR'
(PTR) NULL);
^
pc_lookup.c:479:44: error: use of undeclared identifier 'find_address_in_section'
bfd_map_over_sections (fso->bfd, find_address_in_section,
^
7 errors generated.
make: *** [Rules.mak:6: pc_lookup.o] Error 1
The text was updated successfully, but these errors were encountered:
Hi,
I am trying to build mpiP using "icx" on intel CPUs, but met the following issue. how to fix it?
The text was updated successfully, but these errors were encountered: