<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div><b>Dear all,<br><br>Following the instructions in chapter 1c "</b><b>Configure
 OpenSSL for building outside of the source tree." of INSTALL doc,  I 
create "obj" folder under the top directory and try to build in that 
folder. The result shows some header file for the file app_rand.c is not
 included. Is this a bug or did i miss anything?<br><br></b><b><span style="color: rgb(255, 0, 0);">../apps/app_rand.c:10:18: fatal error: apps.h: No such file or directory<br><br></span>wdeng:~/wenbindfiles/openssl/openssl [master]$ ls<br><br></b></div>ACKNOWLEDGEMENTS 
 boringssl        config        Configure      doc        FAQ      
krb5       libcrypto.so    libssl.pc    ms           NOTES.PERL      
NOTES.WIN   os-dep          README.ENGINE  tools<br>apps          
build.info        config.com        CONTRIBUTING  engines   fuzz     
libcrypto.a   libcrypto.so.3  libssl.so    NEWS           
NOTES.UNIX      NUL       providers          README.FIPS    util<br>appveyor.yml  
    build.info.patch  configdata.pm   crypto      e_os.h    include  
libcrypto.ld  libssl.a       libssl.so.3    NOTES.ANDROID  
NOTES.VALGRIND  obj       pyca-cryptography  ssl         VMS<br><div>AUTHORS  
        CHANGES        Configurations  demos      external  INSTALL  
libcrypto.pc  libssl.ld       LICENSE    NOTES.DJGPP    NOTES.VMS       
openssl.pc  README          test<br><br></div><b>wdeng:~/wenbindfiles/openssl/openssl [master]$ git log -n 1</b><br>commit d3136af3c3905a730bd8fb44158aab36a2549d9b<br>Author: Richard Levitte <<a data-auto-link="1" href="mailto:levitte@openssl.org">levitte@openssl.org</a>><br>Date:   Sat May 18 16:24:21 2019 -0700<br><br>    Configure: let platform->dsoext() default with platform->shlibextsimple()<br>    <br>    We still use '.so' as a last resort...<br>    <br>    Fixes #8950<br>    <br>    Reviewed-by: Tim Hudson <<a data-auto-link="1" href="mailto:tjh@openssl.org">tjh@openssl.org</a>><br><div>    (Merged from <a href="https://github.com/openssl/openssl/pull/8951%29" _src="https://github.com/openssl/openssl/pull/8951)">https://github.com/openssl/openssl/pull/8951)</a><br><br> </div><div><b>wdeng@pek-dliu4-u1:~/wenbindfiles/openssl/openssl [master]$ cd obj/<br><br></b></div><b>wdeng@pek-dliu4-u1:~/wenbindfiles/openssl/openssl/obj [master]$ ../config</b><br>Operating system: x86_64-whatever-linux2<br>Configuring OpenSSL version 3.0.0-dev for target linux-x86_64<br>Using os-specific seed configuration<br>Creating configdata.pm<br>Creating Makefile<br><br>**********************************************************************<br>***                                                                ***<br>***   OpenSSL has been successfully configured                     ***<br>***                                                                ***<br>***   If you encounter a problem while building, please open an    ***<br>***   issue on GitHub <https://github.com/openssl/openssl/issues>  ***<br>***   and include the output from the following command:           ***<br>***                                                                ***<br>***       perl configdata.pm --dump                                ***<br>***                                                                ***<br>***   (If you are new to OpenSSL, you might want to consult the    ***<br>***   'Troubleshooting' section in the INSTALL file first)         ***<br>***                                                                ***<br>**********************************************************************<br><b>wdeng:~/wenbindfiles/openssl/openssl/obj [master]$ make</b><br>make depend && make _all<br>make[1]: Entering directory '/folk/wdeng/wenbindfiles/openssl/openssl/obj'<br>make[1]: Leaving directory '/folk/wdeng/wenbindfiles/openssl/openssl/obj'<br>make[1]: Entering directory '/folk/wdeng/wenbindfiles/openssl/openssl/obj'<br>gcc  
 -fPIC -pthread -m64 -Wa,--noexecstack -Wall -O3 -DOPENSSL_USE_NODELETE 
-DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 
-DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m 
-DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM 
-DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM 
-DECP_NISTZ256_ASM -DX25519_ASM -DPOLY1305_ASM 
-DOPENSSLDIR="\"/usr/local/ssl\"" 
-DENGINESDIR="\"/usr/local/lib/engines-3\"" 
-DMODULESDIR="\"/usr/local/lib/ossl-modules\"" -DNDEBUG  -MMD -MF 
apps/libapps-lib-app_rand.d.tmp -MT apps/libapps-lib-app_rand.o -c -o 
apps/libapps-lib-app_rand.o ../apps/app_rand.c<br><span style="color: rgb(255, 0, 0);">../apps/app_rand.c:10:18: fatal error: apps.h: No such file or directory</span><br>compilation terminated.<br>Makefile:826: recipe for target 'apps/libapps-lib-app_rand.o' failed<br>make[1]: *** [apps/libapps-lib-app_rand.o] Error 1<br>make[1]: Leaving directory '/folk/wdeng/wenbindfiles/openssl/openssl/obj'<br>Makefile:165: recipe for target 'all' failed<br>make: *** [all] Error 2<br><br>Thanks,<br>Wenbin</div><br><br><span title="neteasefooter"><p> </p></span>