I have a full fledged cygwin installation with Libcurl and SSL on XP . ( I included just about everything except "Database" "Graphics" "Audio" and "gnome" )
Here is what I get : -
$ gcc esniper.c -WALL
esniper.c: In function `getVersion':
esniper.c:142: error: `VERSION' undeclared (first use in this function)
esniper.c:142: error: (Each undeclared identifier is reported only once
esniper.c:142: error: for each function it appears in.)
When I try to use this file.
Here is the result
the procedure entry point_getreent could not be located in the dynamic link library cygwin1.dll ( of course that dll it the one I downloaded from your info page & put in in same dir )
Just FYI . I could go past a few steps . But got stuck up here. Is there anyone hearing ...? I wonder if this is an open forum :
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether make sets $(MAKE)... (cached) yes
checking for curl-config... curl-config
checking for curl_easy_setopt... no
configure: error: cURL 7.1.1 or newer required (cURL is available from http://cu
and I do have the curl stuff here
$ curl -V
curl 7.16.3 (i686-pc-cygwin) libcurl/7.16.3 OpenSSL/0.9.8k zlib/1.2.3 libssh2/0.
Protocols: tftp ftp telnet dict ldap http file https ftps scp sftp
Features: Largefile NTLM SSL libz
why the error. What is it looking for ?
I believe, you need libcurl - not the plain binary curl for the compilation.
Not sure, though ...
Sorry, just read you mentioned libcurl in the first post. Grr. Need new glasses ...