Mail Archives: djgpp/1997/01/13/09:15:37
Thanks very much to all of you who have spent your precious time to answer
my question, about linking the PD_Curses package to my programs. I followed
your instructions and indeed, the "Undefined reference..." messages have
been eliminated, but unfortunately another one has appeared:
Error: c:/djgpp/lib/libcurso.a(initscr.o)(.text+0x189):initscr.c :
undefined reference to `_iob'
This message appears at the link stage four(4) times ( slightly different,
though, at the "(.text+...)" area ), though I call the "initscr()" function
only once in my program.
I also want to mention that I compile ( and link ) the same program on my
system at home, ( which has a copy of the DJGPP compiler, that, I believe,
is identical to that of the system at my office ), without getting the
above error message ( the home system's compiler produces a perfectly
running executable file ).
I work this project through the RHIDE environment. I transfer the whole
bunch of related files between the two systems ( home & office ), using the
tar & gzip commands ( I e-mail to my Internet account the tarred & gzipped
file ). Neddless to say that I get exactly the same error message on my
office system, even when I go through the command-line.
I strongly suspect that the PDCurses package cannot be used with C++
programs. Does anyone have a better opinion or something to suggest ?
========================================
Panos Platon Tsapralis,
Software Engineer,
Branch Manager,
Western Unisoft, Patras, HELLAS.
========================================
- Raw text -