hi i got this error ( am using keilv4 for cortex m0 ) .\code.axf: Error: L6218E: Undefined symbol __gmpz_clear (referred from bls.o). .\code.axf: Error: L6218E: Undefined symbol __gmpz_get_si (referred from bls.o). .\code.axf: Error: L6218E: Undefined symbol __gmpz_init (referred from bls.o). .\code.axf: Error: L6218E: Undefined symbol element_from_bytes_compressed (referred from bls.o). .\code.axf: Error: L6218E: Undefined symbol element_from_bytes_x_only (referred from bls.o). .\code.axf: Error: L6218E: Undefined symbol element_pow2_mpz (referred from bls.o). .\code.axf: Error: L6218E: Undefined symbol element_pow3_mpz (referred from bls.o). .\code.axf: Error: L6218E: Undefined symbol element_printf (referred from bls.o). .\code.axf: Error: L6218E: Undefined symbol element_to_bytes_compressed (referred from bls.o). .\code.axf: Error: L6218E: Undefined symbol element_to_bytes_x_only (referred from bls.o). .\code.axf: Error: L6218E: Undefined symbol pairing_clear (referred from bls.o). .\code.axf: Error: L6218E: Undefined symbol pairing_init_set_buf (referred from bls.o). .\code.axf: Error: L6218E: Undefined symbol pbc_die (referred from bls.o). .\code.axf: Error: L6218E: Undefined symbol pbc_free (referred from bls.o). .\code.axf: Error: L6218E: Undefined symbol pbc_malloc (referred from bls.o).
please does anyone have an idea how can i solve these errors thankx
So - you seem to be using the PCB and GMB libraries - but why did you not tell us that directly? Wouldn't knowledge about the relevant libraries be an important part for anyone who should answer?
crypto.stanford.edu/.../ https://gmplib.org/
The linker misses code. Shouldn't you make sure you have included all source files or maybe all prebuilt library files?