Skip to content
vankel edited this page May 6, 2022 · 13 revisions

Welcome to the rtl819x-SDK wiki!

  • Preparation
    • sudo dpkg --add-architecture i386
    • sudo apt update
    • sudo apt install build-essential bison flex subversion zlib1g-dev lib32z1 libc6-dev-i386 lib32stdc++6 libncurses-dev
  • Error Solutions
    • FATAL: RSDK is corrupted.
      • Are you building the code on Windows Subsystem for Linux 1 (WSL1)? WSL1 does not support 32bit linux binary, and RSDK can not execute on QEMU. The SDK only support native linux system or QEMU on WSL2.
    • Opening Terminal Error
      • Set environment variables: TERM and TERMINFO. You should set TERMINFO to the path of terminfo where whereis command finds. terminfo directory is usually divided into letter directories a, b, c, ... z, and each one contains term information beginning with the letter. Therefore, for example, set TERM=xterm and TERMINFO=/path/to/terminfo/directory/which/contains/"x"/directory.
    • No such file or directory
      • If the file exists but the error occurs, You have to install 32bit packages: lib32z1, libc6:i386 and libncurses5:i386.
    • libstdc++.so.6: cannot open shared object file: No such file or directory
      • You have to install 32bit libstdc++: lib32stdc++6.
    • fatal error: bits/libc-header-start.h: No such file or directory
      • You have to install 32bit libc: libc6-dev-i386.
    • rsdk-linux-gcc: Command not found
      • If the command exists but the error occurs, PATH include white space. PATH should not include that.

Clone this wiki locally