Page 1 of 1

LINK: warning L4501: bcl71efp.lib : cannot find lib (DONE)

Posted: Mon Jan 21, 2008 4:42 pm
by Seb McClouth
Never seen this warning before and I can't compile my program...
After pressing enter for new specs, I get several L2029 errors and then link comes up with:
LINK : warning L4038: program has no starting address.

I use a batch-file to compile the program:

Code: Select all

@echo ff

del *.obj

del testrun.exe

bc /o /Ot /Fs /G2 /Fpi /E /X boot\bootsect.bas;

ren bootsect.obj a.obj

link a,,nul,lib\qbx.lib;

ren a.exe testrun.exe

del *.obj
Somebody got a clue? I've also tried replacing the qbx.lib in the batch-file with bcl17efr.lib but I come up with the same problem.

Posted: Tue Jan 22, 2008 4:29 am
by Plasma
Quite simple...you're missing bcl71efp.lib. Reinstall it again and make sure to install all the libraries you need:

Bcl71afp.lib. Pds. Combined library for stand-alone executable files using alternate mathematics, far-strings and protected mode.

Bcl71afr.lib. Pds. Combined library for stand-alone executable files using alternate mathematics, far-strings and real mode.

Bcl71anp.lib. Pds. Combined library for stand-alone executable files using alternate mathematics, near-strings and protected mode.

Bcl71anr.lib. Pds. Combined library for stand-alone executable files using alternate mathematics, near-strings and real mode.

Bcl71efp.lib. Pds. Combined library for stand-alone executable files using 80x87 or emulator mathematics, far-strings and protected mode.

Bcl71efr.lib. Pds. Combined library for stand-alone executable files using 80x87 or emulator mathematics, far-strings and real mode.

Bcl71enp.lib. Pds. Combined library for stand-alone executable files using 80x87 or emulator mathematics, near-strings and protected mode.

Bcl71enr.lib. Pds. Combined library for stand-alone executable files using 80x87 or emulator mathematics, near-strings and real mode.

Plasma

Posted: Tue Jan 22, 2008 7:06 am
by Mac
Plasma! Sight for sore eyes! I thought you abandoned the forums.

Mac

Posted: Tue Jan 22, 2008 12:27 pm
by Seb McClouth
I have reinstalled the whole bunch and still end up with the missing lib's. Any idea how to fix this?

Posted: Tue Jan 22, 2008 2:24 pm
by Plasma
You must have an incomplete copy then. Here are all of the above libraries:

http://www.phatcode.net/stuff/bcl71.zip

(Copy them to your lib directory.)

Posted: Tue Jan 22, 2008 2:31 pm
by Seb McClouth
Thx Plasma your the best!!

I suppose I can add you to the credits of QBinux?

Posted: Tue Jan 22, 2008 3:37 pm
by Seb McClouth
Now it's asking for OS2.lib... but I'm using DOS... I can get my hands on the lib but still... OS2?

Grtz

Posted: Wed Jan 23, 2008 12:07 am
by Plasma
If you are using protected mode (/Lp) PDS only supports OS/2. There is no protected-mode DOS support in PDS.