Главная страница | назад





Article #15620: Undefined symbols migrating from bc45 to bc5

 Question and Answer Database

FAQ620C.txt   Undefined symbols migrating from bc45 to bc5
Category   :Linker
Platform    :DOS
Product    :   BC++5.x

Question:

Hi All,

I have recently upgraded from BC++ 4.51 to 5.01 and now a DOS 
application that previously compiled now gets the following 
error messages:

Turbo Link  Version 7.1.32.2. Copyright (c) 1987, 1996 Borland
International
Error: Undefined symbol GLOBALLOCK in library file 
 c:\bc5\lib\bidsl.lib in module timeio
Error: Undefined symbol GLOBALALLOC in library file 
 c:\bc5\lib\bidsl.lib in module timeio
Error: Undefined symbol GLOBALFREE in library file 
 c:\bc5\lib\bidsl.lib in module timeio
Error: Undefined symbol GLOBALUNLOCK in library file
 c:\bc5\lib\bidsl.lib in module timeio
Error: Undefined symbol GLOBALHANDLE in library file 
 c:\bc5\lib\bidsl.lib in module timeio

The target is DOS Std application with a Large memory model.

Answer:

All the undefined symbols are part of the Windows API.  You may
have intended to build for DOS but either the compiler options
are set for a Windows app or at least one of the OBJ files was 
compiled for Windows.

Go to the EXE line in your project window.  Press Alt-F10 or
right-click the mouse.  Select TargetExpert from the menu which 
appears.  In the TargetExpert dialog, change the platform to DOS.
After clicking Ok, do a Project|Build_All to rebuild everything 
with the new target setting.

5/18/98 8:40:11 AM
 

Last Modified: 01-SEP-99