I give up! Help!

holle at almaden.ibm.com holle at almaden.ibm.com
Mon Sep 27 18:26:57 BST 1999



Have you installed the "new" libstdc++ which actually came with the compilers
source code ? I got a static library called /usr/lib/libstdc++.a.2.10.0 after
"make install" in the gcc-2.95.1 main directory. This seems to be default to
link, though I do still have the old libstdc++-.so.2.9.0 with proper links
flying around. THis library (2.10.0) should have been compiled by the new
compiler (I hope, at least) and should work ok with gcc-2.95.1

- holger

"Rick Moore" <lrmoore at home.com> on 24/09/99 21:16:34

Please respond to kdevelop at barney.cs.uni-potsdam.de

To:   kdevelop at barney.cs.uni-potsdam.de
cc:
Subject:  I give up!  Help!




I've searched the mail archive, and I'm astonished that I'm the only one with
this problem.  Please save me from a life cursed with vi.  Your product looks
awesome, and I'd really like to get it working.

I've tried gcc 2.95 (latest release), egcs 1.1.?, gcc 2.7.x, and gcc 2.8.1.  All
of them crap out at various points trying to compile the source code.  From my
searches on the mail list, it sounds like you all have 2.95.1 working so I'll
concentrate on that one.  I'm running a fresh install of FreeBSD 3.2.  I've
confirmed the revision levels of gmake, autoinstall, flex, etc.  The ./configure
line is "./configure --prefix=/usr/local
--with-extra-includes=/usr/include/g++".

Is there anything else I can tell you that might help diagnose the problem?  I'm
still somewhat naive to the ways of the open source community, so it could just
be something stupid.

The compiler output is as follows:

g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/local/include
-I/usr/X11R6/include/X11/qt  -I/usr/include/g++ -I/usr/X11R6/include
-O2 -Wall -c ClassParser.cc
In file included from /usr/include/g++/iostream.h:31,
                 from ClassParser.cc:20:
/usr/include/g++/streambuf.h:394: invalid type `void *' for default argument to
`ios *'
/usr/include/g++/streambuf.h: In method `ios::~ios()':
/usr/include/g++/streambuf.h:472: warning: `void *' is not a pointer-to-object
type
In file included from ClassParser.cc:20:
/usr/include/g++/iostream.h: At top level:
/usr/include/g++/iostream.h:50: invalid type `void *' for default argument to
`ostream *'
/usr/include/g++/iostream.h:117: invalid type `void *' for default argument to
`ostream *'
/usr/include/g++/iostream.h:221: invalid type `void *' for default argument to
`ostream *'
In file included from ParsedContainer.h:191,
                 from ParsedClassContainer.h:22,
                 from ClassStore.h:21,
                 from ClassParser.h:27,
                 from ClassParser.cc:24:
ParsedStruct.h: In method `const char *
CParsedStruct::asPersistantString(QString &)':
ParsedStruct.h:44: ANSI C++ forbids implicit conversion from `void *' in return
In file included from ClassParser.cc:24:
ClassParser.h: At top level:
ClassParser.h:74: invalid type `void *' for default argument to `const char *'
ClassParser.cc: In method `class CParsedAttribute *
CClassParser::parseVariable()':
ClassParser.cc:582: ANSI C++ forbids implicit conversion from `void *' in
initialization
ClassParser.cc: In method `class CParsedMethod *
CClassParser::parseMethodDeclaration()':
ClassParser.cc:804: ANSI C++ forbids implicit conversion from `void *' in
assignment
ClassParser.cc: In method `class CParsedClass *
CClassParser::parseClassHeader()':
ClassParser.cc:1124: ANSI C++ forbids implicit conversion from `void *' in
assignment

...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop/attachments/19990927/b55ff604/attachment.htm>


More information about the KDevelop mailing list