Posts by dummys

    Hi,

    I'm trying to build rasplex with the support of the mt7610u in order to use my Archer T1U on raspberry pi3.
    I can't make it works after several test. Does anyone can help me on this issue ?

    in udev.d:

    Code
    ACTION=="add", SUBSYSTEM=="net", ATTR{type}=="1", KERNEL=="ra*", NAME="wlan0"

    PS: I was able to make it works on raspbian.
    Thanks


    just look at the other package.mk files

    Code
    PKG_VERSION="<short-git-hash>"
    PKG_URL="https://github.com/luben93/mt7610u_wifi_sta_v3002_dpo_20130916/archive/$PKG_VERSION.tar.gz"

    Yes I look a bunch of it, but didn't found. Did you know if there is a documentation on every options that is available in package.mk files ?
    I search for it but to be honest I didn't found the page.

    I tried what you told me:

    Quote


    UNPACK mt7610u

    scripts/unpack: line 179: build.RasPlex-RPi2.arm-7.0-devel/mt7610u_wifi_sta_v3002_dpo_20130916-2ecaea4796d8f0c55f8f359cf64d28e12180bf93-2ecaea4/.openelec-unpack: No such file or directory
    Makefile:9: recipe for target 'release' failed
    make: *** [release] Error 1

    And my package.mk:

    Hello,
    I'm trying to use this driver : GitHub - xSmallDeadGuyx/mt7610u_wifi_sta_v3002_dpo_20130916: Modified usb wifi driver for TP_link TL-WDN5200 because the original driver is a pain in the ass to build.
    How can I use git to download this driver ?i tried with the PKG_GIT_URL:

    PKG_NAME="mt7610u"
    PKG_VERSION="930"
    PKG_REV="1"
    PKG_ARCH="arm"
    PKG_LICENSE="GPL"
    PKG_SITE="https://d86o2zu8ugzlg.cloudfront.net/mediatek-craft…0130916.tar.bz2"
    PKG_GIT_URL="https://github.com/luben93/mt7610…po_20130916.git"
    PKG_URL=""
    PKG_DEPENDS_TARGET="toolchain linux"
    PKG_PRIORITY="optional"
    PKG_SECTION="driver"
    PKG_SHORTDESC="Mediatek MT7610u 4.x driver"
    PKG_LONGDESC="Mediatek MT7610u 4.x driver"
    PKG_IS_ADDON="no"
    PKG_AUTORECONF="no"

    Then I tried with the unpack() and a git clone, not working too...
    What is wrong ?

    Can't make this driver works...


    How is it broken? "md5sum -t" tells md5sum to read the file in text mode, are you saying "-t" isn't supported by Arch, or that the "-t" option isn't working in Arch? Either way this sounds like an Arch issue... unless it's something else...

    He, it's really weird yes. Because man md5sum shows this option, when using it in comandline, there is not error, but during the build it failed.


    Hello dummys,

    Building RasPlex has only ever been tested on ubuntu 14.04/16.04, if you want to build on Arch I suggest you build RasPlex inside a ubuntu xenial based docker container (OpenPHT-Embedded/Dockerfile at openpht-1.7 · RasPlex/OpenPHT-Embedded · GitHub).
    The release builds of RasPlex is built inside that docker container on our Jenkins server and should work without issues.

    Yes ok. But why your tools is detecting Arch then ? And propose to install every tools etc...
    Let's try to fix it...
    [hr]
    I started building the image under docker. I want to rebuild because I've added a package for mt7610u wireless chipset.
    Can you tell me if my way of doing it is correct please ?

    -> $ ls OpenPHT-Embedded/packages/linux-drivers/mt7610u
    package.mk udev.d

    In udev.d I put a 95-ralink.rules and my package.mk looks like the following, does it looks like ok to you ?

    libtool: compile: /home/dummys/works/toolz/admin/rasplex/build_rasplex_openPHT/OpenPHT-Embedded/build.RasPlex-RPi2.arm-7.0-devel/toolchain/bin/armv7ve-libreelec-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I/home/dummys/works/toolz/admin/rasplex/build_rasplex_openPHT/OpenPHT-Embedded/build.RasPlex-RPi2.arm-7.0-devel/cairo-1.14.6/src -I.. -I/home/dummys/works/toolz/admin/rasplex/build_rasplex_openPHT/OpenPHT-Embedded/build.RasPlex-RPi2.arm-7.0-devel/cairo-1.14.6/src -D_REENTRANT -I/home/dummys/works/toolz/admin/rasplex/build_rasplex_openPHT/OpenPHT-Embedded/build.RasPlex-RPi2.arm-7.0-devel/toolchain/armv7ve-libreelec-linux-gnueabi/sysroot/usr/include/pixman-1 -I/home/dummys/works/toolz/admin/rasplex/build_rasplex_openPHT/OpenPHT-Embedded/build.RasPlex-RPi2.arm-7.0-devel/toolchain/armv7ve-libreelec-linux-gnueabi/sysroot/home/dummys/works/toolz/admin/rasplex/build_rasplex_openPHT/OpenPHT-Embedded/build.RasPlex-RPi2.arm-7.0-devel/toolchain/armv7ve-libreelec-linux-gnueabi/sysroot/usr/include/freetype2 -I/home/dummys/works/toolz/admin/rasplex/build_rasplex_openPHT/OpenPHT-Embedded/build.RasPlex-RPi2.arm-7.0-devel/toolchain/armv7ve-libreelec-linux-gnueabi/sysroot/usr/include/freetype2 -I/home/dummys/works/toolz/admin/rasplex/build_rasplex_openPHT/OpenPHT-Embedded/build.RasPlex-RPi2.arm-7.0-devel/toolchain/armv7ve-libreelec-linux-gnueabi/sysroot/usr/include/freetype2 -I/home/dummys/works/toolz/admin/rasplex/build_rasplex_openPHT/OpenPHT-Embedded/build.RasPlex-RPi2.arm-7.0-devel/toolchain/armv7ve-libreelec-linux-gnueabi/sysroot/usr/include/libpng16 -Wall -Wextra -Wmissing-declarations -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wsign-compare -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wvolatile-register-var -Wstrict-aliasing=2 -Winit-self -Wunsafe-loop-optimizations -Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -fno-strict-aliasing -fno-common -Wp,-D_FORTIFY_SOURCE=2 -Wno-unused-but-set-variable -I/usr/include -march=armv7ve -mabi=aapcs-linux -Wno-psabi -Wa,-mno-warn-deprecated -mcpu=cortex-a7 -mfloat-abi=hard -mfpu=neon-vfpv4 -fomit-frame-pointer -Wall -pipe -Os -fexcess-precision=fast -flto -ffat-lto-objects -MT cairo-bentley-ottmann-rectangular.lo -MD -MP -MF .deps/cairo-bentley-ottmann-rectangular.Tpo -c /home/dummys/works/toolz/admin/rasplex/build_rasplex_openPHT/OpenPHT-Embedded/build.RasPlex-RPi2.arm-7.0-devel/cairo-1.14.6/src/cairo-bentley-ottmann-rectangular.c -fPIC -DPIC -o .libs/cairo-bentley-ottmann-rectangular.o
    CROSS COMPILE Badness: /usr/include in INCLUDEPATH: /usr/include
    cc1: internal compiler error: in add_path, at incpath.c:463
    CROSS COMPILE Badness: /usr/include in INCLUDEPATH: /usr/include
    cc1: internal compiler error: in add_path, at incpath.c:463
    CROSS COMPILE Badness: /usr/include in INCLUDEPATH: /usr/include
    CROSS COMPILE Badness: /usr/include in INCLUDEPATH: /usr/include
    cc1: internal compiler error: in add_path, at incpath.c:463
    cc1: internal compiler error: in add_path, at incpath.c:463
    CROSS COMPILE Badness: /usr/include in INCLUDEPATH: /usr/include
    cc1: internal compiler error: in add_path, at incpath.c:463
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <GCC Bugs - GNU Project - Free Software Foundation (FSF)> for instructions.
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <GCC Bugs - GNU Project - Free Software Foundation (FSF)> for instructions.
    CROSS COMPILE Badness: /usr/include in INCLUDEPATH: /usr/include
    cc1: internal compiler error: in add_path, at incpath.c:463
    CROSS COMPILE Badness: /usr/include in INCLUDEPATH: /usr/include
    Makefile:2338: recipe for target 'cairo-arc.lo' failed
    make[4]: *** [cairo-arc.lo] Error 1
    make[4]: *** Waiting for unfinished jobs....
    cc1: internal compiler error: in add_path, at incpath.c:463
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <GCC Bugs - GNU Project - Free Software Foundation (FSF)> for instructions.
    Makefile:2338: recipe for target 'cairo-base85-stream.lo' failed
    make[4]: *** [cairo-base85-stream.lo] Error 1
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <GCC Bugs - GNU Project - Free Software Foundation (FSF)> for instructions.
    CROSS COMPILE Badness: /usr/include in INCLUDEPATH: /usr/include
    cc1: internal compiler error: in add_path, at incpath.c:463
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <GCC Bugs - GNU Project - Free Software Foundation (FSF)> for instructions.
    Makefile:2338: recipe for target 'cairo-array.lo' failed
    make[4]: *** [cairo-array.lo] Error 1
    Makefile:2338: recipe for target 'cairo-base64-stream.lo' failed
    make[4]: *** [cairo-base64-stream.lo] Error 1
    Makefile:2338: recipe for target 'cairo-analysis-surface.lo' failed
    make[4]: *** [cairo-analysis-surface.lo] Error 1
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <GCC Bugs - GNU Project - Free Software Foundation (FSF)> for instructions.
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <GCC Bugs - GNU Project - Free Software Foundation (FSF)> for instructions.
    Makefile:2338: recipe for target 'cairo-bentley-ottmann.lo' failed
    make[4]: *** [cairo-bentley-ottmann.lo] Error 1
    Makefile:2338: recipe for target 'cairo-atomic.lo' failed
    make[4]: *** [cairo-atomic.lo] Error 1
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <GCC Bugs - GNU Project - Free Software Foundation (FSF)> for instructions.
    Makefile:2338: recipe for target 'cairo-bentley-ottmann-rectangular.lo' failed
    make[4]: *** [cairo-bentley-ottmann-rectangular.lo] Error 1
    make[4]: Leaving directory '/home/dummys/works/toolz/admin/rasplex/build_rasplex_openPHT/OpenPHT-Embedded/build.RasPlex-RPi2.arm-7.0-devel/cairo-1.14.6/.armv7ve-libreelec-linux-gnueabi/src'
    Makefile:1939: recipe for target 'all' failed
    make[3]: *** [all] Error 2
    make[3]: Leaving directory '/home/dummys/works/toolz/admin/rasplex/build_rasplex_openPHT/OpenPHT-Embedded/build.RasPlex-RPi2.arm-7.0-devel/cairo-1.14.6/.armv7ve-libreelec-linux-gnueabi/src'
    Makefile:897: recipe for target 'all-recursive' failed
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory '/home/dummys/works/toolz/admin/rasplex/build_rasplex_openPHT/OpenPHT-Embedded/build.RasPlex-RPi2.arm-7.0-devel/cairo-1.14.6/.armv7ve-libreelec-linux-gnueabi'
    Makefile:747: recipe for target 'all' failed
    make[1]: *** [all] Error 2
    make[1]: Leaving directory '/home/dummys/works/toolz/admin/rasplex/build_rasplex_openPHT/OpenPHT-Embedded/build.RasPlex-RPi2.arm-7.0-devel/cairo-1.14.6/.armv7ve-libreelec-linux-gnueabi'
    make: *** [Makefile:12: image] Error 2

    Hello,

    EDIT: temporary fixed it with adding #include <stdio.h> in _caps_output.gperf and modifiy __cap_lookup_name (register const char *str, register size_t len) to __cap_lookup_name (register const char *str, unsigned int len)

    When building libcap I get the following error:

    Hello,

    On Arch linux, we need to edit the scripts/get.
    The faulty stuff was "md5sum -t" I replaced it with "md5sum" and the build continue correctly.
    Otherwise if fails with a:

    I put a lot of debug string in the script to found this, it was not easy to pinpoint such problem.