All of the include files mentioned are standard ones which have always been 
used.
You are building 1.1.1 differently to 1.0.2.  Debug your build environment 
first.


Pauli
-- 
Dr Paul Dale | Distinguished Architect | Cryptographic Foundations 
Phone +61 7 3031 7217
Oracle Australia




> On 31 Mar 2020, at 7:56 pm, Balázs Horváth <balazs.horvath.em...@gmail.com> 
> wrote:
> 
> Thanks for Your answer!
>  
> I was not clearly describing our problem, sorry! Our project is for embedded 
> devices running on MIPS processors. The system has a special OS, not Linux.
> The development system is under Linux, and we are compiling OpenSSL with 
> cross compile option for MIPS. We also compile the code for Linux, so that we 
> have a simulation of the embedded system, that can be easily debugged under 
> Linux.
> Our problem is, that the OpenSSL V1.1.1d needs includes, that are nonexistent 
> for MIPS in our development system. These headers were not needed for 1.0.2.
>  
> My question is not a 100% OpenSSL question. But I think, as OpenSSL is widely 
> used on non-Linux/Windows/… systems, the question is legitime to ask, what to 
> use on special systems? Or why are these headers needed now?
> The programmer, who changed the code, probably had an idea about that.
>  
> Best regards,
> Balazs
> 
> Michael Wojcik <michael.woj...@microfocus.com 
> <mailto:michael.woj...@microfocus.com>> ezt írta (időpont: 2020. márc. 30., 
> H, 20:20):
> From: openssl-users <openssl-users-boun...@openssl.org 
> <mailto:openssl-users-boun...@openssl.org>> on behalf of Balázs Horváth 
> <balazs.horvath.em...@gmail.com <mailto:balazs.horvath.em...@gmail.com>>
> Sent: Monday, March 30, 2020 10:00
> 
> > Following extra includes are needed:
> > arpa/inet.h
> > netinet/tcp.h
> > netinet/in.h
> > strings.h
> > netdb.h
> > sys/socket.h
> > sys/ioctl.h
> > sys/un.h
> 
> These are system headers, not OpenSSL headers. OpenSSL has no control over 
> them.
> 
> > For Linux the includes under /usr/include work, but for MIPS they give 
> > compile errors.
> 
> Then you're using the wrong headers for the MIPS compilation. To be honest, 
> it's not clear to me what you're doing, because Linux is an operating system 
> (or more precisely a kernel), and MIPS is a processor family.
> 
> > What should we use for MIPS?
> 
> This is not an OpenSSL question. It's a cross-compilation question (I think, 
> since I'm not sure what you're actually trying to do), and so depends on your 
> cross-compilation toolchain.
> 
> 
> 

Reply via email to