Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error for nearby embedded sdk #964

Open
Fanhang32 opened this issue Oct 18, 2022 · 1 comment
Open

Build error for nearby embedded sdk #964

Fanhang32 opened this issue Oct 18, 2022 · 1 comment

Comments

@Fanhang32
Copy link

Build embedded sdk error on ubuntu 22

cd nearby/embedded
./build.sh gLinux dist DEBUG=1
./build.sh: 15: [: gLinux: unexpected operator

make: 进入目录“/home/mi/gfps/nearby/embedded”
mkdir -p out/gLinux/common/source/
clang -c -Wall -g -MD -Werror -Wno-deprecated-declarations -DARCH_GLINUX -fsanitize=address -fno-omit-frame-pointer -DARCH_GLINUX -DNEARBY_ALL_MODULE_DEBUG -DNEARBY_UNIT_TEST_ENABLED  -O0 -DNEARBY_TRACE_LEVEL=NEARBY_TRACE_LEVEL_VERBOSE -I. -Icommon/source/gLinux -Icommon/target -Icommon/target/gLinux -Icommon/source -o out/gLinux/common/source/nearby_fp_library.o -D__NEARBY_SHORT_FILE__='"nearby_fp_library.c"' common/source/nearby_fp_library.c
mkdir -p out/gLinux/common/source/
clang -c -Wall -g -MD -Werror -Wno-deprecated-declarations -DARCH_GLINUX -fsanitize=address -fno-omit-frame-pointer -DARCH_GLINUX -DNEARBY_ALL_MODULE_DEBUG -DNEARBY_UNIT_TEST_ENABLED  -O0 -DNEARBY_TRACE_LEVEL=NEARBY_TRACE_LEVEL_VERBOSE -I. -Icommon/source/gLinux -Icommon/target -Icommon/target/gLinux -Icommon/source -o out/gLinux/common/source/nearby_message_stream.o -D__NEARBY_SHORT_FILE__='"nearby_message_stream.c"' common/source/nearby_message_stream.c
mkdir -p out/gLinux/common/source/
clang -c -Wall -g -MD -Werror -Wno-deprecated-declarations -DARCH_GLINUX -fsanitize=address -fno-omit-frame-pointer -DARCH_GLINUX -DNEARBY_ALL_MODULE_DEBUG -DNEARBY_UNIT_TEST_ENABLED  -O0 -DNEARBY_TRACE_LEVEL=NEARBY_TRACE_LEVEL_VERBOSE -I. -Icommon/source/gLinux -Icommon/target -Icommon/target/gLinux -Icommon/source -o out/gLinux/common/source/nearby_utils.o -D__NEARBY_SHORT_FILE__='"nearby_utils.c"' common/source/nearby_utils.c
mkdir -p out/gLinux/client/source/
clang -c  -Wall -g -MD -Werror -Wno-deprecated-declarations -DARCH_GLINUX -fsanitize=address -fno-omit-frame-pointer -DARCH_GLINUX -DNEARBY_ALL_MODULE_DEBUG -DNEARBY_UNIT_TEST_ENABLED  -O0 -DNEARBY_TRACE_LEVEL=NEARBY_TRACE_LEVEL_VERBOSE -I. -Icommon/source/gLinux -Icommon/target -Icommon/target/gLinux -Icommon/source -Icommon/target -Iclient/source -Iclient/target -o out/gLinux/client/source/nearby_fp_client.o -D__NEARBY_SHORT_FILE__='"nearby_fp_client.c"' client/source/nearby_fp_client.c
mkdir -p out/gLinux/
ar rcs out/gLinux/libnearby.a out/gLinux/common/source/nearby_fp_library.o out/gLinux/common/source/nearby_message_stream.o out/gLinux/common/source/nearby_utils.o out/gLinux/client/source/nearby_fp_client.o
'out/gLinux/PHONY_FIRMWARE_VERSION' -> 'out/gLinux/FIRMWARE_VERSION'

=====ERROR=====
Missing copyright in common/target/nearby.h
make: *** [Makefile:126:dist/gLinux/nearby.h] 错误 1
make: 离开目录“/home/mi/gfps/nearby/embedded”

@bourdakos1
Copy link
Collaborator

@jgsobczak are you able to help with this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants