glinuz / hi3798mv100

How to build linux kernel with HiSilicon hi3798 arm, and create ubuntu rootfs.
172 stars 97 forks source link

hi3796 编译出错 rootbox.mak:25: recipe for target 'rootbox_compose' failed #10

Open QGB opened 1 year ago

QGB commented 1 year ago

顺序从下至上

rootbox.mak:25: recipe for target 'rootbox_compose' failed
make[1]: [rootbox_compose] Error 123 (ignored)
rootbox.mak:25: recipe for target 'rootbox_compose' failed
make[1]: [rootbox_compose] Error 123 (ignored)
make[1]: Leaving directory '/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020'
rootbox is ready
make[1]: Entering directory '/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020'
mkfs.cramfs /home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/out/hi3796mv100/hi3796mdmo1a/rootbox /home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/out/hi3796mv100
/hi3796mdmo1a/image/rootfs.cramfs
mksquashfs /home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/out/hi3796mv100/hi3796mdmo1a/rootbox /home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/out/hi3796mv100/
hi3796mdmo1a/image/rootfs.squashfs \
        -no-fragments -noappend -noI -comp xz -T /home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/source/rootfs/scripts/attr_rule/rulelist_noca.txt -G 0
mkfs.cramfs: loadlocale.c:130: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))' failed.
-e Attention:
        rootbox size must be less than 128M, rootbox size is 48M.

make_ext4fs -l 128M -s /home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/out/hi3796mv100/hi3796mdmo1a/image/rootfs_128M.ext4 /home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00
SPC041B020/out/hi3796mv100/hi3796mdmo1a/rootbox
Creating filesystem with parameters:
    Size: 134217728
    Block size: 4096
    Blocks per group: 32768
    Inodes per group: 8192
    Inode size: 256
    Journal blocks: 1024
    Label:
    Blocks: 32768
    Block groups: 1
    Reserved block group size: 7
Created filesystem with 837/8192 inodes and 13664/32768 blocks
Parallel mksquashfs: Using 4 processors
Creating 4.0 filesystem on /home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/out/hi3796mv100/hi3796mdmo1a/image/rootfs.squashfs, block size 131072.
[/                                                                                                                                                                         ]   0/645   0%M
akefile:338: recipe for target 'cramfs' failed
make[1]: *** [cramfs] Aborted (core dumped)
make[1]: *** Waiting for unfinished jobs....
[=========================================================================================================================================================================-] 645/645 100%

Exportable Squashfs 4.0 filesystem, xz compressed, data block size 131072
        compressed data, uncompressed metadata, no fragments, compressed xattrs
        duplicates are removed
Filesystem size 17080.45 Kbytes (16.68 Mbytes)
        35.97% of uncompressed filesystem size (47478.78 Kbytes)
Inode table size 41772 bytes (40.79 Kbytes)
        100.00% of uncompressed inode table size (41772 bytes)
Directory table size 14792 bytes (14.45 Kbytes)
        100.00% of uncompressed directory table size (14792 bytes)
Xattr table size 40 bytes (0.04 Kbytes)
        100.00% of uncompressed xattr table size (40 bytes)
Number of duplicate files found 1
Number of inodes 827
Number of files 333
Number of symbolic links  433
Number of device nodes 0
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 61
Number of ids (unique uids + gids) 2
Number of uids 2
        root (0)
        qgb (1000)
Number of gids 2
        root (0)
        qgb (1000)
make[1]: Leaving directory '/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020'
Makefile:25: recipe for target 'build' failed
make: *** [build] Error 2

 #### make target "-j" failed !!!(05:37 (mm:ss)) ####

我又全部删除,重新编译了一遍,还是一样的错误

  LD [M]  net/ipv4/ip_tunnel.ko
  CC      net/ipv4/tunnel4.mod.o
  LD [M]  net/ipv4/tunnel4.ko
  CC      net/ipv6/sit.mod.o
  LD [M]  net/ipv6/sit.ko
  CC      net/ipv6/xfrm6_mode_beet.mod.o
  LD [M]  net/ipv6/xfrm6_mode_beet.ko
  CC      net/ipv6/xfrm6_mode_transport.mod.o
  LD [M]  net/ipv6/xfrm6_mode_transport.ko
  CC      net/ipv6/xfrm6_mode_tunnel.mod.o
  LD [M]  net/ipv6/xfrm6_mode_tunnel.ko
  CC      net/mac80211/mac80211.mod.o
  LD [M]  net/mac80211/mac80211.ko
  CC      net/wireless/cfg80211.mod.o
  LD [M]  net/wireless/cfg80211.ko
