[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug report
From: |
sean dooley |
Subject: |
bug report |
Date: |
Wed, 01 Aug 2001 00:00:20 +0000 |
Hi,
I'm trying to get GMP set up, but have come across a problem I dont know how
to aolve.
Please accept my humblest apologies if this is a stupid question, or if I am
doing something obviously wrong, but your help would be appreciated.
My problem is that I cant compile anything containing any functions in GMP
except mpx_t. If I try to initialise the integer, the compiler returns an
error. The full error is below.
Thanks,
Sean Dooley
I am using GMP 3.1.1, standard release with no patches.
I didn't use any configuration options when building GMP.
./config.guess gives
pentium3-pc-linux-gnu
I then tried it, giving the target explicitly as -target=pentium3-pc-linux
which did not solve the problem.
The processor is a pIII 550, and I'm running Debian 2.2.19.
gcc version information gives
Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.2/specs
gcc version 2.95.2 20000220 (Debian GNU/Linux)
uname -a gives
Linux debian 2.2.19 #1 Mon Jul 11 19:54:52 GMT 2001 i686 unknown
compiling the following code:
#include <stdio.h>
#include <gmp.h>
int main() {
mpz_t target;
mpz_init (target);
return 0;
}
with the line "gcc -o test test.c"
gives
/tmp/ccpCBUTN.o: In function 'main':
/tmp/ccpCBUTN.o(.text+0xe): undefined reference to '__gmpz_init'
collect2: ld returned 1 exit status
i have attached the config.log file in case that helps.
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
config.log
Description: Binary data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug report,
sean dooley <=