<div dir="ltr"><div>Another thing ,  'make && make all '  is successful , but the same openssl files when compiled during my project's compilation show this error . </div><div>PROJECT DIR  << make project here compiles all files.</div><div>|- ..folder 1.</div><div>|- openssl</div><div>|-----...</div><div>Btw, Project uses same CC  -  "/opt/toolchains/adtn-6/sysroots/x86_64-fslsdk-linux/usr/bin/ppce500v2-fsl-linux-gnuspe/powerpc-fsl-linux-gnuspe-gcc"</div><div>Hope this clears some things up.</div>$ ./<a href="http://configdata.pm">configdata.pm</a> -d<br><br>Command line (with current working directory = .):<br><br>    /usr/bin/perl ./Configure no-threads no-dso no-ct no-shared no-zlib no-asm no-engine no-bf no-aria no-blake2 no-camellia no-cast no-md2 no-md4 no-mdc2 no-ocsp no-rc2 no-rc5 no-hw-padlock no-idea no-srp gcc --with-rand-seed=none --cross-compile-prefix=/opt/toolchains/adtn-6/sysroots/x86_64-fslsdk-linux/usr/bin/ppce500v2-fsl-linux-gnuspe/powerpc-fsl-linux-gnuspe-<br><br>Perl information:<br><br>    /usr/bin/perl<br>    5.10.1 for x86_64-linux-thread-multi<br><br>Enabled features:<br><br>    async<br>    autoalginit<br>    autoerrinit<br>    autoload-config<br>    buildtest-c\+\+<br>    capieng<br>    chacha<br>    cmac<br>    cms<br>    comp<br>    deprecated<br>    des<br>    dgram<br>    dh<br>    dsa<br>    dtls<br>    ec<br>    ec2m<br>    ecdh<br>    ecdsa<br>    err<br>    filenames<br>    gost<br>    hw(-.+)?<br>    makedepend<br>    multiblock<br>    nextprotoneg<br>    pinshared<br>    ocb<br>    poly1305<br>    posix-io<br>    psk<br>    rc4<br>    rdrand<br>    rfc3779<br>    rmd160<br>    scrypt<br>    seed<br>    siphash<br>    sm2<br>    sm3<br>    sm4<br>    sock<br>    srtp<br>    sse2<br>    ssl<br>    static-engine<br>    stdio<br>    tests<br>    tls<br>    ts<br>    ui-console<br>    whirlpool<br>    tls1<br>    tls1-method<br>    tls1_1<br>    tls1_1-method<br>    tls1_2<br>    tls1_2-method<br>    tls1_3<br>    dtls1<br>    dtls1-method<br>    dtls1_2<br>    dtls1_2-method<br><br>Disabled features:<br><br>    afalgeng                [cascade]          OPENSSL_NO_AFALGENG<br>    aria                    [option]           OPENSSL_NO_ARIA (skip crypto/aria)<br>    asan                    [default]          OPENSSL_NO_ASAN<br>    asm                     [option]           OPENSSL_NO_ASM<br>    bf                      [option]           OPENSSL_NO_BF (skip crypto/bf)<br>    blake2                  [option]           OPENSSL_NO_BLAKE2 (skip crypto/blake2)<br>    camellia                [option]           OPENSSL_NO_CAMELLIA (skip crypto/camellia)<br>    cast                    [option]           OPENSSL_NO_CAST (skip crypto/cast)<br>    crypto-mdebug           [default]          OPENSSL_NO_CRYPTO_MDEBUG<br>    crypto-mdebug-backtrace [default]          OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE<br>    ct                      [option]           OPENSSL_NO_CT (skip crypto/ct)<br>    devcryptoeng            [default]          OPENSSL_NO_DEVCRYPTOENG<br>    dso                     [option]           OPENSSL_NO_DSO<br>    dynamic-engine          [cascade]          <br>    ec_nistp_64_gcc_128     [default]          OPENSSL_NO_EC_NISTP_64_GCC_128<br>    egd                     [default]          OPENSSL_NO_EGD<br>    engine                  [option]           OPENSSL_NO_ENGINE (skip crypto/engine, engines)<br>    external-tests          [default]          OPENSSL_NO_EXTERNAL_TESTS<br>    fuzz-libfuzzer          [default]          OPENSSL_NO_FUZZ_LIBFUZZER<br>    fuzz-afl                [default]          OPENSSL_NO_FUZZ_AFL<br>    heartbeats              [default]          OPENSSL_NO_HEARTBEATS<br>    idea                    [option]           OPENSSL_NO_IDEA (skip crypto/idea)<br>    md2                     [option]           OPENSSL_NO_MD2 (skip crypto/md2)<br>    md4                     [option]           OPENSSL_NO_MD4 (skip crypto/md4)<br>    mdc2                    [option]           OPENSSL_NO_MDC2 (skip crypto/mdc2)<br>    msan                    [default]          OPENSSL_NO_MSAN<br>    ocsp                    [option]           OPENSSL_NO_OCSP (skip crypto/ocsp)<br>    pic                     [no-shared-target] <br>    rc2                     [option]           OPENSSL_NO_RC2 (skip crypto/rc2)<br>    rc5                     [option]           OPENSSL_NO_RC5 (skip crypto/rc5)<br>    sctp                    [default]          OPENSSL_NO_SCTP<br>    shared                  [option]           <br>    srp                     [option]           OPENSSL_NO_SRP (skip crypto/srp)<br>    ssl-trace               [default]          OPENSSL_NO_SSL_TRACE<br>    threads                 [option]           <br>    ubsan                   [default]          OPENSSL_NO_UBSAN<br>    unit-test               [default]          OPENSSL_NO_UNIT_TEST<br>    weak-ssl-ciphers        [default]          OPENSSL_NO_WEAK_SSL_CIPHERS<br>    zlib                    [option]           <br>    zlib-dynamic            [default]          <br>    ssl3                    [default]          OPENSSL_NO_SSL3<br>    ssl3-method             [default]          OPENSSL_NO_SSL3_METHOD<br><br>Config target attributes:<br><br>    AR => "ar",<br>    ARFLAGS => "r",<br>    CC => "gcc",<br>    CFLAGS => "-O3",<br>    HASHBANGPERL => "/usr/bin/env perl",<br>    RANLIB => "ranlib",<br>    RC => "windres",<br>    aes_asm_src => "aes_core.c aes_cbc.c",<br>    aes_obj => "aes_core.o aes_cbc.o",<br>    apps_aux_src => "",<br>    apps_init_src => "",<br>    apps_obj => "",<br>    bf_asm_src => "bf_enc.c",<br>    bf_obj => "bf_enc.o",<br>    bn_asm_src => "bn_asm.c",<br>    bn_obj => "bn_asm.o",<br>    bn_ops => "BN_LLONG",<br>    build_file => "Makefile",<br>    build_scheme => [ "unified", "unix" ],<br>    cast_asm_src => "c_enc.c",<br>    cast_obj => "c_enc.o",<br>    cflags => "",<br>    chacha_asm_src => "chacha_enc.c",<br>    chacha_obj => "chacha_enc.o",<br>    cmll_asm_src => "camellia.c cmll_misc.c cmll_cbc.c",<br>    cmll_obj => "camellia.o cmll_misc.o cmll_cbc.o",<br>    cppflags => "",<br>    cpuid_asm_src => "mem_clr.c",<br>    cpuid_obj => "mem_clr.o",<br>    defines => [  ],<br>    des_asm_src => "des_enc.c fcrypt_b.c",<br>    des_obj => "des_enc.o fcrypt_b.o",<br>    disable => [  ],<br>    dso_extension => ".so",<br>    ec_asm_src => "",<br>    ec_obj => "",<br>    enable => [  ],<br>    exe_extension => "",<br>    includes => [  ],<br>    keccak1600_asm_src => "keccak1600.c",<br>    keccak1600_obj => "keccak1600.o",<br>    lflags => "",<br>    lib_cflags => "",<br>    lib_cppflags => "",<br>    lib_defines => [  ],<br>    md5_asm_src => "",<br>    md5_obj => "",<br>    modes_asm_src => "",<br>    modes_obj => "",<br>    module_cflags => "",<br>    module_cppflags => "",<br>    module_cxxflags => "",<br>    module_defines => "",<br>    module_includes => "",<br>    module_ldflags => "",<br>    module_lflags => "",<br>    padlock_asm_src => "",<br>    padlock_obj => "",<br>    poly1305_asm_src => "",<br>    poly1305_obj => "",<br>    rc4_asm_src => "rc4_enc.c rc4_skey.c",<br>    rc4_obj => "rc4_enc.o rc4_skey.o",<br>    rc5_asm_src => "rc5_enc.c",<br>    rc5_obj => "rc5_enc.o",<br>    rmd160_asm_src => "",<br>    rmd160_obj => "",<br>    shared_cflag => "",<br>    shared_cppflag => "",<br>    shared_cxxflag => "",<br>    shared_defines => "",<br>    shared_extension => ".so",<br>    shared_extension_simple => ".so",<br>    shared_includes => "",<br>    shared_ldflag => "",<br>    shared_rcflag => "",<br>    shared_target => "",<br>    thread_defines => [  ],<br>    thread_scheme => "(unknown)",<br>    unistd => "<unistd.h>",<br>    uplink_aux_src => "",<br>    uplink_obj => "",<br>    wp_asm_src => "wp_block.c",<br>    wp_obj => "wp_block.o",<br><br>Recorded environment:<br><br>    AR = <br>    ARFLAGS = <br>    AS = <br>    ASFLAGS = <br>    BUILDFILE = <br>    CC = <br>    CFLAGS = <br>    CPP = <br>    CPPDEFINES = <br>    CPPFLAGS = <br>    CPPINCLUDES = <br>    CROSS_COMPILE = <br>    CXX = <br>    CXXFLAGS = <br>    HASHBANGPERL = <br>    LD = <br>    LDFLAGS = <br>    LDLIBS = <br>    MT = <br>    MTFLAGS = <br>    OPENSSL_LOCAL_CONFIG_DIR = <br>    PERL = <br>    RANLIB = <br>    RC = <br>    RCFLAGS = <br>    RM = <br>    WINDRES = <br>    __CNF_CFLAGS = <br>    __CNF_CPPDEFINES = <br>    __CNF_CPPFLAGS = <br>    __CNF_CPPINCLUDES = <br>    __CNF_CXXFLAGS = <br>    __CNF_LDFLAGS = <br>    __CNF_LDLIBS = <br><br>Makevars:<br><br>    AR              = /opt/toolchains/adtn-6/sysroots/x86_64-fslsdk-linux/usr/bin/ppce500v2-fsl-linux-gnuspe/powerpc-fsl-linux-gnuspe-ar<br>    ARFLAGS         = r<br>    CC              = /opt/toolchains/adtn-6/sysroots/x86_64-fslsdk-linux/usr/bin/ppce500v2-fsl-linux-gnuspe/powerpc-fsl-linux-gnuspe-gcc<br>    CFLAGS          = -O3<br>    CPPDEFINES      = <br>    CPPFLAGS        = <br>    CPPINCLUDES     = <br>    CROSS_COMPILE   = /opt/toolchains/adtn-6/sysroots/x86_64-fslsdk-linux/usr/bin/ppce500v2-fsl-linux-gnuspe/powerpc-fsl-linux-gnuspe-<br>    CXXFLAGS        = <br>    HASHBANGPERL    = /usr/bin/env perl<br>    LDFLAGS         = <br>    LDLIBS          = <br>    PERL            = /usr/bin/perl<br>    RANLIB          = /opt/toolchains/adtn-6/sysroots/x86_64-fslsdk-linux/usr/bin/ppce500v2-fsl-linux-gnuspe/powerpc-fsl-linux-gnuspe-ranlib<br>    RC              = /opt/toolchains/adtn-6/sysroots/x86_64-fslsdk-linux/usr/bin/ppce500v2-fsl-linux-gnuspe/powerpc-fsl-linux-gnuspe-windres<br>    RCFLAGS         = <br><br>NOTE: These variables only represent the configuration view.  The build file<br>template may have processed these variables further, please have a look at the<br>build file for more exact data:<br>    Makefile<br><br>build file:<br><br>    Makefile<br><br>build file templates:<br><br>    Configurations/common0.tmpl<br>    Configurations/unix-Makefile.tmpl<br>    Configurations/common.tmpl<br><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Aug 6, 2020 at 2:07 AM Benjamin Kaduk <<a href="mailto:bkaduk@akamai.com">bkaduk@akamai.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Thu, Aug 06, 2020 at 01:51:35AM +0530, prudvi raj wrote:<br>
> Hi there,<br>
> <br>
> I got this error during compilation , in file b_addr.c :<br>
> In function 'BIO_lookup_ex':<br>
> /b_addr.c:748:9: error: unknown type name 'in_addr_t'<br>
> <br>
> I see that "in_addr_t" is defined in "netinet/in.h" & "arpa/inet.h" in<br>
> toolchain (typedef uint32_t in_addr_t;).<br>
> i have even tried to #include<> these files directly but that doesn't seem<br>
> to fix the error. Btw, these files are included already , but under<br>
> conditional #if 's.<br>
> <br>
> I am surprised why the error persists , even after directly including the<br>
> respective source file ??<br>
> <br>
> Here's the config options i used :<br>
> ./Configure  no-threads no-dso no-ct no-shared no-zlib no-asm no-engine<br>
> no-bf no-aria no-blake2 no-camellia no-cast no-md2 no-md4 no-mdc2 no-ocsp<br>
> no-rc2 no-rc5 no-hw-padlock no-idea no-srp gcc  --with-rand-seed=none<br>
>  --cross-compile-prefix=/opt/toolchains/adtn-6/sysroots/x86_64-fslsdk-linux/usr/bin/ppce500v2-fsl-linux-gnuspe/powerpc-fsl-linux-gnuspe-<br>
> <br>
> PS : same error without any cross compile prefix , using only gcc.<br>
<br>
The `./<a href="http://configdata.pm" rel="noreferrer" target="_blank">configdata.pm</a> -d` output might be helpful.<br>
<br>
-Ben<br>
</blockquote></div>