Skip to content
This repository was archived by the owner on Apr 8, 2024. It is now read-only.
This repository was archived by the owner on Apr 8, 2024. It is now read-only.

fatal error: cannot specify '-o' with '-c', '-S' or '-E' with multiple files compilation terminated. #30

@alex9434

Description

@alex9434

I get the following error message compiling openwrt-vlmcsd:

make[4]: Entering directory '/opt/build/openwrt/build_dir/target-aarch64_cortex-a72_musl/vlmcsd/vlmcsd-svn1113'
make[5]: Entering directory '/opt/build/openwrt/build_dir/target-aarch64_cortex-a72_musl/vlmcsd/vlmcsd-svn1113/src'
	CC	vlmcsd.o <- vlmcsd.c
	CC	kmsdata.o <- kmsdata.c
	CC	crypto.o <- crypto.c
	CC	kms.o <- kms.c
	CC	endian.o <- endian.c
	CC	output.o <- output.c
	CC	shared_globals.o <- shared_globals.c
	CC	helpers.o <- helpers.c
	CC	network.o <- network.c
	CC	rpc.o <- rpc.c
	CC	crypto_internal.o <- crypto_internal.c
aarch64-openwrt-linux-musl-gcc: fatal error: cannot specify '-o' with '-c', '-S' or '-E' with multiple files
compilation terminated.
make[5]: *** [GNUmakefile:513: ../build/endian.o] Error 1
make[5]: *** Waiting for unfinished jobs....
aarch64-openwrt-linux-musl-gcc: fatal error: cannot specify '-o' with '-c', '-S' or '-E' with multiple files
compilation terminated.
make[5]: *** [GNUmakefile:513: ../build/crypto.o] Error 1
aarch64-openwrt-linux-musl-gcc: fatal error: cannot specify '-o' with '-c', '-S' or '-E' with multiple files
compilation terminated.
make[5]: *** [GNUmakefile:513: ../build/kmsdata.o] Error 1
aarch64-openwrt-linux-musl-gcc: fatal error: cannot specify '-o' with '-c', '-S' or '-E' with multiple files
compilation terminated.
make[5]: *** [GNUmakefile:513: ../build/shared_globals.o] Error 1
aarch64-openwrt-linux-musl-gcc: fatal error: cannot specify '-o' with '-c', '-S' or '-E' with multiple files
compilation terminated.
make[5]: *** [GNUmakefile:513: ../build/vlmcsd.o] Error 1
aarch64-openwrt-linux-musl-gcc: fatal error: cannot specify '-o' with '-c', '-S' or '-E' with multiple files
compilation terminated.
make[5]: *** [GNUmakefile:513: ../build/kms.o] Error 1
aarch64-openwrt-linux-musl-gcc: fatal error: cannot specify '-o' with '-c', '-S' or '-E' with multiple files
compilation terminated.
aarch64-openwrt-linux-musl-gcc: fatal error: cannot specify '-o' with '-c', '-S' or '-E' with multiple files
compilation terminated.
make[5]: *** [GNUmakefile:513: ../build/helpers.o] Error 1
make[5]: *** [GNUmakefile:513: ../build/output.o] Error 1
aarch64-openwrt-linux-musl-gcc: fatal error: cannot specify '-o' with '-c', '-S' or '-E' with multiple files
compilation terminated.
make[5]: *** [GNUmakefile:513: ../build/network.o] Error 1
aarch64-openwrt-linux-musl-gcc: fatal error: cannot specify '-o' with '-c', '-S' or '-E' with multiple files
compilation terminated.
make[5]: *** [GNUmakefile:513: ../build/rpc.o] Error 1
aarch64-openwrt-linux-musl-gcc: fatal error: cannot specify '-o' with '-c', '-S' or '-E' with multiple files
compilation terminated.
make[5]: *** [GNUmakefile:513: ../build/crypto_internal.o] Error 1
make[5]: Leaving directory '/opt/build/openwrt/build_dir/target-aarch64_cortex-a72_musl/vlmcsd/vlmcsd-svn1113/src'
make[4]: *** [GNUmakefile:107: vlmcsd] Error 2
make[4]: Leaving directory '/opt/build/openwrt/build_dir/target-aarch64_cortex-a72_musl/vlmcsd/vlmcsd-svn1113'
make[3]: *** [Makefile:68: /opt/build/openwrt/build_dir/target-aarch64_cortex-a72_musl/vlmcsd/vlmcsd-svn1113/.built] Error 2

Compiler runs on x64 Debian Stable and target is BCM2711 aarch64.

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