delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/07/28/04:38:20

From: david=20makepeace%plan-ih#%forwarder AT plan DOT geis DOT com
Subject: cout ta get me
28 Jul 1997 04:38:20 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <199707280951.JAA29702.cygnus.gnu-win32@rockdmz1.geis.com>
Mime-Version: 1.0
Original-To: gnu-win32 AT cygnus DOT com
X-plan-QK-From: DAVID MAKEPEACE AT PLAN-IH#
X-plan-QK-ID: 0072980
X-plan-Gateway-ID: 38416
Original-Sender: owner-gnu-win32 AT cygnus DOT com

I'm getting this from a program with cout in it:

c:\windows\TEMP\cc0010001.o(.text+0*20):ex2.cc:undefined reference to 'cout'
c:\windows\TEMP\cc0010001.o(.text+0*25):ex2.cc:undefined reference to
'ostream::operator<<(char const*)'
GCC.EXE: internal compiler error: program ld got fatal signal 1

Have I installed wrong? I followed the installation guide but may have messed up
at the mount /tmp bit. Bash doesn't seem to have a problem any more (I used to
get a "bash can't find /tmp, please create one' message but not any longer).
Still, I didn't really understand what I was doing or why so It could have all
gone horribly wrong.

Otherwise I'm thinking this sounds like gcc isn't recognising the difference
between c and c++ source (printf works fine).
iostream.h is where it should be and my environment variable settings are
correct as far as I know. Any ideas?

Chow-fuh-now,

David Makepeace
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019