www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/01/23/05:23:23

Date: Tue, 23 Jan 2001 12:20:03 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Radical NetSurfer <radsmail AT juno DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: Needed File....
In-Reply-To: <b4hp6t44do0hjkr8je0k3pf515ahcs80ad@4ax.com>
Message-ID: <Pine.SUN.3.91.1010123121933.9288H-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Mon, 22 Jan 2001, Radical NetSurfer wrote:

> I need the following file:
> 
>     libpc_p.a
> 
> this was found inside a DJGPP MAKEFILE which failed
> to provided the source for this particular library...

There is no libpc_p.a.  There's libpc.a (that's what -lpc below
requests), it comes with djdevNNN.zip and should already be in your
lib sibdirectory.

> Additional information:
> /*
> gcc dir.o util.o main.o screen.o dialog.o key.o input.o menu.o file.o
> win.o color.o help.o find.o profile.o user.o view.o ext.o mouse.o
> setup.o auto.o zip.o gc.o match.o -lcurse -lpc  -o mc.386
> g:/djgpp/lib/libcurse.a(curses.o)(.text+0x275): undefined reference to
> `_iob'
> g:/djgpp/lib/libcurse.a(cvidintf.o)(.text+0x48): undefined reference
> to `ScreenPrimary'

This indicates that some of the object files were compiled with DJGPP
v1.x headers.  I suggest to toss libcurses.a (and any other library
that spits such error messages) and find one which was built with
v2.x: linking object files from v1.x and v2.x is nothing but trouble.

I suspect that the problems with libpc.a are also because of versions'
mismatch.

- Raw text -


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