#14 Can't build from source / Need Sync with Upstream?

Cerrada
abierta hace 6 años por bugmenot · 4 comentarios

I am attempting to build from source but there are a lot of dead links and errors, I think maybe it needs a new sync from upstream version?

Thank you!

I am attempting to build from source but there are a lot of dead links and errors, I think maybe it needs a new sync from upstream version? Thank you!
bugmenot comentado hace 6 años
Autor

It seems most of the 404 errors were solved by uncommenting these lines in download.pl

give sourceforge a few more tries, because it redirects to different mirrors

    for (1 .. 5) {
        push @mirrors, "https://downloads.sourceforge.net/$1";
    }
It seems most of the 404 errors were solved by uncommenting these lines in download.pl --- # give sourceforge a few more tries, because it redirects to different mirrors for (1 .. 5) { push @mirrors, "https://downloads.sourceforge.net/$1"; }
bugmenot comentado hace 6 años
Autor

And... I couldn't get passed this error...

In file included from /home/user/libreCMC/build_dir/target-mips_24kc_musl-1.1.16/linux-ar71xx_generic/u-boot-nbg460n_550n_550nh/u-boot-2010.03-libre/common/env_embedded.c:30:0: /home/user/Projects/libreCMC/build_dir/target-mips_24kc_musl-1.1.16/linux-ar71xx_generic/u-boot-nbg460n_550n_550nh/u-boot-2010.03-libre/include/environment.h:137:21: error: 'CONFIG_ENV_SIZE' undeclared here (not in a function) unsigned char data[ENV_SIZE]; /* Environment data */

And... I couldn't get passed this error... In file included from /home/user/libreCMC/build_dir/target-mips_24kc_musl-1.1.16/linux-ar71xx_generic/u-boot-nbg460n_550n_550nh/u-boot-2010.03-libre/common/env_embedded.c:30:0: /home/user/Projects/libreCMC/build_dir/target-mips_24kc_musl-1.1.16/linux-ar71xx_generic/u-boot-nbg460n_550n_550nh/u-boot-2010.03-libre/include/environment.h:137:21: error: 'CONFIG_ENV_SIZE' undeclared here (not in a function) unsigned char data[ENV_SIZE]; /* Environment data */
RISCI_ATOM comentado hace 6 años
Colaborador

I'm going to need a bit more info to fix both issues : what distro are you using to build libreCMC and which package was it failing on (in regards to the SourceForge 404)? I have not been able to replicate these issues on Trisquel 8 or ubuntu 17.10 (w/linux-libre kernel).

I'm going to need a bit more info to fix both issues : what distro are you using to build libreCMC and which package was it failing on (in regards to the SourceForge 404)? I have not been able to replicate these issues on Trisquel 8 or ubuntu 17.10 (w/linux-libre kernel).
bugmenot comentado hace 6 años
Autor

I'll try and debug the sourceforge issue later, but the second issue is caused by a new version of glibc (glibc 2.26-4 currently). It affects upstream LEDE as well, so I'll have to wait for a fix. The error occurs on Arch-based distros.

I'll try and debug the sourceforge issue later, but the second issue is caused by a new version of glibc (glibc 2.26-4 currently). It affects upstream LEDE as well, so I'll have to wait for a fix. The error occurs on Arch-based distros.
Inicie sesión para unirse a esta conversación.
Cargando...
Cancelar
Guardar
Aún no existe contenido.