make[3]: Leaving directory '/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/out/hi3796mv100/hi3796mdmo1a/obj/source/kernel/linux-3.18.y'
make[2]: Leaving directory '/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/source/kernel/linux-3.18.y'
make[1]: Leaving directory '/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/source/kernel'
make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
make[1]: Entering directory '/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020'
make[2]: Entering directory '/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/scripts'
make[2]: Leaving directory '/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/scripts'
rootbox.mak:25: recipe for target 'rootbox_compose' failed
make[1]: [rootbox_compose] Error 123 (ignored)

rootbox.mak:25: recipe for target 'rootbox_compose' failed
make[1]: [rootbox_compose] Error 123 (ignored)
make[1]: Leaving directory '/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020'
rootbox is ready
make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
make[1]: Entering directory '/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020'
mkfs.cramfs /home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/out/hi3796mv100/hi3796mdmo1a/rootbox /home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/out/hi3796mv100/hi3796mdmo1a/image/rootfs.cramfs
mkfs.cramfs: loadlocale.c:130: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))' failed.
Makefile:338: recipe for target 'cramfs' failed
make[1]: *** [cramfs] Aborted (core dumped)
make[1]: Leaving directory '/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020'
Makefile:25: recipe for target 'build' failed
make: *** [build] Error 2

 #### make target "build -j4" failed !!!(13:07 (mm:ss)) ####

准备

qgb@ubuntu:~/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020$ cp configs/hi3796mv100/hi3796mdmo1a_hi3796mv100_cfg.mak  ./cfg.mak
qgb@ubuntu:~/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020$
qgb@ubuntu:~/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020$
qgb@ubuntu:~/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020$ source ./env.sh
qgb@ubuntu:~/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020$ make menuconfig
make[1]: Entering directory '/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/tools/linux/kconfig'
conf.c: In function ‘conf_askvalue’:
conf.c:80:8: warning: variable ‘ptr’ set but not used [-Wunused-but-set-variable]
  char *ptr;
        ^~~
conf.c: In function ‘conf_sym’:
conf.c:160:6: warning: variable ‘type’ set but not used [-Wunused-but-set-variable]
  int type;
      ^~~~
conf.c: In function ‘conf_choice’:
conf.c:234:8: warning: variable ‘ptr’ set but not used [-Wunused-but-set-variable]
  char *ptr;
        ^~~
conf.c:232:6: warning: variable ‘type’ set but not used [-Wunused-but-set-variable]
  int type;
      ^~~~
lxdialog/textbox.c: In function ‘print_line’:
lxdialog/textbox.c:323:9: warning: variable ‘x’ set but not used [-Wunused-but-set-variable]
  int y, x;
         ^
lxdialog/textbox.c:323:6: warning: variable ‘y’ set but not used [-Wunused-but-set-variable]
  int y, x;
      ^
make[1]: Leaving directory '/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/tools/linux/kconfig'
/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/out/hi3796mv100/hi3796mdmo1a/tools/linux/kconfig/himconf scripts/kconfig/mainKconfig
scripts/kconfig/Kconfig.board.tuner1:165:warning: choice value used outside its choice group
scripts/kconfig/Kconfig.board.tuner2:164:warning: choice value used outside its choice group
scripts/kconfig/Kconfig.board.tuner3:164:warning: choice value used outside its choice group
#
# configuration written to cfg.mak
#

*** End of SDK configuration.
*** Execute 'make' to build the SDK or try 'make help'.

make menuconfig over

 #### make "menuconfig" completed successfully!(07:36 (mm:ss)) ####

qgb@ubuntu:~/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020$ exit

编译失败

arm-histbv310-linux-ld: cannot find drivers/wifi/built-in.o: No such file or directory
/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/source/kernel/linux-3.18.y/scripts/Makefile.build:340: recipe for target 'drivers/built-in.o' failed
make[4]: *** [drivers/built-in.o] Error 1
/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/source/kernel/linux-3.18.y/Makefile:946: recipe for target 'drivers' failed
make[3]: *** [drivers] Error 2
make[3]: Leaving directory '/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/out/hi3796mv100/hi3796mdmo1a/obj/source/kernel/linux-3.18.y'
Makefile:145: recipe for target 'sub-make' failed
make[2]: *** [sub-make] Error 2
make[2]: Leaving directory '/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/source/kernel/linux-3.18.y'
Makefile:139: recipe for target '/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/out/hi3796mv100/hi3796mdmo1a/obj/source/kernel/linux-3.18.y/arch/arm/boot/uImage' failed
make[1]: *** [/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/out/hi3796mv100/hi3796mdmo1a/obj/source/kernel/linux-3.18.y/arch/arm/boot/uImage] Error 2
make[1]: Leaving directory '/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/source/kernel'
Makefile:131: recipe for target 'linux' failed
make: *** [linux] Error 2

 #### make target "build -j4" failed !!!(39:40 (mm:ss)) ####
