cURL / Mailing Lists / curl-library / Single Mail

curl-library

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

From: Guenter <lists_at_gknw.net>
Date: Tue, 05 Feb 2013 23:28:27 +0100

Hi Allwin,
Am 05.02.2013 18:57, schrieb ALLWIN JEFRED:
> 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??
cant tell of my head right now, but there might be an issue with the
makefile that something is meanwhile outdated; I hope I can find some
time this weekend - then I'll try to fix the makefile and let you know ...

Gün.

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