cURL / Mailing Lists / curl-library / Single Mail

curl-library

make is failing when configured with ssl

From: rajkumar mandal <sendtorkm_at_gmail.com>
Date: Wed, 16 Sep 2015 12:54:05 -0500

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'

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