Problems occurred during the installation of make in Linuxpbc.
Source: Internet
Author: User
If there is a problem during the installation of make in Linuxpbc, please refer to general Linux technology-Linux technology and application information. The following is a detailed description. Install the pbc in Linux. the gmp has been installed. version 4.2.1 and pbc0.4.12.
The gmp installation process is smooth:./configure; make check; make install.
There is no problem with./configure during the installation of the pbc, but there is a problem in the make Stage:
/Usr/local/include/gmp. h: 1711: multiple definition of '_ gmpz_perfect_square_p'
. Libs/libpbc_la-field.o:/usr/local/include/gmp. h: 1711: first defined here
. Libs/libpbc_la-extend_printf.o: In function '_ gmpz_neg ':
/Usr/local/include/gmp. h: 1698: multiple definition of '_ gmpz_neg'
. Libs/libpbc_la-field.o:/usr/local/include/gmp. h: 1698: first defined here
. Libs/libpbc_la-extend_printf.o: In function '_ gmpz_abs ':
/Usr/local/include/gmp. h: 1600: multiple definition of '_ gmpz_abs'
. Libs/libpbc_la-field.o:/usr/local/include/gmp. h: 1600: first defined here
Collect2: ld returned 1 exit status
Make [2]: *** [libpbc. la] Error 1
Make [2]: Leaving directory '/home/soft/pbc-0.4.12'
Make [1]: *** [all-recursive] Error 1
Make [1]: Leaving directory '/home/soft/pbc-0.4.12'
Make: *** [all] Error 2
The above exhausting error N is too large, and the number of words is required. it cannot be placed here. The Linux Terminal is directly flushed, and the previous information is completely invisible. the rest of the screen is multiple definition... first defined here... something similar to the listed code.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service