[PATCH v10 09/11] DIGEST: calculation
Andreas Schwab
schwab@suse.de
Wed Mar 8 10:38:49 GMT 2023
../../ld/ldcrc64.c:109:1: error: conflicting types for 'init_crc64_tab'
int64_t *(algorithm_desc_t *)' {aka 'long long unsigned int *(algorithm
)'}
109 | init_crc64_tab (algorithm_desc_t * dsc)
| ^~~~~~~~~~~~~~
In file included from ../../ld/ldcrc64.c:33:
../../ld/lddigest.h:166:17: note: previous declaration of 'init_crc64_t
type 'bfd_vma *(algorithm_desc_t *)' {aka 'long unsigned int *(algorithm_desc_t *)'}
166 | extern bfd_vma *init_crc64_tab (algorithm_desc_t * dsc);
| ^~~~~~~~~~~~~~
../../ld/ldcrc64.c:140:10: error: conflicting types for 'calc_crc64'; have 'uint64_t(algorithm_desc_t *, const unsigned char *, size_t)' {aka 'long long unsigned int(algorithm_desc_t *, const unsigned char *, unsigned int)'}
140 | uint64_t calc_crc64
| ^~~~~~~~~~
../../ld/lddigest.h:167:16: note: previous declaration of 'calc_crc64' with type 'bfd_vma(algorithm_desc_t *, const unsigned char *, size_t)' {aka 'long unsigned int(algorithm_desc_t *, const unsigned char *, unsigned int)'}
167 | extern bfd_vma calc_crc64
| ^~~~~~~~~~
make[4]: *** [Makefile:1604: ldcrc64.o] Error 1
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
More information about the Binutils
mailing list