Building Libnet Win32

Pete Markowsky <[email protected]> Mon, 12 Jul 2004 10:40:34 -0400
Newsgroups gmane.comp.security.libnet
Message-ID <[email protected]>
Hi,

Currently I've been attempting to build libnet on winxp sp 1 with
visual c++ 6 sp 6. After following the instructions in the readme.txt
I'm ending up with linking errors:

libnet_prand.obj : error LNK2001: unresolved external symbol
__imp__CryptReleaseContext@8
libnet_prand.obj : error LNK2001: unresolved external symbol
__imp__CryptGenRandom@12
libnet_prand.obj : error LNK2001: unresolved external symbol
__imp__CryptAcquireContextA@20

My include path looks as follows

C:\PROGRAM FILES\MICROSOFT SDK\INCLUDE
C:\DOCUMENTS AND SETTINGS\PETERM\DESKTOP\WPDPACK\INCLUDE
<DEFAULT visual c include paths>

and my library path is

C:\PROGRAM FILES\MICROSOFT SDK\LIB
C:\DOCUMENTS AND SETTINGS\PETERM\DESKTOP\WPDPACK\LIB

I'm not sure where windows is supposed to find those libraries because
Crypt32 Lib seems to be in those directories. What am I doing wrong? 

-Pete

-- 
It sure is fun to sit around at night, look up at the stars, and think
about billion dollar computers owned by the government that can crack
1024-bit RSA keys in 2 minutes flat.  Makes you feel so small...