This forum has been archived. All content is frozen. Please use KDE Discuss instead.

make: gmp.h and mpz_t error

Tags: None
(comma "," separated)
toxic_antidote
Registered Member
Posts
2
Karma
0

make: gmp.h and mpz_t error

Sun Nov 18, 2007 7:14 am
Hi, I was in the middle of "making" ktorrent 2.2.2 and I received the following errors that I couldn't solve:
__________________________________________________________________
In file included from ../../libktorrent/mse/encryptedauthenticate.h:25,
from peermanager.cpp:36:
../../libktorrent/mse/bigint.h:26:17: error: gmp.h: No such file or directory
../../libktorrent/mse/bigint.h:93: error: 'mpz_t' does not name a type
make[4]: *** [peermanager.lo] Error 1
make[4]: Leaving directory `/home/steven/Desktop/ktorrent-2.2.2/libktorrent/torrent'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/steven/Desktop/ktorrent-2.2.2/libktorrent'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/steven/Desktop/ktorrent-2.2.2/libktorrent'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/steven/Desktop/ktorrent-2.2.2'
make: *** [all] Error 2
_______________________________________________________________

1) The first one is gmp.h, it states that it could not be found, so I went on the internet and found a copy, downloaded and put it in my libktorrent/mse/ folder. After I re-made it, I still get that error.

2) The output said "'mpz_t' does not name a type" so I opened up bigint.cpp to find out what the problem is, but instead I found two functions called mpz_export() and mpz_import(). I have no idea how those functions relate to a type "mpz_t". Could somebody help clarify this for me?

I should probably tell you guys that I am using Ubuntu 7.10 Gutsy but I have installed the kdebase-dev package. Any help on the above problems would be greatly appreciated.
MoDaX
Registered Member
Posts
241
Karma
0
OS

Sun Nov 18, 2007 1:59 pm
install libgmp3-dev


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell, Yahoo [Bot]