dateconv.cc:51:41: error: ‘strptime’ was not declared in this scope

153 views
Skip to first unread message

Chung Nguyen

unread,
Dec 12, 2017, 7:00:48 PM12/12/17
to ADORE-DORIS
Hi,

I tried to install Doris using cygwin but I have an error with make SARtools as follow:

g++ -O3 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE  -D_LARGEFILE64_SOURCE  -c -o dateconv.o dateconv.cc
dateconv.cc: In function ‘int main(int, char**)’:
dateconv.cc:51:41: error: ‘strptime’ was not declared in this scope
   strptime(indatestring,informat,&tm_tmp);
                                         ^
make: *** [Makefile:157: dateconv.o] Error 1

Anyone can help to fix this problem?

Moreover, with cygwin I also failed to compile verbose DEBUG version.

Thank you,
Chung

Chung Nguyen

unread,
Dec 13, 2017, 12:39:22 AM12/13/17
to ADORE-DORIS
I also have problem with installing ENVISAT_TOOLS as follow:

/usr/lib/gcc/x86_64-pc-cygwin/6.4.0/../../../../x86_64-pc-cygwin/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-cygwin/6.4.0/libgcc.a when searching for -lgcc
/usr/lib/gcc/x86_64-pc-cygwin/6.4.0/../../../../x86_64-pc-cygwin/bin/ld: cannot find -lgcc
collect2: error: ld returned 1 exit status
make: *** [Makefile:49: envisat_dump_header] Error 1

Do I need to install ENVISAT_TOOLS to run Doris or ENVISAT_TOOLS is just for processing ENVISAT data?

Thank you,
Chung
Reply all
Reply to author
Forward
0 new messages