problem compiling dch++ on slacware 10

DCH++ has been abandoned, this forum serves mainly as an archive

Moderator: Moderators

Locked
whitewidow
Posts: 2
Joined: 2005-01-19 12:06

problem compiling dch++ on slacware 10

Post by whitewidow » 2005-01-19 12:11

Hi, i have tried to compile dch++ from subversion but when i compile i get this error:

Util.h:33: error: invalid use of undefined type `class IsOfClassType<int64_t>'
Util.h:28: error: declaration of `class IsOfClassType<int64_t>'
Util.h:33: error: enumerator value for `Result' not integer constant
Util.h: In instantiation of `IsOfClassType<std::string>':
Util.h:38: instantiated from `TypeTraits<std::string>'
AccessInfo.h:37: instantiated from here
Util.h:33: error: invalid use of undefined type `class
IsOfClassType<std::string>'
Util.h:28: error: declaration of `class IsOfClassType<std::string>'
Util.h:33: error: enumerator value for `Result' not integer constant
Util.h: In instantiation of `IsOfClassType<int>':
Util.h:38: instantiated from `TypeTraits<int>'
AccessInfo.h:39: instantiated from here
Util.h:33: error: invalid use of undefined type `class IsOfClassType<int>'
Util.h:28: error: declaration of `class IsOfClassType<int>'
Util.h:33: error: enumerator value for `Result' not integer constant
Util.h: In instantiation of `IsOfClassType<bool>':
Util.h:38: instantiated from `TypeTraits<bool>'
AccessInfo.h:43: instantiated from here
Util.h:33: error: invalid use of undefined type `class IsOfClassType<bool>'
Util.h:28: error: declaration of `class IsOfClassType<bool>'
Util.h:33: error: enumerator value for `Result' not integer constant
make[2]: *** [libdchpp_la-AccessManager.lo] Error 1
make[2]: Leaving directory `/root/dchpp-1.0/hub'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/dchpp-1.0/hub'
make: *** [all-recursive] Error 1

I'm not a linux expert so i don't know how to fix this..pls help me

yakko
Posts: 258
Joined: 2003-01-27 01:04
Contact:

Post by yakko » 2005-01-19 13:28

what version of gcc are you using (type gcc -v)?

whitewidow
Posts: 2
Joined: 2005-01-19 12:06

Post by whitewidow » 2005-01-19 13:39

Reading specs from /usr/lib/gcc-lib/i486-slackware-linux/3.3.4/specs
Configured with: ../gcc-3.3.4/configure --prefix=/usr --enable-shared --enable-threads=posix --enable-__cxa_atexit --disable-checking --with-gnu-ld --verbose --target=i486-slackware-linux --host=i486-slackware-linux
Thread model: posix
gcc version 3.3.4

yakko
Posts: 258
Joined: 2003-01-27 01:04
Contact:

Post by yakko » 2005-01-20 10:37

You might need to upgrade. I think you need version 3.4.3.

Sedulus
Forum Moderator
Posts: 687
Joined: 2003-01-04 09:32
Contact:

Post by Sedulus » 2005-01-20 13:38

whitewidow wrote:gcc version 3.3.4

yakko wrote:might

INSTALL wrote:- g++-3.4.1 (3.2.x/3.3.x won't work!) (*3.4.3)
http://dc.selwerd.nl/hublist.xml.bz2
http://www.b.ali.btinternet.co.uk/DCPlusPlus/index.html (TheParanoidOne's DC++ Guide)
http://www.dslreports.com/faq/dc (BSOD2600's Direct Connect FAQ)

yakko
Posts: 258
Joined: 2003-01-27 01:04
Contact:

Post by yakko » 2005-01-20 15:44

I didn't have the readme at hand when I posted that. I just remembered having similar problems. :)

Locked