www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/06/03/14:57:15

From: Xiaojun Zhu <xjzhu AT math DOT uwaterloo DOT ca>
Subject: problems with djgpp1.10 (fwd)
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Date: Thu, 3 Jun 1993 13:59:24 -18521200 (EDT)

Hi, there:

Please excuse me if you received this message twice. I posted this
message and received no response. I am not quite sure if the 
following problem with djgpp1.10 is my own problem or others
are experiencing the same? Can some kind sole try the following 
little test program? (By the way, with djgpp1.10, I have no problem
compiling merge.c and split.c utility files, I am wondering if
the problem lies in the g++ lib files?)

Forwarded message:
> From djgpp-bounces AT sun DOT soe DOT clarkson DOT edu Thu Jun  3 00:09 EDT 1993
> Date: Wed, 2 Jun 93 21:27:12 -0400
> From: Xiaojun Zhu <xjzhu AT math DOT uwaterloo DOT ca>
> Message-Id: <9306030127 DOT AA07281 AT math DOT uwaterloo DOT ca>
> To: djgpp AT sun DOT soe DOT clarkson DOT edu
> Subject: problems with djgpp1.10
> 
> Hi, there:
> 
> Is this just my problem? (I never had this problem before with djgpp1.09)
> 
> When I try to compile the following very simple program, the compiler
> generates the following message:(command line: gcc -x c++ test.c)
> 
> Script V1.1 session started Wed Jun 02 21:02:39 1993
> d:/tmp/ccb00076(.text+f): undefined reference to `clrscr'
> d:/tmp/ccb00076(.text+18): undefined reference to `gotoxy'
> d:/tmp/ccb00076(.text+20): undefined reference to `endl(ostream &)'
> d:/tmp/ccb00076(.text+2a): undefined reference to `cout'
> d:/tmp/ccb00076(.text+2f): undefined reference to `operator<<(ostream &, const char *)'
> d:/tmp/ccb00076(.text+3a): undefined reference to `operator<<(ostream &, ostream &(*)(ostream &))'
> Script completed Wed Jun 02 21:03:42 1993
> 
> ------------test.c-------------------------------
> 
> #include <gppconio.h> 			/* for gotoxy(int, int) */
> #include <iostream.h>
> int main(void)
> {
>    clrscr();
>    gotoxy(10, 10);
>    cout<<"hello"<<endl;
>    return 0;
> }
> 


- Raw text -


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