QGB commented 1 year ago

image

QGB commented 1 year ago

image

QGB commented 1 year ago

/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/buildlog.txt <2.821 MiB>

QGB commented 1 year ago

HiTool

"can not connect to serial port! it may be in use"

QGB commented 1 year ago

buildlog.txt

QGB commented 1 year ago
make rootbox
make rootbox_compose
QGB commented 1 year ago

Resend command...
The current Window Size value is 3

Send command:   tftp 0x1000000 bootargs.bin
Eth up port phy at 0x01 is connect
Hisilicon ETH net controler
MAC:   00-D8-14-1C-10-AB
UP_PORT : phy status change : LINK=UP : DUPLEX=FULL : SPEED=100M
Using up device
TFTP from server 192.168.2.10; our IP address is 192.168.2.0
Download Filename 'bootargs.bin'.
Download to address: 0x1000000
Downloading: *T T T T T T 
QGB commented 1 year ago

fastboot# ping 192.168.2.1
Eth up port phy at 0x01 is connect
Hisilicon ETH net controler
MAC address invalid!
Set Random MAC address: FA:7D:06:55:F5:E3
UP_PORT : phy status change : LINK=UP : DUPLEX=FULL : SPEED=100M
Using up device

ARP Retry count exceeded; starting again
Eth up port phy at 0x01 is connect
Hisilicon ETH net controler
MAC:   FA-7D-06-55-F5-E3
UP_PORT : phy status change : LINK=UP : DUPLEX=FULL : SPEED=100M
Using up device
QGB commented 1 year ago

还是ping 不通,估计编译 网络设置有问题


fastboot# printenv
baudrate=115200
netmask=255.255.255.0
gatewayip=192.168.1.1
serverip=192.168.1.1
bootcmd=mmc read 0 0x1FFFFC0 0xB000 0x4000;bootm 0x1FFFFC0
bootargs_512M=mem=512M mmz=ddr,0,0,320M vmalloc=500M
bootargs_768M=mem=768M mmz=ddr,0,0,400M vmalloc=500M
bootargs_1G=mem=1G mmz=ddr,0,0,400M vmalloc=500M
bootargs_2G=mem=2G mmz=ddr,0,0,600M vmalloc=500M
bootargs=console=ttyAMA0,115200 root=/dev/mmcblk0p7 rootfstype=ext4 rootwait blkdevparts=mmcblk0:2M(boot),4M(baseparam),4M(pqparam),4M(logo),8M(trustedcore),8M(kernel),128M(rootfs),-(others)
bootdelay=0
stdin=serial
stdout=serial
stderr=serial
ethact=up
ver=Fastboot 3.3.0-dirty (qgb@) (Sep 30 2022 - 15:01:32)
ethaddr=FA:7D:06:55:F5:E3
ipaddr=192.168.1.11

Environment size: 701/65532 bytes
fastboot#
fastboot# setenv gatewayip 192.168.2.1
fastboot# setenv serverip  192.168.2.1
fastboot# setenv ipaddr  92.168.2.11
QGB commented 1 year ago
installing libcrypto.so.1.0.0
installing libssl.so.1.0.0
make[4]: Entering directory '/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/out/hi3796mv100/hi3796mdmo1a/obj/source/component/openssl/release/lib'
make[5]: Entering directory '/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/out/hi3796mv100/hi3796mdmo1a/obj/source/component/openssl/release/lib'
make[5]: Leaving directory '/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/out/hi3796mv100/hi3796mdmo1a/obj/source/component/openssl/release/lib'
make[5]: Entering directory '/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/out/hi3796mv100/hi3796mdmo1a/obj/source/component/openssl/release/lib'
make[5]: Leaving directory '/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/out/hi3796mv100/hi3796mdmo1a/obj/source/component/openssl/release/lib'
make[4]: Leaving directory '/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/out/hi3796mv100/hi3796mdmo1a/obj/source/component/openssl/release/lib'
OpenSSL shared libraries have been installed in:
  /home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/out/hi3796mv100/hi3796mdmo1a/obj/source/component/openssl/release

