delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/03/22/17:51:47

Message-ID: <000101bf944f$b6a11340$c4c4d8c0@gateway>
From: "Bryan Philips" <sporkman AT integrityonline DOT com>
To: <djgpp AT delorie DOT com>
Subject: Rhide And Hello World
Date: Wed, 22 Mar 2000 14:40:51 -0800
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Reply-To: djgpp AT delorie DOT com

Hey,

I am Brandon Philips and I have just installed DJGPP with RHIDE and C++ and
C files.  Now I did everything that the install instructions said and I did
a test HELLO WORLD program that I found in the RHIDE info file.  It was a C
program and it worked fine.  Then I made a HELLO WORLD program using the
code I found in the book I am reading "Practical C++ Programming"

The code looked like this:
#include <iostream.h>
int main()
{
    cout << "Hello World\n";
    return (0);
}

I typed that all in then I saved the file as E:\djgpp\bin\hello.cc

I pressed the run button in RHIDE and I got these errors
Error: E:/djgpp/lib/libstdcxx.a(iostream.o)(.text+0X114) : iostream.cc:
undefined reference to '_ _dj_ctype_flags'
Error: E:/djgpp/lib/libstdcxx.a(iostream.o)(.text+0X4e3) : iostream.cc:
undefined reference to '_ _dj_ctype_flags'
Error: E:/djgpp/lib/libstdcxx.a(iostream.o)(.text+0X174a) : iostream.cc:
undefined reference to '_ _dj_stdout'
Error: E:/djgpp/lib/libstdcxx.a(iostream.o)(.text+0X1757) : iostream.cc:
undefined reference to '_ _dj_ctype'
Error: E:/djgpp/lib/libstdcxx.a(stdstrbufs.o)(.data+0X16c) : stdstrbufs.cc:
undefined reference to '_ _dj_stdin'
Error: E:/djgpp/lib/libstdcxx.a(stdstrbufs.o)(.data+0X1cc) : stdstrbufs.cc:
undefined reference to '_ _dj_stdout'
Error: E:/djgpp/lib/libstdcxx.a(stdstrbufs.o)(.data+0X22c) : stdstrbufs.cc:
undefined reference to '_ _dj_stderr'
Error: E:/djgpp/lib/libstdcxx.a(stdiostream.o)(.text+0Xcd) : stdiostream.cc:
undefined reference to 'getc'
Error: E:/djgpp/lib/libstdcxx.a(floatconv.o)(.text+0X12a6) : floatconv.c:
undefined reference to '_ _dj_huge_val'
Error: E:/djgpp/lib/libstdcxx.a(iovscanf.o)(.text+0X62) : iovscanf.cc:
undefined reference to '_ _dj_ctype_flags'
Error: E:/djgpp/lib/libstdcxx.a(iovscanf.o)(.text+0X8f) : iovscanf.cc:
undefined reference to '_ _dj_ctype_flags'
Error: E:/djgpp/lib/libstdcxx.a(iovscanf.o)(.text+0X517) : iovscanf.cc:
undefined reference to '_ _dj_ctype_flags'
Error: E:/djgpp/lib/libstdcxx.a(iovscanf.o)(.text+0X582) : iovscanf.cc:
undefined reference to '_ _dj_ctype_flags'
Error: E:/djgpp/lib/libstdcxx.a(iovscanf.o)(.text+0X5d4) : iovscanf.cc:
undefined reference to '_ _dj_ctype_flags'
Error: E:/djgpp/lib/libstdcxx.a(iovscanf.o)(.text+0X868) : iovscanf.cc: more
undefined reference to '_ _dj_ctype_flags' follow

I have two computers and I installed DJGPP and ran this program on both and
got the same errors.

One computer is a 200mhz mmx
32mb of ram
3 hds 2 gb each

other is
486
12 mb ram
1 hd 250mb

DJGPP and RHIDE are freshley installed so if there is some option that I
missed that could be the case.

If anyone can help me out that would be great.  Or if anyone needs more info
email me.

Thanks,
Brandon Philips
sporkman AT integrityonline DOT com

- Raw text -


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