We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Formating code blocks by wrapping them with pairs of ```
[2/11] Building C object src/CMakeFiles/rtty.dir/file.c.o FAILED: src/CMakeFiles/rtty.dir/file.c.o .../staging_dir/toolchain-aarch64_cortex-a53_gcc-13.2.0_musl/bin/aarch64-openwrt-linux-musl-gcc -D_GNU_SOURCE -I.../build_dir/target-aarch64_cortex-a53_musl/rtty-nossl/rtty-8.1.1/src -I.../build_dir/target-aarch64_cortex-a53_musl/rtty-nossl/rtty-8.1.1/src/buffer -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -fmacro-prefix-map=.../build_dir/target-aarch64_cortex-a53_musl/rtty-nossl/rtty-8.1.1=rtty-8.1.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DNDEBUG -O -Wall -Werror --std=gnu99 -MD -MT src/CMakeFiles/rtty.dir/file.c.o -MF src/CMakeFiles/rtty.dir/file.c.o.d -o src/CMakeFiles/rtty.dir/file.c.o -c .../build_dir/target-aarch64_cortex-a53_musl/rtty-nossl/rtty-8.1.1/src/file.c .../build_dir/target-aarch64_cortex-a53_musl/rtty-nossl/rtty-8.1.1/src/file.c: In function 'start_upload_file': .../build_dir/target-aarch64_cortex-a53_musl/rtty-nossl/rtty-8.1.1/src/file.c:156:24: error: implicit declaration of function 'basename' [-Werror=implicit-function-declaration] 156 | const char *name = basename(path); | ^~~~~~~~ .../build_dir/target-aarch64_cortex-a53_musl/rtty-nossl/rtty-8.1.1/src/file.c:156:24: error: initialization of 'const char *' from 'int' makes pointer from integer without a cast [-Werror=int-conversion] cc1: all warnings being treated as errors ninja: build stopped: subcommand failed.
basename报错,补全#include <libgen.h>也无法解决问题
The text was updated successfully, but these errors were encountered:
openwrt/packages#23931
Sorry, something went wrong.
No branches or pull requests
Environment
rtty
rttys
Description
[2/11] Building C object src/CMakeFiles/rtty.dir/file.c.o
FAILED: src/CMakeFiles/rtty.dir/file.c.o
.../staging_dir/toolchain-aarch64_cortex-a53_gcc-13.2.0_musl/bin/aarch64-openwrt-linux-musl-gcc -D_GNU_SOURCE -I.../build_dir/target-aarch64_cortex-a53_musl/rtty-nossl/rtty-8.1.1/src -I.../build_dir/target-aarch64_cortex-a53_musl/rtty-nossl/rtty-8.1.1/src/buffer -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -fmacro-prefix-map=.../build_dir/target-aarch64_cortex-a53_musl/rtty-nossl/rtty-8.1.1=rtty-8.1.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DNDEBUG -O -Wall -Werror --std=gnu99 -MD -MT src/CMakeFiles/rtty.dir/file.c.o -MF src/CMakeFiles/rtty.dir/file.c.o.d -o src/CMakeFiles/rtty.dir/file.c.o -c .../build_dir/target-aarch64_cortex-a53_musl/rtty-nossl/rtty-8.1.1/src/file.c
.../build_dir/target-aarch64_cortex-a53_musl/rtty-nossl/rtty-8.1.1/src/file.c: In function 'start_upload_file':
.../build_dir/target-aarch64_cortex-a53_musl/rtty-nossl/rtty-8.1.1/src/file.c:156:24: error: implicit declaration of function 'basename' [-Werror=implicit-function-declaration]
156 | const char *name = basename(path);
| ^~~~~~~~
.../build_dir/target-aarch64_cortex-a53_musl/rtty-nossl/rtty-8.1.1/src/file.c:156:24: error: initialization of 'const char *' from 'int' makes pointer from integer without a cast [-Werror=int-conversion]
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.
basename报错,补全#include <libgen.h>也无法解决问题
The text was updated successfully, but these errors were encountered: