Re: building openssl0.9.8a fails
I found the cause of evil. The error message (see original post) refers to /usr/local/include/unistd.h. I found it peculiar that the build would use headers that are in /usr/local/... Looking further, I found that there are more copies of unistd.h around, which all reside under /usr/include, one of which directly. I also found the copy in /usr/local/include to be as of 1998, whilst the other copies were much newer. After having removed /usr/local/include/unistd.h , the build went smoothly. My problem has been resolved. Thanks for your direction. I still wonder though why openssl managed to pick a copy under /usr/local/include while another one is available in /usr/include. Could this be an issue regarding the configuration of my Linux system, or is this an issue with the build configuration? Erik Leunissen == __ OpenSSL Project http://www.openssl.org User Support Mailing Listopenssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]
Re: building openssl0.9.8a fails
Erik Leunissen wrote: L.S. Building openssl0.9.8a on Linux, using the following commands: ./config shared make failed with the following error message: gcc -I.. -I../.. -I../../include -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2 -DSHA1_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM -c -o ui_openssl.o ui_openssl.c In file included from /usr/include/termio.h:6, from ui_openssl.c:224: /usr/include/sys/ioctl.h:42: error: conflicting types for `ioctl' /usr/local/include/unistd.h:72: error: previous declaration of `ioctl' make[2]: *** [ui_openssl.o] Error 1 make[2]: Leaving directory `/usr/local/src/openssl-0.9.8a/crypto/ui' make[1]: *** [subdirs] Error 1 make[1]: Leaving directory `/usr/local/src/openssl-0.9.8a/crypto' make: *** [build_crypto] Error 1 Any idea what's wrong? To my untrained eye it looks like a foul-up with the system include files, or perhaps a change in what is #defined between the inclusion of ioctl.h and of termio.h. rick jones __ OpenSSL Project http://www.openssl.org User Support Mailing Listopenssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]
Re: building openssl0.9.8a fails
Rick Jones wrote: To my untrained eye it looks like a foul-up with the system include files, or perhaps a change in what is #defined between the inclusion of ioctl.h and of termio.h. OK. Is there any direction for me to take in order to cure this (I don't know what to look for). Please, help, Erik Leunissen == __ OpenSSL Project http://www.openssl.org User Support Mailing Listopenssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]
Re: building openssl0.9.8a fails
Erik Leunissen wrote: Rick Jones wrote: To my untrained eye it looks like a foul-up with the system include files, or perhaps a change in what is #defined between the inclusion of ioctl.h and of termio.h. OK. Is there any direction for me to take in order to cure this (I don't know what to look for). I would start by looking at both include files in an editor of your choice, finding the definition for ioctl and then looking at any encompassing #ifdef like statements. rick jones __ OpenSSL Project http://www.openssl.org User Support Mailing Listopenssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]
building openssl0.9.8a fails
L.S. Building openssl0.9.8a on Linux, using the following commands: ./config shared make failed with the following error message: gcc -I.. -I../.. -I../../include -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2 -DSHA1_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM -c -o ui_openssl.o ui_openssl.c In file included from /usr/include/termio.h:6, from ui_openssl.c:224: /usr/include/sys/ioctl.h:42: error: conflicting types for `ioctl' /usr/local/include/unistd.h:72: error: previous declaration of `ioctl' make[2]: *** [ui_openssl.o] Error 1 make[2]: Leaving directory `/usr/local/src/openssl-0.9.8a/crypto/ui' make[1]: *** [subdirs] Error 1 make[1]: Leaving directory `/usr/local/src/openssl-0.9.8a/crypto' make: *** [build_crypto] Error 1 Any idea what's wrong? Thanks in advance, Erik Leunissen == __ OpenSSL Project http://www.openssl.org User Support Mailing Listopenssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]