www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/02/25/07:57:00

From: Luis Hernandez <newton AT math DOT gatech DOT edu>
Message-Id: <200102251250.HAA02996@math48.math.gatech.edu>
Subject: I know this is a faq
To: djgpp AT delorie DOT com
Date: Sun, 25 Feb 2001 07:50:29 -0500 (EST)
X-Mailer: ELM [version 2.4ME+ PL40 (25)]
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

Hello all:

  I deleted  my previous installation    of  djgpp, version  2.02, (error I
  know, one should  never fix   something  that  is not  braken) and   then
  attempted to   create a  minimal installation  with the last versions   I
  found in Simtel  on which I could then add all the other tools I use.  To
  be sure  I followed the  suggestion  of the zip-picker  and installed the
  suggested packages plus a couple more:

  bnu2951[ab]
  bsh204b
  djdev203
  djlsr203 \
  djtst203 |
  djtzn203 |  (I wanted to run some tests)
  djtzs203 /
  faq230b
  fil316b
  gcc2952b
  gdb500[ab]
  gpp2952b
  hello13     (to test the installation)
  make3791b
  rhid1478b
  txi40b

  But, no matter  the procedure  used  to install the packages,  I ended up
  facing the very same problem:  undefined   reference to __dj_stderr' (...
  among other similar problems).

  To test my installation I installed djtst203 etc, to run the tests... but
  this path of action failed.

  So  I installed    hello13 and  make3791b, thinking  that  I  was   doing
  something wrong  (I still know I did   something wrong, but  can not  see
  what). After changing directories to  /djgpp/gnu/hello-1.3/, this is what
  I got when tried to 'make' the hello world program:

  C:\djgpp\gnu\hello-1.3>make
  gcc -g -o hello hello.o version.o getopt.o getopt1.o
  hello.o: In function main':
  hello.c:124: undefined reference to __dj_stderr'
  hello.c:131: undefined reference to __dj_stderr'
  hello.c:139: undefined reference to __dj_stderr'
  hello.c:141: undefined reference to __dj_stderr'
  hello.c:142: undefined reference to __dj_stderr'
  hello.o:hello.c:143: more undefined references to __dj_stderr' follow
  make.exe: *** [hello] Error 1

  so, with all my proud crumbled into dust I ask...  do you know what  went
  wrong?

  Your help will be highly appreciated,
  
  Luis H.

- Raw text -


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