Mail Archives: djgpp/2000/03/01/23:46:11
On Wed, 1 Mar 2000, Kozmas Muriopulos wrote:
> I recently downloaded a copy of DJGPP an can't compile programs because it
> gives me undefined references.
You have a botched installation with parts of old version of DJGPP
still lying around, that's why you are having problems. See below.
> Reading specs from d:/djgpp/lib/specs
Problem no.1: d:/djgpp/lib/specs is an old specs file, probably from
an old DJGPP installation. You need to remove it and make sure that
the file d:/djgpp/lib/gcc-lib/djgpp/2.952/specs is used instead.
> GNU CPP version 2.7.2.1 (80386, BSD syntax)
Problem no.2: you have an old cpp.exe from GCC 2.7.2.1, which you
should remove.
> I tried the command "nm -C *.a" in the lib directory, redirecting the output
> to a file and then used a text editor to search for the an undefined string
> as per the compiler output. All references to the undefined identifier
> __rtti_class had a "U" next to them, I assume this means undefined, so I am
> not sure if I am missing a library,any help will be greatly appreciated.
What are the size and the time stamp of yout libstdcxx.a file? Are
you sure it is the one from gpp2952b.zip? If not, you need to install
the latest version of libstdcxx.a.
Also, make sure you don't have an old libgcc.a in your d:/djgpp/lib
directory.
- Raw text -