Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    tiny version 编译遇到问题

    编译和烧写问题专区
    4
    6
    1256
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      shyDragon LV 3 last edited by q1215200171

      各位大佬编译遇到这个问题如何去解决

      [./etc/init.d/rcS: line 37: /proc/sys/kernel/printk: Permission denied
      hostname: you must be root to change the host name
      SIOCSIFFLAGS: Operation not permitted
      Enabling rcS
      /etc/init.d/rcS does not have a START or STOP value
      Enabling sysntpd
      Enabling wpa_supplicant
      sed -i "s/Installed-Time: .*/Installed-Time: 1657264429/" /home/shy/v853/tina-v853-open/out/v851se/tinyvision/openwrt/build_dir/target/root-v851se-tinyvision/usr/lib/opkg/status
      rm -rf /home/shy/v853/tina-v853-open/out/v851se/tinyvision/openwrt/build_dir/target/root-v851se-tinyvision/boot /home/shy/v853/tina-v853-open/out/v851se/tinyvision/openwrt/build_dir/target/root-v851se-tinyvision/tmp/* /home/shy/v853/tina-v853-open/out/v851se/tinyvision/openwrt/build_dir/target/root-v851se-tinyvision/usr/lib/opkg/info/*.postinst* /home/shy/v853/tina-v853-open/out/v851se/tinyvision/openwrt/build_dir/target/root-v851se-tinyvision/usr/lib/opkg/lists/* /home/shy/v853/tina-v853-open/out/v851se/tinyvision/openwrt/build_dir/target/root-v851se-tinyvision/var/lock/*.lock
      find /home/shy/v853/tina-v853-open/out/v851se/tinyvision/openwrt/build_dir/target/root-v851se-tinyvision/usr/lib/opkg/info -type f -and -not -name '*.control' -delete
      sed -i -ne '/^Require-User: /p' /home/shy/v853/tina-v853-open/out/v851se/tinyvision/openwrt/build_dir/target/root-v851se-tinyvision/usr/lib/opkg/info/*.control
      awk ' BEGIN { conffiles = 0; print "Conffiles:" } /^Conffiles:/ { conffiles = 1; next } !/^ / { conffiles = 0; next } conffiles == 1 { print } ' /home/shy/v853/tina-v853-open/out/v851se/tinyvision/openwrt/build_dir/target/root-v851se-tinyvision/usr/lib/opkg/status >/home/shy/v853/tina-v853-open/out/v851se/tinyvision/openwrt/build_dir/target/root-v851se-tinyvision/usr/lib/opkg/status.new
      mv /home/shy/v853/tina-v853-open/out/v851se/tinyvision/openwrt/build_dir/target/root-v851se-tinyvision/usr/lib/opkg/status.new /home/shy/v853/tina-v853-open/out/v851se/tinyvision/openwrt/build_dir/target/root-v851se-tinyvision/usr/lib/opkg/status
      find /home/shy/v853/tina-v853-open/out/v851se/tinyvision/openwrt/build_dir/target/root-v851se-tinyvision/usr/lib/opkg -empty -delete
      find /home/shy/v853/tina-v853-open/out/v851se/tinyvision/openwrt/build_dir/target/root-v851se-tinyvision/ -mindepth 1 -execdir touch -hcd "@1657264429" "{}" +
      find: The relative path 'Files' is included in the PATH environment variable, which is insecure in combination with the -execdir action of find.  Please remove that entry from $PATH
      package/Makefile:66: recipe for target 'package/install' failed
      make[2]: *** [package/install] Error 1
      make[2]: Leaving directory '/home/shy/v853/tina-v853-open/openwrt/openwrt'
      package/Makefile:111: recipe for target '/home/shy/v853/tina-v853-open/openwrt/openwrt/staging_dir/target/stamp/.package_install' failed
      make[1]: *** [/home/shy/v853/tina-v853-open/openwrt/openwrt/staging_dir/target/stamp/.package_install] Error 2
      make[1]: Leaving directory '/home/shy/v853/tina-v853-open/openwrt/openwrt'
      /home/shy/v853/tina-v853-open/openwrt/openwrt/include/toplevel.mk:236: recipe for target 'world' failed
      make: *** [world] Error 2
      make: Leaving directory '/home/shy/v853/tina-v853-open/openwrt/openwrt']
      
      F L 2 Replies Last reply Reply Quote Share 0
      • F
        felislynx LV 3 @shyDragon last edited by

        This post is deleted!
        1 Reply Last reply Reply Quote Share 0
        • L
          lee2333 LV 2 @shyDragon last edited by

          @shydragon 在 tiny version 编译遇到问题 中说:

          各位大佬编译遇到这个问题如何去解决

          [./etc/init.d/rcS: line 37: /proc/sys/kernel/printk: Permission denied
          hostname: you must be root to change the host name
          SIOCSIFFLAGS: Operation not permitted
          Enabling rcS
          /etc/init.d/rcS does not have a START or STOP value
          Enabling sysntpd
          Enabling wpa_supplicant
          sed -i "s/Installed-Time: .*/Installed-Time: 1657264429/" /home/shy/v853/tina-v853-open/out/v851se/tinyvision/openwrt/build_dir/target/root-v851se-tinyvision/usr/lib/opkg/status
          rm -rf /home/shy/v853/tina-v853-open/out/v851se/tinyvision/openwrt/build_dir/target/root-v851se-tinyvision/boot /home/shy/v853/tina-v853-open/out/v851se/tinyvision/openwrt/build_dir/target/root-v851se-tinyvision/tmp/* /home/shy/v853/tina-v853-open/out/v851se/tinyvision/openwrt/build_dir/target/root-v851se-tinyvision/usr/lib/opkg/info/*.postinst* /home/shy/v853/tina-v853-open/out/v851se/tinyvision/openwrt/build_dir/target/root-v851se-tinyvision/usr/lib/opkg/lists/* /home/shy/v853/tina-v853-open/out/v851se/tinyvision/openwrt/build_dir/target/root-v851se-tinyvision/var/lock/*.lock
          find /home/shy/v853/tina-v853-open/out/v851se/tinyvision/openwrt/build_dir/target/root-v851se-tinyvision/usr/lib/opkg/info -type f -and -not -name '*.control' -delete
          sed -i -ne '/^Require-User: /p' /home/shy/v853/tina-v853-open/out/v851se/tinyvision/openwrt/build_dir/target/root-v851se-tinyvision/usr/lib/opkg/info/*.control
          awk ' BEGIN { conffiles = 0; print "Conffiles:" } /^Conffiles:/ { conffiles = 1; next } !/^ / { conffiles = 0; next } conffiles == 1 { print } ' /home/shy/v853/tina-v853-open/out/v851se/tinyvision/openwrt/build_dir/target/root-v851se-tinyvision/usr/lib/opkg/status >/home/shy/v853/tina-v853-open/out/v851se/tinyvision/openwrt/build_dir/target/root-v851se-tinyvision/usr/lib/opkg/status.new
          mv /home/shy/v853/tina-v853-open/out/v851se/tinyvision/openwrt/build_dir/target/root-v851se-tinyvision/usr/lib/opkg/status.new /home/shy/v853/tina-v853-open/out/v851se/tinyvision/openwrt/build_dir/target/root-v851se-tinyvision/usr/lib/opkg/status
          find /home/shy/v853/tina-v853-open/out/v851se/tinyvision/openwrt/build_dir/target/root-v851se-tinyvision/usr/lib/opkg -empty -delete
          find /home/shy/v853/tina-v853-open/out/v851se/tinyvision/openwrt/build_dir/target/root-v851se-tinyvision/ -mindepth 1 -execdir touch -hcd "@1657264429" "{}" +
          find: The relative path 'Files' is included in the PATH environment variable, which is insecure in combination with the -execdir action of find.  Please remove that entry from $PATH
          package/Makefile:66: recipe for target 'package/install' failed
          make[2]: *** [package/install] Error 1
          make[2]: Leaving directory '/home/shy/v853/tina-v853-open/openwrt/openwrt'
          package/Makefile:111: recipe for target '/home/shy/v853/tina-v853-open/openwrt/openwrt/staging_dir/target/stamp/.package_install' failed
          make[1]: *** [/home/shy/v853/tina-v853-open/openwrt/openwrt/staging_dir/target/stamp/.package_install] Error 2
          make[1]: Leaving directory '/home/shy/v853/tina-v853-open/openwrt/openwrt'
          /home/shy/v853/tina-v853-open/openwrt/openwrt/include/toplevel.mk:236: recipe for target 'world' failed
          make: *** [world] Error 2
          make: Leaving directory '/home/shy/v853/tina-v853-open/openwrt/openwrt']
          

          我也碰到这个问题了,楼主解决了吗

          1 Reply Last reply Reply Quote Share 0
          • L
            lee2333 LV 2 last edited by

            我也碰到这个问题了,楼主解决了吗

            J 1 Reply Last reply Reply Quote Share 0
            • J
              jasonzhang LV 4 @lee2333 last edited by

              @lee2333 在WSL-Ubuntu下编译的?这边显示的Files目录在env里面,find执行有安全风险,所以被禁止了。
              可以考虑在windows环境变量里删除这个路径,或者修改$PATH,把这个路径移除

              L 1 Reply Last reply Reply Quote Share 0
              • L
                lee2333 LV 2 @jasonzhang last edited by

                @jasonzhang 感谢大佬提供的思路,wsl2默认继承windows里面的环境变量,有的环境变量中的路径带空格污染了$PATH,影响了find的执行

                1 Reply Last reply Reply Quote Share 0
                • 1 / 1
                • First post
                  Last post

                Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

                行为准则 | 用户协议 | 隐私权政策