FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Finding Problem
Posts: 44
Joined: Sat Jul 29, 2006 05:03 PM
Finding Problem
Posted: Mon Sep 04, 2006 04:34 AM
Hi,

While I am compiling Samples\install.prg, getting the following three errors :

Creating library install.lib and object install.exp
FiveHCM.lib(LZEXPAND.obj) : error LNK2001: unresolved external symbol _LZClose@4

FiveHCM.lib(LZEXPAND.obj) : error LNK2001: unresolved external symbol _LZCopy@8
FiveHCM.lib(LZEXPAND.obj) : error LNK2001: unresolved external symbol _LZOpenFil
eA@12
install.exe : fatal error LNK1120: 3 unresolved externals

If I mark all the lines LZCopyFile(.....), then compiling smoothly.

What could be the reason and how can I solve this ?

Arindam
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Finding Problem
Posted: Mon Sep 04, 2006 08:52 AM

Arindam,

You have to link c:\bcc55\lib\PSDK\lz32.lib too

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44
Joined: Sat Jul 29, 2006 05:03 PM
Finding Problem
Posted: Fri Sep 15, 2006 01:26 PM

Dear Mr. Antonio,

After linking lz32.lib, the result is as follows :

install.c
d:\borland\bcc55\lib\psdk\lz32.lib : warning LNK4033: converting object format f
rom OMF to COFF
rtl.lib(math.obj) : warning LNK4006: __matherr already defined in LIBC.lib(mathe
rr.obj); second definition ignored
d:\borland\bcc55\lib\psdk\lz32.lib : warning LNK4033: converting object format f
rom OMF to COFF
rtl.lib(math.obj) : warning LNK4006: __matherr already defined in LIBC.lib(mathe
rr.obj); second definition ignored
Creating library install.lib and object install.exp
FiveHCM.lib(LZEXPAND.obj) : error LNK2001: unresolved external symbol _LZClose@4

FiveHCM.lib(LZEXPAND.obj) : error LNK2001: unresolved external symbol _LZCopy@8
FiveHCM.lib(LZEXPAND.obj) : error LNK2001: unresolved external symbol _LZOpenFil
eA@12
install.exe : fatal error LNK1120: 3 unresolved externals
* There are errors

With regard
Arindam

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Finding Problem
Posted: Fri Sep 15, 2006 04:53 PM

Arindam,

Are you using Microsoft C ?

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44
Joined: Sat Jul 29, 2006 05:03 PM
Finding Problem
Posted: Sat Sep 16, 2006 07:14 AM

Mr Antonio,

I am using Microsoft Visual C++.

With regard
Arindam

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Finding Problem
Posted: Sat Sep 16, 2006 08:53 AM

Arindam,

Then you should use Microsoft LZ32.lib and not Borland's one.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44
Joined: Sat Jul 29, 2006 05:03 PM
Finding Problem
Posted: Sat Sep 16, 2006 12:30 PM

Mr. Antonio

Thanks...........................

May be a small tip but has great utility. I am expecting more and more tips, which are not available in manual but play an importent role.

With regard,
Arindam

Continue the discussion