curl / Mailing Lists / curl-library / Single Mail

curl-library

Recent code breaks cross-compile to Arm (old Android tool chain)

From: Ben Greear <greearb_at_candelatech.com>
Date: Wed, 31 Jan 2018 14:33:29 -0800

Any idea about this one?

make[3]: Entering directory '/home/greearb/btbits/btbits-arm/l4libs/curl-git/src'
   CC curl-slist_wc.o
   CC curl-tool_bname.o
   CC curl-tool_binmode.o
   CC curl-tool_cb_dbg.o
   CC curl-tool_cb_hdr.o
   CC curl-tool_cb_prg.o
   CC curl-tool_cb_rea.o
   CC curl-tool_cb_see.o
tool_cb_prg.c: In function 'progressbarinit':
tool_cb_prg.c:202:20: error: storage size of 'ts' isn't known
      struct winsize ts;
                     ^
tool_cb_prg.c:202:20: warning: unused variable 'ts' [-Wunused-variable]
Makefile:1316: recipe for target 'curl-tool_cb_prg.o' failed
make[3]: *** [curl-tool_cb_prg.o] Error 1
make[3]: *** Waiting for unfinished jobs....
tool_cb_see.c: In function 'tool_seek_cb':
tool_cb_see.c:82:3: warning: conversion to 'off_t' from 'curl_off_t' may alter its value [-Wconversion]
    if(LSEEK_ERROR == lseek(in->fd, offset, whence))
    ^
make[3]: Leaving directory '/home/greearb/btbits/btbits-arm/l4libs/curl-git/src'
Makefile:1847: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/greearb/btbits/btbits-arm/l4libs/curl-git/src'
Makefile:921: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/greearb/btbits/btbits-arm/l4libs/curl-git'

Thanks,
Ben

-- 
Ben Greear <greearb_at_candelatech.com>
Candela Technologies Inc  http://www.candelatech.com
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2018-01-31