Skip to content

The gmu package cannot be compiled #14

@FantasyGmm

Description

@FantasyGmm

Describe the bug

Because CC is set to CC=/opt/FunKey-sdk/bin/arm-funkey-linux-musleabihf-gcc in gmu's funkey.mk, when compiling as a package for buildroot, the compiler cannot be found because sdk does not exist at all

To Reproduce
Just need clone this repo,then make fun

Expected behavior
This is my direct attempt to compile the system image, as I did not compile the SDK, so he cannot find the compiler and library he needs in the opt directory

2023-08-15T06:51:24 Building decoders/mpg123.so from src/decoders/mpg123.c
2023-08-15T06:51:24 /bin/sh: 1: /opt/FunKey-sdk/bin/arm-funkey-linux-musleabihf-gcc: not found
2023-08-15T06:51:24 make[3]: *** [Makefile.funkey:213: decoders/mpg123.so] Error 127
2023-08-15T06:51:24 cp: cannot stat './frontends': No such file or directory
2023-08-15T06:51:24 cp: cannot stat './gmu': No such file or directory
2023-08-15T06:51:24 Parallel mksquashfs: Using 16 processors
2023-08-15T06:51:24 Creating 4.0 filesystem on gmu_funkey-s.opk, block size 131072.
[================================================================================================================================================================================================================|] 83/83 100%
2023-08-15T06:51:24
2023-08-15T06:51:24 Squashfs 4.0 filesystem, gzip compressed, data block size 131072
2023-08-15T06:51:24 compressed data, compressed metadata, compressed fragments,
2023-08-15T06:51:24 no xattrs, compressed ids
2023-08-15T06:51:24 duplicates are removed
2023-08-15T06:51:24 Filesystem size 169.96 Kbytes (0.17 Mbytes)
2023-08-15T06:51:24 67.07% of uncompressed filesystem size (253.41 Kbytes)
2023-08-15T06:51:24 Inode table size 659 bytes (0.64 Kbytes)
2023-08-15T06:51:24 22.87% of uncompressed inode table size (2882 bytes)
2023-08-15T06:51:24 Directory table size 679 bytes (0.66 Kbytes)
2023-08-15T06:51:24 32.13% of uncompressed directory table size (2113 bytes)
2023-08-15T06:51:24 Number of duplicate files found 37
2023-08-15T06:51:24 Number of inodes 90
2023-08-15T06:51:24 Number of files 83
2023-08-15T06:51:24 Number of fragments 2
2023-08-15T06:51:24 Number of symbolic links  0
2023-08-15T06:51:24 Number of device nodes 0
2023-08-15T06:51:24 Number of fifo nodes 0
2023-08-15T06:51:24 Number of socket nodes 0
2023-08-15T06:51:24 Number of directories 7
2023-08-15T06:51:24 Number of ids (unique uids + gids) 1
2023-08-15T06:51:24 Number of uids 1
2023-08-15T06:51:24 root (0)
2023-08-15T06:51:24 Number of gids 1
2023-08-15T06:51:24 root (0)
2023-08-15T06:51:24 >>> gmu v1.0-funkey-s Installing to target
2023-08-15T06:51:24 /usr/bin/install -d -m 0755 /home/gm/v3s/FunKey-OS/FunKey/output/target/usr/bin/gmu/decoders
2023-08-15T06:51:24 /usr/bin/install -d -m 0755 /home/gm/v3s/FunKey-OS/FunKey/output/target/usr/bin/gmu/frontends
2023-08-15T06:51:24 /usr/bin/install -m 0755 /home/gm/v3s/FunKey-OS/FunKey/output/build/gmu-v1.0-funkey-s/opk/gmu /home/gm/v3s/FunKey-OS/FunKey/output/target/usr/bin/gmu
2023-08-15T06:51:24 /usr/bin/install: cannot stat '/home/gm/v3s/FunKey-OS/FunKey/output/build/gmu-v1.0-funkey-s/opk/gmu': No such file or directory
2023-08-15T06:51:24 make[2]: *** [package/pkg-generic.mk:341: /home/gm/v3s/FunKey-OS/FunKey/output/build/gmu-v1.0-funkey-s/.stamp_target_installed] Error 1
2023-08-15T06:51:24 make[1]: *** [Makefile:84: _all] Error 2
2023-08-15T06:51:24 make[1]: Leaving directory '/home/gm/v3s/FunKey-OS/buildroot'

Metadata

Metadata

Assignees

No one assigned

    Labels

    developmentAnything related to development (setup, compilation...)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions