K26 buld fail at iptables

Discussion in 'Tomato Firmware' started by stretch, Mar 13, 2018.

  1. stretch

    stretch Connected Client Member

    I'm trying to do a K26 build of toastman under dir release/src-rt/ using

    make v1=xx v2=xx r2v

    however it is failing at this part.

    Code:
      CC [M]  drivers/media/video/pwc/pwc-dec23.o
      CC [M]  drivers/media/video/pwc/pwc-kiara.o
      CC [M]  drivers/media/video/pwc/pwc-timon.o
      LD [M]  drivers/media/video/pwc/pwc.o
      CC [M]  drivers/media/video/uvc/uvc_driver.o
      CC [M]  drivers/media/video/uvc/uvc_queue.o
      CC [M]  drivers/media/video/uvc/uvc_v4l2.o
      CC [M]  drivers/media/video/uvc/uvc_video.o
      CC [M]  drivers/media/video/uvc/uvc_ctrl.o
      CC [M]  drivers/media/video/uvc/uvc_status.o
      CC [M]  drivers/media/video/uvc/uvc_isight.o
      LD [M]  drivers/media/video/uvc/uvcvideo.o
      CC [M]  drivers/mmc/card/block.o
    drivers/mmc/card/block.c: In function 'mmc_blk_issue_rq':
    drivers/mmc/card/block.c:328: error: implicit declaration of function 'end_that_request_chunk'
    drivers/mmc/card/block.c:335: error: implicit declaration of function 'end_that_request_last'
    scripts/Makefile.build:202: recipe for target 'drivers/mmc/card/block.o' failed
    make[8]: *** [drivers/mmc/card/block.o] Error 1
    scripts/Makefile.build:323: recipe for target 'drivers/mmc/card' failed
    make[7]: *** [drivers/mmc/card] Error 2
    scripts/Makefile.build:323: recipe for target 'drivers/mmc' failed
    make[6]: *** [drivers/mmc] Error 2
    Makefile:793: recipe for target 'drivers' failed
    make[5]: *** [drivers] Error 2
    make[5]: Leaving directory '/home/build/tomato/release/src-rt/linux/linux-2.6'
    Makefile:155: recipe for target 'kernel' failed
    make[4]: *** [kernel] Error 2
    make[4]: Leaving directory '/home/build/tomato/release/src/router'
    Makefile:98: recipe for target 'all' failed
    make[3]: *** [all] Error 2
    make[3]: Leaving directory '/home/build/tomato/release/src-rt'
    Makefile:615: recipe for target 'bin' failed
    make[2]: *** [bin] Error 2
    make[2]: Leaving directory '/home/build/tomato/release/src-rt'
    Makefile:722: recipe for target 'v' failed
    make[1]: *** [v] Error 2
    make[1]: Leaving directory '/home/build/tomato/release/src-rt'
    Makefile:786: recipe for target 'r2v' failed
    make: *** [r2v] Error 2
    Any ideas what could be causing the issue?
     
    Last edited: Mar 13, 2018
  2. Sean B.

    Sean B. LI Guru Member

    1. Run make from /release/src-rt-6.x/ instead.

    2. Do you have all the correct versions of packages required installed on the build system?

    3. Did you make the symlink for the toolchain to /opt/brcm and correctly add to your path?
     
    Last edited: Mar 15, 2018
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice