public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Anton Feldmann <anton.feldmann@uni-bielefeld.de>
To: gcc@gnu.org
Subject: error
Date: Sun, 19 Sep 2004 17:08:00 -0000	[thread overview]
Message-ID: <517ff251a829.51a829517ff2@uni-bielefeld.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 106 bytes --]

hi 
 
i need help. i saved the exeptions int the 
attachments.  
I use the gcc 3.3.3 on Linux Suse 9.1.  

[-- Attachment #2: cpp-errorcode --]
[-- Type: text/plain, Size: 738 bytes --]

gcc test.cpp -o test
/tmp/ccynJPMN.o(.text+0x19): In function `main':
: undefined reference to `std::cout'
/tmp/ccynJPMN.o(.text+0x1e): In function `main':
: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*)'
/tmp/ccynJPMN.o(.text+0x4a): In function `__static_initialization_and_destruction_0(int, int)':
: undefined reference to `std::ios_base::Init::Init[in-charge]()'
/tmp/ccynJPMN.o(.text+0x79): In function `__tcf_0':
: undefined reference to `std::ios_base::Init::~Init [in-charge]()'
/tmp/ccynJPMN.o(.eh_frame+0x11): undefined reference to `__gxx_personality_v0'
collect2: ld returned 1 exit status

[-- Attachment #3: test.cpp --]
[-- Type: text/x-c++src, Size: 96 bytes --]

#include <iostream>

using std::cout;

int main(void){

	cout << "hello world!\n";
	return 0;
}

             reply	other threads:[~2004-09-19 14:23 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-19 17:08 Anton Feldmann [this message]
2004-09-20 12:12 ` error Nathan Sidwell
  -- strict thread matches above, loose matches on Subject: below --
2019-11-01  1:44 Error pen1979871192
2002-12-30  4:01 Error deepak kumar
2002-12-30  5:25 ` Error deepak kumar
2002-12-30  6:12 ` Error Robert McNulty Junior
2001-10-19  1:26 error maher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=517ff251a829.51a829517ff2@uni-bielefeld.de \
    --to=anton.feldmann@uni-bielefeld.de \
    --cc=gcc@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).