Skip to content

issues compiling yi-hack-MStar in MacOSX 10.15.3 #2

@fjcabello

Description

@fjcabello

Hi,

I have the docker image running and follow these steps:

  • Copy original home and rootfs partition files to ./stock_firmware/... (don't ask me where to find them).
  • git submodule update --init
  • ./scripts/init_sysroot.all.sh
  • ./scripts/compile.sh
  • ./scripts/pack_fw.all.sh

But compile.sh fails

`root@ba068e8a531e:/yi-hack-src/yi-hack-MStar# ./scripts/compile.sh


YI-HACK - SRC COMPILER

MOD_DIR: /yi-hack-src/yi-hack-MStar/src/busybox
MOD_NAME: busybox
MOD_INIT: init.busybox
MOD_COMPILE: compile.busybox
MOD_INSTALL: install.busybox

Initializing busybox...

HEAD is now at b84194b13 Bump version to 1.29.3
Compiling busybox...

HOSTCC scripts/basic/split-include
scripts/basic/split-include.c: In function ‘main’:
scripts/basic/split-include.c:134:6: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
134 | fgets(old_line, buffer_size, fp_target);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fixdep: /usr/include/i386-linux-gn: No such file or directory
make[2]: *** [scripts/Makefile.host:104: scripts/basic/split-include] Error 2
make[1]: *** [/yi-hack-src/yi-hack-MStar/src/busybox/busybox/Makefile:357: scripts_basic] Error 2
make: *** [Makefile:522: include/autoconf.h] Error 2`

Any ideas?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions