HTTrack Website Copier
Free software offline browser - FORUM
Subject: Re: problem with compiling
Author: hossein
Date: 04/24/2010 23:17
 
hi
thanks for your attention.
I think for compiling winhttrack project, first we should compile libhttrack
library fine and use the .dll and .lib file in the other project(winhttrack) .
Am i right?while compiling libhttrack i get this errors:

error LNK2019: unresolved external symbol __imp__getnameinfo@28 referenced in
function _catch_url_init	htscatchurl.obj	libhttrack

error LNK2001: unresolved external symbol __imp__getnameinfo@28	htsftp.obj
libhttrack


error LNK2019: unresolved external symbol __imp__freeaddrinfo@4 referenced in
function _vxgethostbyname	htslib.obj	libhttrack


error LNK2019: unresolved external symbol __imp__getaddrinfo@16 referenced in
function _vxgethostbyname	htslib.obj	libhttrack


fatal error LNK1120: 4 unresolved externals	C:\temp\libhttrack.dll	libhttrack

with searching the web i understood that the problem is from one of my dll
linked to the project, but I don't know which one is.
with use of "dumpbin /export .lib or .dll" i can see which functions are used
inside of the dll or lib file.
but with testing this command on wsock32.dll and wsock32.lib i did'nt find the
functions that were mentioned in the error lists.
my dll files are wrong or something else should be used for this compile job?
 
Reply Create subthread


All articles

Subject Author Date
problem with compiling

04/23/2010 22:26
Re: problem with compiling

04/24/2010 02:41
Re: problem with compiling

04/24/2010 23:17
Re: problem with compiling

04/24/2010 23:34
Re: problem with compiling

04/25/2010 00:47
Re: problem with compiling

04/25/2010 22:10
Re: problem with compiling

04/25/2010 22:38
Re: problem with compiling

04/28/2010 16:05




9

Created with FORUM 2.0.11