Finding Problem

Finding Problem

Postby Arindam » Mon Sep 04, 2006 4: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
Arindam
 
Posts: 44
Joined: Sat Jul 29, 2006 5:03 pm
Location: Kolkata, India

Postby Antonio Linares » Mon Sep 04, 2006 8:52 am

Arindam,

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

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42077
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Arindam » Fri Sep 15, 2006 1: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
Arindam
 
Posts: 44
Joined: Sat Jul 29, 2006 5:03 pm
Location: Kolkata, India

Postby Antonio Linares » Fri Sep 15, 2006 4:53 pm

Arindam,

Are you using Microsoft C ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42077
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Arindam » Sat Sep 16, 2006 7:14 am

Mr Antonio,

I am using Microsoft Visual C++.

With regard
Arindam
Arindam
 
Posts: 44
Joined: Sat Jul 29, 2006 5:03 pm
Location: Kolkata, India

Postby Antonio Linares » Sat Sep 16, 2006 8:53 am

Arindam,

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

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42077
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Arindam » 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
Arindam
 
Posts: 44
Joined: Sat Jul 29, 2006 5:03 pm
Location: Kolkata, India


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot], Otto and 63 guests