This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Error: L6218E: Undefined symbol pairing

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

Parents
  • hi
    since i filed to generate the implementation libraries files with msys emulation tool i had to change my code
    the new code is about calculating energy, ETX and the position of nodes in WSN it includes:
    #include <stdio.h>
    #include <stdlib.h>
    #include <math.h>
    #include "ESSAI2.h"

    however i get this warning warning: #223-D: function "min" declared implicitly
    then this error
    Error: L6218E: Undefined symbol min (referred from main.o).

    from other discussions i got to know that it's not a Linker issue

    But i couldn't rectify it ..please do you have any hint to help me

Reply
  • hi
    since i filed to generate the implementation libraries files with msys emulation tool i had to change my code
    the new code is about calculating energy, ETX and the position of nodes in WSN it includes:
    #include <stdio.h>
    #include <stdlib.h>
    #include <math.h>
    #include "ESSAI2.h"

    however i get this warning warning: #223-D: function "min" declared implicitly
    then this error
    Error: L6218E: Undefined symbol min (referred from main.o).

    from other discussions i got to know that it's not a Linker issue

    But i couldn't rectify it ..please do you have any hint to help me

Children