Unresolved externals

Post Reply
User avatar
Ugo
Posts: 283
Joined: Sat Oct 15, 2005 6:40 am
Location: Turin, Italy

Unresolved externals

Post by Ugo »

Hi all,
I have a problem with sample/ping.prg test
return this error message:

Code: Select all

Compiling...
Harbour Compiler Alpha build 46.2 (Flex)
Copyright 1999-2006, http://www.harbour-project.org/
Compiling 'ping.prg' and generating preprocessed output to 'ping.ppo'...
Lines 72, Functions/Procedures 1
Generating C source output to 'ping.c'... Done.
Microsoft (R) C/C++ Optimizing Compiler Version 12.20.9615 for ARM
Copyright (C) Microsoft Corp 1984-2002. All rights reserved.

ping.c
   Creating library ping.lib and object ping.exp
icmplib.lib(icmplib.obj) : error LNK2019: unresolved external symbol WsControl referenced in function IcmpSendEcho
ping.exe : fatal error LNK1120: 1 unresolved externals
Can i resolve?
Ciao, best regards,
Ugo
User avatar
Antonio Linares
Site Admin
Posts: 37485
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Ugo,

You have to link MS icmplib.lib and winsock.lib
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply