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

[fixed]svn branch kde3 does not compile

Tags: None
(comma "," separated)
stoeptegel
Registered Member
Posts
1075
Karma
0
Code: Select all
compiling /home/martijn/svn/ktorrent/libktorrent/mse/bigint.cpp
g++ -DHAVE_CONFIG_H -I./libktorrent/mse -I/home/martijn/svn/ktorrent/libktorrent/mse -I. -I/home/martijn/svn/ktorrent/libktorrent/mse/.. -I/usr/include/kde -I/usr/share/qt3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -fno-builtin -g3 -fno-inline -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -fexceptions -fPIC -DPIC -c /home/martijn/svn/ktorrent/libktorrent/mse/bigint.cpp -o ./libktorrent/mse/.libs/bigint.o -Wp,-MD,./libktorrent/mse/.deps/bigint.TUlo
In bestand ingevoegd door /home/martijn/svn/ktorrent/libktorrent/mse/bigint.cpp:26:
/home/martijn/svn/ktorrent/libktorrent/mse/bigint.h:26:17: fout: gmp.h: Bestand of map bestaat niet
/home/martijn/svn/ktorrent/libktorrent/mse/bigint.h:93: fout: ‘mpz_t’ does not name a type
/home/martijn/svn/ktorrent/libktorrent/mse/bigint.cpp: In constructor ‘mse::BigInt::BigInt(bt::Uint32)’:
/home/martijn/svn/ktorrent/libktorrent/mse/bigint.cpp:36: fout: ‘val’ was not declared in this scope
/home/martijn/svn/ktorrent/libktorrent/mse/bigint.cpp:36: fout: ‘mpz_init2’ was not declared in this scope
/home/martijn/svn/ktorrent/libktorrent/mse/bigint.cpp: In constructor ‘mse::BigInt::BigInt(const QString&)’:
/home/martijn/svn/ktorrent/libktorrent/mse/bigint.cpp:41: fout: ‘val’ was not declared in this scope
/home/martijn/svn/ktorrent/libktorrent/mse/bigint.cpp:41: fout: ‘mpz_init2’ was not declared in this scope
/home/martijn/svn/ktorrent/libktorrent/mse/bigint.cpp:42: fout: ‘mpz_set_str’ was not declared in this scope
/home/martijn/svn/ktorrent/libktorrent/mse/bigint.cpp: In copy constructor ‘mse::BigInt::BigInt(const mse::BigInt&)’:
/home/martijn/svn/ktorrent/libktorrent/mse/bigint.cpp:47: fout: ‘val’ was not declared in this scope
/home/martijn/svn/ktorrent/libktorrent/mse/bigint.cpp:47: fout: ‘const class mse::BigInt’ has no member named ‘val’
/home/martijn/svn/ktorrent/libktorrent/mse/bigint.cpp:47: fout: ‘mpz_set’ was not declared in this scope
/home/martijn/svn/ktorrent/libktorrent/mse/bigint.cpp: In destructor ‘virtual mse::BigInt::~BigInt()’:
/home/martijn/svn/ktorrent/libktorrent/mse/bigint.cpp:52: fout: ‘val’ was not declared in this scope
/home/martijn/svn/ktorrent/libktorrent/mse/bigint.cpp:52: fout: ‘mpz_clear’ was not declared in this scope
/home/martijn/svn/ktorrent/libktorrent/mse/bigint.cpp: In member function ‘mse::BigInt& mse::BigInt::operator=(const mse::BigInt&)’:
/home/martijn/svn/ktorrent/libktorrent/mse/bigint.cpp:58: fout: ‘val’ was not declared in this scope
/home/martijn/svn/ktorrent/libktorrent/mse/bigint.cpp:58: fout: ‘const class mse::BigInt’ has no member named ‘val’
/home/martijn/svn/ktorrent/libktorrent/mse/bigint.cpp:58: fout: ‘mpz_set’ was not declared in this scope
/home/martijn/svn/ktorrent/libktorrent/mse/bigint.cpp: In static member function ‘static mse::BigInt mse::BigInt::powerMod(const mse::BigInt&, const mse::BigInt&, const mse::BigInt&)’:
/home/martijn/svn/ktorrent/libktorrent/mse/bigint.cpp:65: fout: ‘class mse::BigInt’ has no member named ‘val’
/home/martijn/svn/ktorrent/libktorrent/mse/bigint.cpp:65: fout: ‘const class mse::BigInt’ has no member named ‘val’
/home/martijn/svn/ktorrent/libktorrent/mse/bigint.cpp:65: fout: ‘const class mse::BigInt’ has no member named ‘val’
/home/martijn/svn/ktorrent/libktorrent/mse/bigint.cpp:65: fout: ‘const class mse::BigInt’ has no member named ‘val’
/home/martijn/svn/ktorrent/libktorrent/mse/bigint.cpp:65: fout: ‘mpz_powm’ was not declared in this scope
/home/martijn/svn/ktorrent/libktorrent/mse/bigint.cpp: In member function ‘bt::Uint32 mse::BigInt::toBuffer(bt::Uint8*, bt::Uint32) const’:
/home/martijn/svn/ktorrent/libktorrent/mse/bigint.cpp:89: fout: ‘val’ was not declared in this scope
/home/martijn/svn/ktorrent/libktorrent/mse/bigint.cpp:89: fout: ‘mpz_export’ was not declared in this scope
/home/martijn/svn/ktorrent/libktorrent/mse/bigint.cpp: At global scope:
/home/martijn/svn/ktorrent/libktorrent/mse/bigint.cpp:86: let op: unused parameter ‘max_size’
/home/martijn/svn/ktorrent/libktorrent/mse/bigint.cpp: In static member function ‘static mse::BigInt mse::BigInt::fromBuffer(const bt::Uint8*, bt::Uint32)’:
/home/martijn/svn/ktorrent/libktorrent/mse/bigint.cpp:96: fout: ‘class mse::BigInt’ has no member named ‘val’
/home/martijn/svn/ktorrent/libktorrent/mse/bigint.cpp:96: fout: ‘mpz_import’ was not declared in this scope
Error creating ./libktorrent/mse/bigint.lo. Exit status 1.

