Results 1 to 2 of 2

Thread: GMP error

  1. #1
    Join Date
    Sep 2019
    Beans
    1

    GMP error

    Hello, I have installed gmp library on a centos system. The problem is while compiling only mpz_inits and mpz_clears are giving errors, all the other functions compile fine.
    The errors given are:
    undefined reference to `__gmpz_inits'
    undefined reference to `__gmpz_clears'

    If I used multiple mpz_init and mpz_clear, the program compiles without any error and gives the appropriate output.
    Why is this happening? Please help.

  2. #2
    Join Date
    Oct 2006
    Beans
    58,282

    Re: GMP error

    Thread moved to the "Fedora/RedHat and derivatives" forum.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •