Mail Archives: djgpp/2001/02/25/07:57:00
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 -