Prof A Olowofoyeku (The African Chief) wrote:
C:/msys/1.0/home/gerwinsk/mysoftware/gcc-3.2.3/gcc/p/rts/rts.c:1552: undefined reference to `closedir' make[2]: *** [binobj.exe] Error 1 make[1]: *** [pascal.utils] Error 2 make: *** [all-gcc] Error 2
I remember seeing this problem before. You're nearly there :)
:-)
The problem (IIRC) is solved either by having os-hacks.h (http://www.gnu-pascal.de/contrib/chief/win32/os-hacks.h) in your "/mingw/include" directory when configuring and building the compiler,
Well, that didn't work so far... I downloaded the file into C:\MinGW\include and ran "make clean", "make distclean" on my gcc distribution before starting again with "./configure --enable-languages=pascal". I ended up with the same error message.
or (more likely), in having libmingwex.a linked to your program. This however should be happening automatically (i.e., linking libmingwex.a).
What is the output of "gcc -print-file-name=libmingwex.a"?
C:\MinGW\lib\libmingwex.a.
What now?
Best,
Markus __________________________________________________________ Mit WEB.DE FreePhone mit hoechster Qualitaet ab 0 Ct./Min. weltweit telefonieren! http://freephone.web.de/?mc=021201