Problems with tinc configure with gmp 3.0.1
John Lange
johnl at clearoption.com
Sun Oct 8 20:29:12 CEST 2000
Ok, I'm way slow in replying to this but I've finally got around to trying to
get tinc up and running again.
The problem is, tinc ./configure will not find gmp 3.0.1. I was asked for the
relevent lines in config.log, so here they are below.
Just so anyone reading this knows, the work around is to use gmp-2.0.1 instead.
I had to manually remove libgmp from /usr/local/lib to get the old version to
install.
My understanding is this should all go away in tinc1.0pre3.
----- snip -----
configure:4197: checking for mpz_powm in -lgmp2
configure:4216: gcc -o conftest -g -O2 conftest.c -lgmp2 1>&5
/usr/i386-slackware-linux/bin/ld: cannot open -lgmp2: No such file or directory
collect2: ld returned 1 exit status
configure: failed program was:
#line 4205 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char mpz_powm();
int main() {
mpz_powm()
; return 0; }
configure:4239: checking for mpz_powm in -lgmp3
configure:4258: gcc -o conftest -g -O2 conftest.c -lgmp3 1>&5
/usr/i386-slackware-linux/bin/ld: cannot open -lgmp3: No such file or directory
collect2: ld returned 1 exit status
configure: failed program was:
#line 4247 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char mpz_powm();
int main() {
mpz_powm()
; return 0; }
configure:4281: checking for mpz_powm in -lgmp
configure:4300: gcc -o conftest -g -O2 conftest.c -lgmp 1>&5
/tmp/ccfm1s1e.o: In function `main':
/home/wangster/tinc-1.0pre2/configure:4296: undefined reference to `mpz_powm'
collect2: ld returned 1 exit status
configure: failed program was:
#line 4289 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char mpz_powm();
int main() {
mpz_powm()
; return 0; }
----- end snip ------
John Lange
-
Tinc: Discussion list about the tinc VPN daemon
Archive: http://mail.nl.linux.org/lists/
Tinc site: http://ftp.nl.linux.org/pub/linux/tinc/
More information about the Tinc
mailing list