www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/01/13/09:15:37

Message-Id: <199701131742.PAA04964@cosmos.hiway.gr>
Organization:
From: "Panos Platon Tsapralis" <panosts AT hiway DOT gr>
To: "Delorie Software Mailing List Server" <listserv AT delorie DOT com>,
"DJGPP/D.J.Delorie Mailing List" <djgpp AT delorie DOT com>
Subject: Linking Problems With PDCurses Package.
Date: Mon, 13 Jan 1997 15:45:52 +0200
MIME-Version: 1.0

	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 -


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