If this directory is not in a standard system path for dynamic/shared
libraries, then you will have problems linking and executing
applications that use OpenSSL libraries UNLESS:

* you link with static (archive) libraries.  If you are truly
  paranoid about security, you should use static libraries.
* you use the GNU libtool code during linking
  (http://www.gnu.org/software/libtool/libtool.html)
* you use pkg-config during linking (this requires that
  PKG_CONFIG_PATH includes the path to the OpenSSL shared
  library directory), and make use of -R or -rpath.
  (http://www.freedesktop.org/software/pkgconfig/)
* you specify the system-wide link path via a command such
  as crle(1) on Solaris systems.
* you add the OpenSSL shared library directory to /etc/ld.so.conf
  and run ldconfig(8) on Linux systems.
* you define the LD_LIBRARY_PATH, LIBPATH, SHLIB_PATH (HP),
  DYLD_LIBRARY_PATH (MacOS X) or PATH (Cygwin and DJGPP)
  environment variable and add the OpenSSL shared library
  directory to it.

One common tool to check the dynamic dependencies of an executable
or dynamic library is ldd(1) on most UNIX systems.

See any operating system documentation and manpages about shared
libraries for your version of UNIX.  The following manpages may be
helpful: ld(1), ld.so(1), ld.so.1(1) [Solaris], dld.sl(1) [HP],
ldd(1), crle(1) [Solaris], pldd(1) [Solaris], ldconfig(8) [Linux],
chatr(1) [HP].
cp libcrypto.pc /home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/out/hi3796mv100/hi3796mdmo1a/obj/source/component/openssl/release/lib/pkgconfig
chmod 644 /home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/out/hi3796mv100/hi3796mdmo1a/obj/source/component/openssl/release/lib/pkgconfig/libcrypto.pc
cp libssl.pc /home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/out/hi3796mv100/hi3796mdmo1a/obj/source/component/openssl/release/lib/pkgconfig
chmod 644 /home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/out/hi3796mv100/hi3796mdmo1a/obj/source/component/openssl/release/lib/pkgconfig/libssl.pc
cp openssl.pc /home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/out/hi3796mv100/hi3796mdmo1a/obj/source/component/openssl/release/lib/pkgconfig
chmod 644 /home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/out/hi3796mv100/hi3796mdmo1a/obj/source/component/openssl/release/lib/pkgconfig/openssl.pc
make[3]: Leaving directory '/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/out/hi3796mv100/hi3796mdmo1a/obj/source/component/openssl/openssl-1.0.2j'
make[2]: Leaving directory '/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/source/component/openssl'
make[2]: Entering directory '/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/source/component/hiplayer'
make[2]: Leaving directory '/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/source/component/hiplayer'
make[1]: Leaving directory '/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/source/component'

 #### make target "build -j4" failed !!!(05:52 (mm:ss)) ####

qgb@ubuntu:~/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020$
QGB commented 1 year ago
/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/source/kernel/linux-3.18.y/drivers/usb/core/hub.c: In function 'usb_port_resume':
/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/source/kernel/linux-3.18.y/drivers/usb/core/hub.c:3355:7: warning: unused variable 'retval' [-Wunused-variable]
  int  retval;
       ^
  CC      drivers/usb/core/hcd.o
  CC      drivers/usb/core/urb.o
  CC      drivers/usb/core/message.o
  CC      drivers/usb/core/driver.o
  CC      drivers/usb/core/config.o
  CC      drivers/usb/core/file.o
  CC      drivers/usb/core/buffer.o
  CC      drivers/usb/core/sysfs.o
  CC      drivers/usb/core/endpoint.o
  CC      drivers/usb/core/devio.o
  CC      drivers/usb/core/notify.o
  CC      drivers/usb/core/generic.o
  CC      drivers/usb/core/quirks.o
  CC      drivers/usb/core/devices.o
  CC      drivers/usb/core/port.o
  LD      drivers/usb/core/usbcore.o
  LD      drivers/usb/core/built-in.o
  CC      drivers/usb/host/ehci-hcd.o
  CC      drivers/usb/host/ohci-hcd.o
  CC      drivers/usb/host/xhci.o
  CC      drivers/usb/host/xhci-mem.o
  CC      drivers/usb/host/xhci-ring.o
  CC      drivers/usb/host/xhci-hub.o
  CC      drivers/usb/host/xhci-dbg.o
  CC      drivers/usb/host/xhci-trace.o
  LD      drivers/usb/host/xhci-hcd.o
  LD      drivers/usb/host/built-in.o
  CC [M]  drivers/usb/host/xhci-plat.o
  LD [M]  drivers/usb/host/xhci-plat-hcd.o
  CC [M]  drivers/usb/host/ehci-platform.o
  CC [M]  drivers/usb/host/ohci-platform.o
  LD      drivers/usb/misc/built-in.o
  CC      drivers/usb/phy/of.o
  LD      drivers/usb/phy/built-in.o
  CC      drivers/usb/serial/usb-serial.o
  CC      drivers/usb/serial/generic.o
  CC      drivers/usb/serial/bus.o
  CC      drivers/usb/serial/console.o
  LD      drivers/usb/serial/usbserial.o
  CC      drivers/usb/serial/ftdi_sio.o
  CC      drivers/usb/serial/option.o
  CC      drivers/usb/serial/pl2303.o
  CC      drivers/usb/serial/usb_wwan.o
  LD      drivers/usb/serial/built-in.o
  CC      drivers/usb/storage/scsiglue.o
  CC      drivers/usb/storage/protocol.o
  CC      drivers/usb/storage/transport.o
  CC      drivers/usb/storage/usb.o
  CC      drivers/usb/storage/initializers.o
  CC      drivers/usb/storage/sierra_ms.o
  CC      drivers/usb/storage/option_ms.o
  CC      drivers/usb/storage/usual-tables.o
  LD      drivers/usb/storage/usb-storage.o
  LD      drivers/usb/storage/built-in.o
  LD      drivers/usb/built-in.o
  LD      drivers/video/backlight/built-in.o
  CC [M]  drivers/video/backlight/lcd.o
  CC [M]  drivers/video/backlight/backlight.o
  CC [M]  drivers/video/backlight/generic_bl.o
  CC      drivers/video/console/dummycon.o
  LD      drivers/video/console/built-in.o
  CC      drivers/video/fbdev/core/fb_notify.o
  CC      drivers/video/fbdev/core/fb_cmdline.o
  CC      drivers/video/fbdev/core/fbmem.o
  CC      drivers/video/fbdev/core/fbmon.o
  CC      drivers/video/fbdev/core/fbcmap.o
  CC      drivers/video/fbdev/core/fbsysfs.o
  CC      drivers/video/fbdev/core/modedb.o
  CC      drivers/video/fbdev/core/fbcvt.o
  LD      drivers/video/fbdev/core/fb.o
  LD      drivers/video/fbdev/core/built-in.o
  LD      drivers/video/fbdev/omap2/displays-new/built-in.o
  LD      drivers/video/fbdev/omap2/dss/built-in.o
  LD      drivers/video/fbdev/omap2/built-in.o
  LD      drivers/video/fbdev/built-in.o
  LD      drivers/video/built-in.o
  CC      drivers/watchdog/watchdog_core.o
  CC      drivers/watchdog/watchdog_dev.o
  LD      drivers/watchdog/watchdog.o
  CC      drivers/watchdog/sp805_wdt.o
  LD      drivers/watchdog/built-in.o
  LD      drivers/built-in.o
arm-histbv310-linux-ld: cannot find drivers/bluetooth_usb/built-in.o: No such file or directory
/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/source/kernel/linux-3.18.y/scripts/Makefile.build:340: recipe for target 'drivers/built-in.o' failed
make[4]: *** [drivers/built-in.o] Error 1
/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/source/kernel/linux-3.18.y/Makefile:946: recipe for target 'drivers' failed
make[3]: *** [drivers] Error 2
make[3]: Leaving directory '/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/out/hi3796mv100/hi3796mdmo1a/obj/source/kernel/linux-3.18.y'
Makefile:145: recipe for target 'sub-make' failed
make[2]: *** [sub-make] Error 2
make[2]: Leaving directory '/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/source/kernel/linux-3.18.y'
Makefile:139: recipe for target '/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/out/hi3796mv100/hi3796mdmo1a/obj/source/kernel/linux-3.18.y/arch/arm/boot/uImage' failed
make[1]: *** [/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/out/hi3796mv100/hi3796mdmo1a/obj/source/kernel/linux-3.18.y/arch/arm/boot/uImage] Error 2
make[1]: Leaving directory '/home/qgb/github/hi3798mv100/HiSTBLinuxV100R005C00SPC041B020/source/kernel'
Makefile:131: recipe for target 'linux' failed
make: *** [linux] Error 2

 #### make target "linux" failed !!!(36:06 (mm:ss)) ####