GithubHelp home page GithubHelp logo

Comments (5)

beels avatar beels commented on August 16, 2024

Note that if I check out v3.0.1, I get similar error messages about missing files in build/, but the compilation succeeds and the resulting binary works fine when installed on crow.

from crow.

 avatar commented on August 16, 2024

I've been trying to get this working too, to add a lil' custom teensyLC module to the ii devices :)
and I think the issue is the Docker file?

Using this as Dockerfile in the main directory seems to get v4.0.1 to compile:

FROM ubuntu:bionic

RUN apt-get update && \
    apt-get install -y --no-install-recommends software-properties-common && \
    add-apt-repository ppa:team-gcc-arm-embedded/ppa -y && \
    apt-get update && \
    apt-get install -y --no-install-recommends \
    build-essential \
    bzip2 \
    dfu-util \
    gcc-arm-embedded \
    git \
    libreadline-dev \
    unzip \
    zip \
    xxd \
    wget && \
    rm -rf /var/lib/apt/lists/*

RUN wget --quiet https://www.lua.org/ftp/lua-5.3.4.tar.gz -O lua.tar.gz
RUN tar -xzf lua.tar.gz && \
    cd lua-5.3.4 && \
    make linux test && \
    make install && \
    cd ..

WORKDIR /target
ENTRYPOINT ["make", "-j", "R=1", "zip"]

It just updates the ubuntu release (fixing GLIBC_2.27 error) and adds the xxd package. Things then seem to move a bit further in compiling but v4.0.3 and main still seem to fail. The earlier No such file or directory error messages are still there at the start of the output, but then there's this final error at the end of the output:

lib/l_bootstrap.c:53:54: error: initializer element is not constant
     , { "lua_hotswap"   , build_hotswap_lc   , true, build_hotswap_lc_len}
                                                      ^~~~~~~~~~~~~~~~~~~~
lib/l_bootstrap.c:53:54: note: (near initialization for 'Lua_libs[13].len')
Makefile:274: recipe for target 'lib/l_bootstrap.o' failed
make: *** [lib/l_bootstrap.o] Error 1

from crow.

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.