Mail Archives: djgpp/2001/01/23/05:23:23
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 -