Tool/software: TI C/C++ Compiler
Hi,
I am trying to compile nginx with open-ssl for a sitara processor using , ./linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-gcc cross compiler,
but I am getting an overflow error for definition of a 64bit constant.
src/core/ngx_string.c: In function 'ngx_atoi':
src/core/ngx_config.h:92:30: error: overflow in implicit constant conversion [-Werror=overflow]
#define NGX_MAX_INT_T_VALUE 9223372036854775807
I can see there are 64bit definitions under stdint-gcc.h , but I am not sure if sitara/or compiler for it, support these or not.
I did modify the nginx definitions to represent a 32 bit value, compilation went ok but my https connections failed. I would assume because of manual modifications to "nginx" ngx_config.h .
Any idea how I can resolve this compilation issue?
Thanks
Ahmad Shahamat
Sr. Firmware Engineer
Ring.com