Giter Site home page Giter Site logo

Comments (3)

anjia0532 avatar anjia0532 commented on June 5, 2024

@demyanovs thanks for your report.
it works for me(ubuntu).

paste your env plz.

os version: e.g. cat /etc/os-release
openresty version: e.g. openresty -V
maxmind/libmaxminddb version: e.g. mmdblookup --version

https://github.com/maxmind/libmaxminddb/blob/cc7b880263813fbb09b3e62b8b7f9e6e4444eb28/include/maxminddb.h#L37

#define ssize_t SSIZE_T

https://github.com/maxmind/libmaxminddb/blob/cc7b880263813fbb09b3e62b8b7f9e6e4444eb28/include/maxminddb.h#L177-L190

typedef struct MMDB_s {
    uint32_t flags;
    const char *filename;
    ssize_t file_size;
    const uint8_t *file_content;
    const uint8_t *data_section;
    uint32_t data_section_size;
    const uint8_t *metadata_section;
    uint32_t metadata_section_size;
    uint16_t full_record_byte_size;
    uint16_t depth;
    MMDB_ipv4_start_node_s ipv4_start_node;
    MMDB_metadata_s metadata;
} MMDB_s;

from lua-resty-maxminddb.

demyanovs avatar demyanovs commented on June 5, 2024

This error occurred when I ran lua without openresty, so the error is probably on my side.

from lua-resty-maxminddb.

anjia0532 avatar anjia0532 commented on June 5, 2024

ok

from lua-resty-maxminddb.

Related Issues (20)

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.