cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl-library Digest, Vol 121, Issue 17

From: rajkumar mandal <sendtorkm_at_gmail.com>
Date: Thu, 17 Sep 2015 13:57:25 -0500

Thanks a lot Daniel, it worked

On Thu, Sep 17, 2015 at 5:00 AM, <curl-library-request_at_cool.haxx.se> wrote:

> Send curl-library mailing list submissions to
> curl-library_at_cool.haxx.se
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-library
> or, via email, send a message with subject or body 'help' to
> curl-library-request_at_cool.haxx.se
>
> You can reach the person managing the list at
> curl-library-owner_at_cool.haxx.se
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of curl-library digest..."
>
>
> Today's Topics:
>
> 1. make is failing when configured with ssl (rajkumar mandal)
> 2. Re: tftp fail during data transfer (Raghu)
> 3. Re: make is failing when configured with ssl (Daniel Stenberg)
> 4. Re: make is failing when configured with ssl (Daniel Stenberg)
> 5. Re: [curl-library] please auto-adjust mailinglist subject
> (Daniel Stenberg)
> 6. Re: [curl-library] please auto-adjust mailinglist subject
> (Bastian Bittorf)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 16 Sep 2015 12:54:05 -0500
> From: rajkumar mandal <sendtorkm_at_gmail.com>
> To: curl-library_at_cool.haxx.se
> Subject: make is failing when configured with ssl
> Message-ID:
> <CAHR1w9RWvbjTwkhy9F4R8ABVD=
> vmJjB3Hb8VG4M47p22MM_HYw_at_mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hello All,
> My make command is failing when configured with ssl, can anyone help
>
>
> UILDING_LIBCURL -O2 -Wno-system-headers -MT libcurl_la-curl_des.lo -MD -MP
> -MF .deps/libcurl_la-curl_des.Tpo -c curl_ des.c -o
> libcurl_la-curl_des.o >/dev/null 2>&1
> mv -f .deps/libcurl_la-curl_des.Tpo .deps/libcurl_la-curl_des.Plo
> /bin/bash ../libtool --tag=CC --mode=compile /usr/sfw/bin/gcc
> -DHAVE_CONFIG_H -I../include/curl -I../include -I
> ../include -I../lib -I../lib -DBUILDING_LIBCURL -O2
> -Wno-system-headers -MT vtls/libcurl_la-openssl.lo -MD -MP
> -MF vtls/.deps/libcurl_la-openssl.Tpo -c -o vtls/libcurl_la-openssl.lo
> `test -f 'vtls/openssl.c' || echo './'`vtls/o penssl.c
> libtool: compile: /usr/sfw/bin/gcc -DHAVE_CONFIG_H -I../include/curl
> -I../include -I../include -I../lib -I../lib -DB
> UILDING_LIBCURL -O2 -Wno-system-headers -MT vtls/libcurl_la-openssl.lo -MD
> -MP -MF vtls/.deps/libcurl_la-openssl.Tpo -c vtls/openssl.c
> -fPIC -DPIC -o vtls/.libs/libcurl_la-openssl.o
> vtls/openssl.c: In function `Curl_ossl_sha256sum':
> vtls/openssl.c:3192: error: `SHA256_CTX' undeclared (first use in this
> function)
> vtls/openssl.c:3192: error: (Each undeclared identifier is reported only
> once
> vtls/openssl.c:3192: error: for each function it appears in.)
> vtls/openssl.c:3192: error: syntax error before "SHA256pw"
> vtls/openssl.c:3194: error: `SHA256pw' undeclared (first use in this
> function)
> *** Error code 1
> make: Fatal error: Command failed for target `vtls/libcurl_la-openssl.lo'
> Current working directory /home/rx4064/local/src/curl-7.44.0/lib
> *** Error code 1
> make: Fatal error: Command failed for target `all'
> Current working directory /home/rx4064/local/src/curl-7.44.0/lib
> *** Error code 1
> The following command caused the error:
> fail=; \
> if (target_option=k; case ${target_option-} in ?) ;; *) echo
> "am__make_running_with_option: internal error: invalid "
> "target option '${target_option-}' specified" >&2; exit 1;; esac;
> has_opt=no; sane_makeflags=$MAKEFLAGS; if { if test -z '';
> then false; elif test -n ''; then true; elif test -n '' && test -n '';
> then true; else false; fi; }; then
> sane_makeflags=$MFLAGS; else case $MAKEFLAGS in *\\[\ \ ]*)
> bs=\\; sane_makeflags=`printf '%s\n' "$MAKEFLAGS" | sed
> "s/$bs$bs[$bs $bs ]*//g"`;; esac; fi; skip_next=no;
> strip_trailopt () { flg=` printf '%s\n' "$flg" | sed
> "s/$1.*$//"`; }; for flg in $sane_makeflags; do test $skip_next = yes &&
> { skip_next=no ; continue; }; case $flg in *=*|--*)
> continue;; -*I) strip_trailopt 'I'; skip_next=yes;; -*I?*) strip_trailopt
> 'I ';; -*O) strip_trailopt 'O'; skip_next=yes;; -*O?*)
> strip_trailopt 'O';; -*l) strip_trailopt 'l';
> skip_next=yes;; -*l?*) strip_trailopt 'l';; -[dEDm])
> skip_next=yes;; -[JT]) skip_next=yes;; esac; case $flg in
> *$target_option* ) has_opt=yes; break;; esac; done; test
> $has_opt = yes); then \
> failcom='fail=yes'; \
> else \
> failcom='exit 1'; \
> fi; \
> dot_seen=no; \
> target=`echo all-recursive | sed s/-recursive//`; \
> case "all-recursive" in \
> distclean-* | maintainer-clean-*) list='lib src include tests packages
> docs' ;; \
> *) list='lib src include' ;; \
> esac; \
> for subdir in $list; do \
> echo "Making $target in $subdir"; \
> if test "$subdir" = "."; then \
> dot_seen=yes; \
> local_target="$target-am"; \
> else \
> local_target="$target"; \
> fi; \
> (CDPATH="${ZSH_VERSION+.}:" && cd $subdir && make $local_target) \
> || eval $failcom; \
> done; \
> if test "$dot_seen" = "no"; then \
> make "$target-am" || exit 1; \
> fi; test -z "$fail"
> make: Fatal error: Command failed for target `all-recursive'
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://cool.haxx.se/pipermail/curl-library/attachments/20150916/5534b902/attachment-0001.html
> >
>
> ------------------------------
>
> Message: 2
> Date: Thu, 17 Sep 2015 03:13:35 +0530
> From: Raghu <raghujindia_at_gmail.com>
> To: libcurl development <curl-library_at_cool.haxx.se>
> Subject: Re: tftp fail during data transfer
> Message-ID:
> <CAMhTLK=
> jK7MoFD5B8nX6DrVLfEOa57buR6q3LOwFn7ye0qqWrw_at_mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> Thanks for the help.
>
> On Wed, Sep 16, 2015 at 12:27 PM, Daniel Stenberg <daniel_at_haxx.se> wrote:
> > On Wed, 16 Sep 2015, Raghu wrote:
> >
> >> I guess options CURLOPT_LOW_SPEED_LIMIT & CURLOPT_LOW_SPEED_TIME may
> >> help. Will try out.
> >
> >
> > Those options were basically made for a case like yours, so do that. Or
> you
> > implement your own logic with the callbacks.
> >
> > --
> >
> > / daniel.haxx.se
> > -------------------------------------------------------------------
> > List admin: http://cool.haxx.se/list/listinfo/curl-library
> > Etiquette: http://curl.haxx.se/mail/etiquette.html
>
>
>
> --
> Thanks
> Raghu
> SAVE TREES..GO GREEN
>
>
> ------------------------------
>
> Message: 3
> Date: Thu, 17 Sep 2015 00:28:29 +0200 (CEST)
> From: Daniel Stenberg <daniel_at_haxx.se>
> To: libcurl development <curl-library_at_cool.haxx.se>
> Subject: Re: make is failing when configured with ssl
> Message-ID: <alpine.DEB.2.11.1509170027380.27341_at_tvnag.unkk.fr>
> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
>
> On Wed, 16 Sep 2015, rajkumar mandal wrote:
>
> > My make command is failing when configured with ssl, can anyone help
>
> ...
>
> > vtls/openssl.c:3192: error: `SHA256_CTX' undeclared (first use in this
> > function)
>
> This is a very old OpenSSL version, right?
>
> Try this patch:
>
> diff --git a/lib/vtls/openssl.c b/lib/vtls/openssl.c
> index 8600c61..71ce331 100644
> --- a/lib/vtls/openssl.c
> +++ b/lib/vtls/openssl.c
> @@ -3183,11 +3183,11 @@ void Curl_ossl_md5sum(unsigned char *tmp, /* input
> */
> MD5_Init(&MD5pw);
> MD5_Update(&MD5pw, tmp, tmplen);
> MD5_Final(md5sum, &MD5pw);
> }
>
> -#ifndef OPENSSL_NO_SHA256
> +#if (OPENSSL_VERSION_NUMBER >= 0x0090800fL) && !defined(OPENSSL_NO_SHA256)
> void Curl_ossl_sha256sum(const unsigned char *tmp, /* input */
> size_t tmplen,
> unsigned char *sha256sum /* output */,
> size_t unused)
> {
>
>
> --
>
> / daniel.haxx.se
>
>
> ------------------------------
>
> Message: 4
> Date: Thu, 17 Sep 2015 00:32:27 +0200 (CEST)
> From: Daniel Stenberg <daniel_at_haxx.se>
> To: libcurl development <curl-library_at_cool.haxx.se>
> Subject: Re: make is failing when configured with ssl
> Message-ID: <alpine.DEB.2.11.1509170031440.27341_at_tvnag.unkk.fr>
> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
>
> On Thu, 17 Sep 2015, Daniel Stenberg wrote:
>
> > Try this patch:
>
> Oops, you need the same #if fix for the corresponding lib/vtls/openssl.h
> prototype too.
>
> --
>
> / daniel.haxx.se
>
>
> ------------------------------
>
> Message: 5
> Date: Thu, 17 Sep 2015 00:42:59 +0200 (CEST)
> From: Daniel Stenberg <daniel_at_haxx.se>
> To: libcurl development <curl-library_at_cool.haxx.se>
> Subject: Re: [curl-library] please auto-adjust mailinglist subject
> Message-ID: <alpine.DEB.2.11.1509140959390.24014_at_tvnag.unkk.fr>
> Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII
>
> On Mon, 14 Sep 2015, Bastian Bittorf wrote:
>
> > I read several mailinglists and it is good practise to auto-apply a
> leading
> > [project] field to the subjects. Is it possible to do so, or are there
> > reasons (for you) against it?
>
> This is one of these eternal email religious matters: subject prefix or
> not?
> It is almost as old as the reply-to or not discussion.
>
> There are arguments for both ways. I personally dislike how prefixes remove
> subject space and makes it harder to read/find in a list with other mails.
>
> --
>
> / daniel.haxx.se
>
>
> ------------------------------
>
> Message: 6
> Date: Thu, 17 Sep 2015 08:46:16 +0200
> From: Bastian Bittorf <bittorf_at_bluebottle.com>
> To: libcurl development <curl-library_at_cool.haxx.se>
> Subject: Re: [curl-library] please auto-adjust mailinglist subject
> Message-ID: <20150917064616.GX20564_at_medion.lan>
> Content-Type: text/plain; charset=us-ascii
>
> * Daniel Stenberg <daniel_at_haxx.se> [17.09.2015 08:32]:
> > There are arguments for both ways. I personally dislike how prefixes
> > remove subject space and makes it harder to read/find in a list with
> > other mails.
>
> ok, i dont agree - but accept this.
> last try to convince you:
>
> Subject: cURL: ...
>
> it shortens the space by 6 chars. On my side it helps
> to distinguish from other mails when i search something
> in my whole email-base.
>
> bye, bastian
>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> curl-library mailing list
> curl-library_at_cool.haxx.se
> http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-library
>
>
> ------------------------------
>
> End of curl-library Digest, Vol 121, Issue 17
> *********************************************
>

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-09-17