Giter Site home page Giter Site logo

Compile error about lime-sdk HOT 11 CLOSED

libremesh avatar libremesh commented on August 28, 2024
Compile error

from lime-sdk.

Comments (11)

ilario avatar ilario commented on August 28, 2024 1

It looks like a problem from LEDE to me.

Anyway the problem is that two files lede/ramips/mt7620/sdk/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7620/compat-wireless-2017-01-31/include/linux/ath9k_platform.h and lede/ramips/mt7620/sdk/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7620/linux-4.9.58/include/linux/ath9k_platform.h are different, the first has a line more than the second:

const char *led_name;

The horrible but working workaround for me was to copy the first on the second.

cd lime-sdk
git checkout develop
cp lede/ramips/mt7620/sdk/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7620/compat-wireless-2017-01-31/include/linux/ath9k_platform.h lede/ramips/mt7620/sdk/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7620/linux-4.9.58/include/linux/ath9k_platform.h
./cooker -b ramips/mt7620

from lime-sdk.

ilario avatar ilario commented on August 28, 2024

Hi @AndroidCloned, can you post the full output of cooker (or a link to a pastebin with it)?
Likely real the error is hidden in some row above what you posted here.
Thanks!

from lime-sdk.

AndroidCloned avatar AndroidCloned commented on August 28, 2024

@ilario Thanks for the quick response! Much appreciated. Here is the paste bin on a fresh git clone using the develop branch. https://pastebin.com/9g3gHmbQ

I see a similar issue in #2

I am not sure how he was able to compile the firmware.

from lime-sdk.

ilario avatar ilario commented on August 28, 2024

Can you try if using lime-sdk master branch you get the same error?

from lime-sdk.

AndroidCloned avatar AndroidCloned commented on August 28, 2024

If I use the master branch I can compile as normal. Unfortunately, I have several archer-c59-v1 routers that I am working with which are not in the master branch. @FreifunkUFO is the only one who has a working libremesh build from April.

from lime-sdk.

ilario avatar ilario commented on August 28, 2024

I reproduced obtaining exactly the same error. @p4u pls

from lime-sdk.

ilario avatar ilario commented on August 28, 2024

Pau had your same error months ago: #2 (comment)

from lime-sdk.

FreifunkUFO avatar FreifunkUFO commented on August 28, 2024

i think its a problem with lime-sdk development brunch.
i dont understand these settings there, it seems to be a wild mix. https://github.com/libremesh/lime-sdk/compare/develop but its not lede-trunk in there. maybe its also affected from that "frozen wireless-compat"?

you can see it in your pastebin log file, "compat-wireless-2017-01-31", but on lede-trunk there is a newer version (f.i. krack issue).

p.s. please try target tplink 4300. it may also fail. lets discuss it on #2

from lime-sdk.

ilario avatar ilario commented on August 28, 2024

@FreifunkUFO I also suspected about the frozen compat-wireless but I could find no references to it anywhere in the code so I suppose it's not used (still waiting for @p4u's answer on libremesh/lime-packages#144).

I tried tplink 4300, had the same problem and solved with the identical workaround. I'm going to comment on #2 and close this if you agree.

from lime-sdk.

AndroidCloned avatar AndroidCloned commented on August 28, 2024

I believe this is the case as well. I was comparing sources and came across https://github.com/lede-project/source/blob/master/package/kernel/mac80211/Makefile as well as the kernel source which is 13 days old https://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-testing.git

Thank you everyone for resolving my issue. This does mean our snapshot builds are vulnerable to the krack attacks and bufferbloat that was recently fixed.

from lime-sdk.

ilario avatar ilario commented on August 28, 2024

Ok, let's move the discussion on #2 and on #33 for having a branch for 17.01.4 (which is be Krack safe I suppose...?)

from lime-sdk.

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.