Compilation error

Frank Yip FrankYip@octopuscards.com
Mon Aug 12 04:05:01 2002


after successfully install the required environment in linux and run the
"autogen.sh --build-w32", I type make to continue the process, but following
error occur

make[3]: Entering directory `/home2/gnupg-1.0.7/cipher'
source='construct.c' object='construct.o' libtool=no \
depfile='.deps/construct.Po' tmpdepfile='.deps/construct.TPo' \
depmode=gcc /bin/sh /home2/gnupg-1.0.7/scripts/depcomp \
/usr/local/lib/mingw32-cpd/i386--mingw32/bin/gcc -DHAVE_CONFIG_H -I.
-I/home2/gn
upg-1.0.7/cipher -I.. -I.. -I/home2/gnupg-1.0.7/include
-I/home2/gnupg-1.0.7/int
l    -g -O2 -Wall -c `test -f construct.c || echo
'/home2/gnupg-1.0.7/cipher/'`c
onstruct.c
rm -f libcipher.a
ar cru libcipher.a cipher.o pubkey.o md.o dynload.o des.o twofish.o
blowfish.o c
ast5.o rijndael.o elgamal.o rsa.o primegen.o random.o dsa.o g10c.o
smallprime.o
construct.o rndw32.o sha1.o rmd160.o md5.o
/usr/local/lib/mingw32-cpd/i386--mingw32/bin/ranlib libcipher.a
make[3]: Leaving directory `/home2/gnupg-1.0.7/cipher'
make[2]: Leaving directory `/home2/gnupg-1.0.7/cipher'
Making all in tools
make[2]: Entering directory `/home2/gnupg-1.0.7/tools'
/usr/local/lib/mingw32-cpd/i386--mingw32/bin/gcc  -g -O2 -Wall   -o
gpgsplit.exe
  gpgsplit.o ../zlib/libzlib.a ../cipher/libcipher.a ../mpi/libmpi.a
../util/lib
util.a  -lws2_32
/usr/local/lib/mingw32-cpd/i386--mingw32/bin/ld: cannot open -lws2_32: No
such f
ile or directory
make[2]: *** [gpgsplit.exe] Error 1
make[2]: Leaving directory `/home2/gnupg-1.0.7/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home2/gnupg-1.0.7'
make: *** [all] Error 2

What should I done to resolve this error??
 
Thanks

Frank