This is the mail archive of the libstdc++@sourceware.cygnus.com mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Trouble useing libstdc++-2.90.6


I haven't used this Yahoo account in ages.  When I
tried posting this message from my regular e-mail
accounts I got failure notices saying my server is an
"RBL".  I've notified my sysadmin about this.

If, by some miracle, this message gets though, please
reply to kellum@mathcs.sjsu.edu

I'm new to this list and relatively new to Linux.

If this is an faq, please pardon me and point me to
the right place.

I downloaded libstcd++-2.90.6.  (I really want
sstream's if I can get them.) 
I'm running SuSE Liinux 6.1 and gcc 2.95.1

I unpacked the tar ball and installed following the
instructions in
RELEASE-NOTES.  That is:  configure, make, make
install, and make check-install.

I didn't notice any messages during this that
indicated any problem.

I have this directory structure

/src
   gnu/
     libstcd++/
       lib/
       include/
          g++-v3/
          backward/
          bits/
          ext/
          shadow/

I decided to try compiling "hello world" against the
new directory.  Here's
hello.cpp.  (I also tried it with  "using namespace
std");

#include <iostream>

int main()
{   cout << "hello";  }

Trying to follow instructions, I did:

LIBINC=/src/gun/libstdc++/include/g++-v3

g++ -Wall -I$LIBINC -L$/src/gun/libstdc++/lib
hello.cpp

I got several lines of error messages.  (I imagine
these messages are stored
some place, but I don't know where.)

The first two lines of errors were:

/tmp/ccga1sOk.o:  In function
'__static_initialization_and_destruction_0';
/tmp/ccga1sOk.o(.text+0x42): undefined reference to
`ios_base::Init::Init(void)'

Any help will be greatly appreciated.


-- 
Kenneth R. Kellum            Powered by SuSE Linux


=====

__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]