Last edited by stoeptegel on Sat Oct 20, 2007 12:12 pm, edited 1 time in total.
lucke
Registered Member
Posts
205
Karma
0

Wed Oct 17, 2007 9:49 am
Compiled latest svn yesterday without a problem, with gcc 4.2.2.
stoeptegel
Registered Member
Posts
1075
Karma
0

Wed Oct 17, 2007 12:44 pm
Yeah, i have gcc 4.1.2 but i do not know where that leaves me.
Athantor
Registered Member
Posts
45
Karma
0

Fri Oct 19, 2007 2:49 pm
I'm guessing, this:
Code: Select all
/home/martijn/svn/ktorrent/libktorrent/mse/bigint.h:26:17: fout: gmp.h: Bestand of map bestaat niet


means that file „gmp.h” wasn't found? Do you have this file in compiler include path (I've got it in „/usr/include/”)?

Code: Select all
$ grep -e gmp.h config.log
?


Image Image
stoeptegel
Registered Member
Posts
1075
Karma
0

Fri Oct 19, 2007 4:44 pm
No i do not think this file is in the compiler path
Code: Select all
$ grep -e gmp.h config.log
configure:35189: checking gmp.h usability
conftest.cpp:102:17: error: gmp.h: No such file or directory
| #include <gmp.h>
configure:35230: checking gmp.h presence
conftest.cpp:69:17: error: gmp.h: No such file or directory
| #include <gmp.h>
configure:35293: checking for gmp.h
ac_cv_header_gmp_h=no


How do i get it in?
Athantor
Registered Member
Posts
45
Karma
0

Fri Oct 19, 2007 8:56 pm
Maybe try to reinstall „gmp” and/or „gmp-dev”?

E.g. for Gentoo, I've got this file in „dev-libs/gmp”.


Image Image
stoeptegel
Registered Member
Posts
1075
Karma
0

Sat Oct 20, 2007 12:11 pm
:oops: It wasn't even installed... next time i should check ./configure better... :wink:


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot]