Code Monkey home page Code Monkey logo

axtls's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

axtls's Issues

macOS: endian.h include problem in crypto/os_int.h

See micropython/micropython#2143.

(Also reported upstream to Cameron Rich via email: http://axtls.sourceforge.net/contact.htm)

The build of axTLS fails on macOS because endian.h is in the "machine" subdirectory. But it's actually not even necessary to explicitly #include <machine/endian.h> because it's already included from <sys/types.h>.

The problematic include is in the file is crypto/os_int.h

This is causing the build of micropython to fail since it depends on axTLS (via a submodule pointing to the fork at https://github.com/pfalcon/axtls). The micropython issue concerning the endian.h bug is here: micropython/micropython#2143

I'm patching axTLS as part of the micropython "formula" on Homebrew, but it would be great if this could be fixed upstream in svn://svn.code.sf.net/p/axtls and then get picked up by the pfalcon fork, so that the patching is no longer necessary.

os_port.h

I try to build axtls on Windows 10 using MSYS2.

In the file os_port.h I find the statement:
os_port_micropython.h

When I changed it to
#include <os_port_micropython.h>
I can build axtls.

I have no experience in C, so I don't know wether the intended behaviour can be created by any compiler or linker option.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.