[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gmp problem
From: |
Guohua Ma |
Subject: |
gmp problem |
Date: |
Thu, 20 Feb 2003 13:35:33 -0600 (CST) |
sorry to send it again. i realized that the previous email address in the
linux system doesnot support receiving email.
i am going to use the gmp library, however when i includ gmp.h and
gmp-impl.h file in my program, it gave me some error messages:
// in line 25 of mpz_out.C file, i included the gmp-impl.h file
following is the error messages:
g++ -g -I.. -I/opt/gmp/include -c -o mpz_out.o mpz_out.C
In file included from mpz_out.C:25:
gmp-impl.h:196: syntax error before `('
gmp-impl.h:197: syntax error before `('
gmp-impl.h:198: syntax error before `('
gmp-impl.h:200: syntax error before `('
gmp-impl.h:201: syntax error before `('
gmp-impl.h:202: syntax error before `('
gmp-impl.h:243: syntax error before `('
gmp-impl.h:256: syntax error before `('
gmp-impl.h:259: syntax error before `('
gmp-impl.h:262: syntax error before `('
gmp-impl.h:265: syntax error before `('
gmp-impl.h:268: syntax error before `('
gmp-impl.h:271: syntax error before `('
gmp-impl.h:277: syntax error before `('
gmp-impl.h:282: syntax error before `('
gmp-impl.h:284: syntax error before `('
gmp-impl.h:285: syntax error before `('
gmp-impl.h:304: syntax error before `('
gmp-impl.h:513: syntax error before `('
gmp-impl.h:903: syntax error before `('
gmp-impl.h:904: syntax error before `('
mpz_out.C: In function `ostream &write (ostream &, const __mpz_struct
&, int)':
mpz_out.C:74: `__gmpn_copyi' undeclared (first use this function)
mpz_out.C:74: (Each undeclared identifier is reported only once for
each function it appears in.)
make: *** [mpz_out.o] Error 1
I am using red hat 7.0 and gmp 4.1
could you help me to fix it?
thanks
guohua
- gmp problem, Guohua Ma, 2003/02/20
- gmp problem,
Guohua Ma <=