cURL / Mailing Lists / curl-library / Single Mail

curl-library

Anyone able to build javacurl.dll in win 7 using mingw32

From: ALLWIN JEFRED <allwinsumit1_at_gmail.com>
Date: Tue, 5 Feb 2013 23:27:45 +0530

Hi Curl Users,

Has anyone been able to build curl for java binding using the below code

http://svwe10.itex.at/curl/curl-java/

I tried it in mingw32 using Win7 32 bit got errors that some of the library
files are not found

I am trying to build curl with ssl support

Do i need to build any other libraries too??

This is the error message I get

C:/Program Files/Java/jdk1.7.0_01/bin/javah net.haxx.curl.CurlGlue
touch CurlGlue.h
gcc -o javacurl.dll javacurl.o -lwsock32 -lwinmm -lcurldll -lzdll -L
"C:/MinGW/s
rc/openssl-1.0.1c/out" -L "C:/Users/xxxxx/Desktop/Blog
POsts/curl-7.28.1/lib" -
L C:/MinGW/src/zlib-1.2.7 -lssl32 -leay32
c:/mingw/bin/../lib/gcc/mingw32/4.7.2/../../../../mingw32/bin/ld.exe:
cannot find *-lcurldll*
c:/mingw/bin/../lib/gcc/mingw32/4.7.2/../../../../mingw32/bin/ld.exe:
cannot find* -lzdll*
c:/mingw/bin/../lib/gcc/mingw32/4.7.2/../../../../mingw32/bin/ld.exe:
cannot find *-lssl32*
collect2.exe: error: ld returned 1 exit status
Makefile:110: recipe for target 'javacurl.dll' failed
mingw32-make: *** [javacurl.dll] Error 1

Do I need add some more dll in mingw32 lib directory??

any help/suggestions is most welcome

Thanks,
Allwin

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-02-05