www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/04/24/13:15:34

From: Endlisnis <s257m AT unb DOT ca>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: I read section 8 of FAQ and still cannot find .h files
Date: Sat, 24 Apr 1999 14:32:04 -0300
Organization: BrunNet
Lines: 19
Message-ID: <37220014.571C205@unb.ca>
References: <T6hU2.431$aW6 DOT 314 AT news DOT rdc2 DOT occa DOT home DOT com>
NNTP-Posting-Host: ftnts1c38.brunnet.net
Mime-Version: 1.0
X-Mailer: Mozilla 4.04 [en] (Win95; U)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

jj wrote:

> D:\DJGPP>gcc -o hello.exe hello.cpp
> d:/djgpp/tmp\cccimutb(.text+0x11):hello.cpp: undefined reference to `cout'
> d:/djgpp/tmp\cccimutb(.text+0x16):hello.cpp: undefined reference to
> `ostream::o
> erator<<(char const *)'

    Could you post the code?  Also try adding "-Wall" to the command-line; it
may help find the source of the problem(s).

--
     (\/) Endlisnis (\/)
          s257m AT unb DOT ca
          Endlisnis AT BrunNet DOT Net
          Endlisnis AT HotMail DOT com
          ICQ: 32959047


- Raw text -


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