-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
Hi,
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
Metadata
Metadata
Assignees
Labels
No labels