[ 8%] Building C object CMakeFiles/qi.dir/main.c.o [ 16%] Building C object CMakeFiles/qi.dir/chunk.c.o [ 25%] Building C object CMakeFiles/qi.dir/memory.c.o [ 33%] Building C object CMakeFiles/qi.dir/debug.c.o [ 41%] Building C object CMakeFiles/qi.dir/value.c.o [ 50%] Building C object CMakeFiles/qi.dir/vm.c.o /gitrepositry/qi/src/vm.c: In function ‘containsChar’: /gitrepositry/qi/src/vm.c:121:31: warning: implicit declaration of function ‘iswspace’ [-Wimplicit-function-declaration] 121 | if (input == NULL) return iswspace(c); | ^~~~~~~~ /gitrepositry/qi/src/vm.c:121:40: warning: ‘iswspace’ argument 1 promotes to ‘wchar_t’ {aka ‘int’} where ‘unsigned int’ is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 121 | = NULL) return iswspace(c); | ^ : note: built-in ‘iswspace’ declared here /gitrepositry/qi/src/vm.c: In function ‘invokeString’: /gitrepositry/qi/src/vm.c:444:18: warning: implicit declaration of function ‘towupper’ [-Wimplicit-function-declaration] 444 | *c = towupper(*c); | ^~~~~~~~ /gitrepositry/qi/src/vm.c:444:18: warning: incompatible implicit declaration of built-in function ‘towupper’ /gitrepositry/qi/src/vm.c:20:1: note: include ‘’ or provide a declaration of ‘towupper’ 19 | #include "core_module.h" +++ |+#include 20 | /gitrepositry/qi/src/vm.c:466:18: warning: implicit declaration of function ‘towlower’ [-Wimplicit-function-declaration] 466 | *c = towlower(*c); | ^~~~~~~~ /gitrepositry/qi/src/vm.c:466:18: warning: incompatible implicit declaration of built-in function ‘towlower’ /gitrepositry/qi/src/vm.c:466:18: note: include ‘’ or provide a declaration of ‘towlower’ [ 58%] Building C object CMakeFiles/qi.dir/compiler.c.o [ 66%] Building C object CMakeFiles/qi.dir/scanner.c.o /gitrepositry/qi/src/scanner.c: In function ‘isAlpha’: /gitrepositry/qi/src/scanner.c:51:76: warning: implicit declaration of function ‘iswpunct’ [-Wimplicit-function-declaration] 51 | d int)ch <= 0x2FA1F && !iswpunct(ch)) || iswalpha(ch); | ^~~~~~~~ /gitrepositry/qi/src/scanner.c:51:85: warning: ‘iswpunct’ argument 1 promotes to ‘wchar_t’ {aka ‘int’} where ‘unsigned int’ is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 51 | <= 0x2FA1F && !iswpunct(ch)) || iswalpha(ch); | ^~ : note: built-in ‘iswpunct’ declared here /gitrepositry/qi/src/scanner.c:51:93: warning: implicit declaration of function ‘iswalpha’ [-Wimplicit-function-declaration] 51 | 0x2FA1F && !iswpunct(ch)) || iswalpha(ch); | ^~~~~~~~ /gitrepositry/qi/src/scanner.c:51:102: warning: ‘iswalpha’ argument 1 promotes to ‘wchar_t’ {aka ‘int’} where ‘unsigned int’ is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 51 | wpunct(ch)) || iswalpha(ch); | ^~ : note: built-in ‘iswalpha’ declared here /gitrepositry/qi/src/scanner.c: In function ‘identifier’: /gitrepositry/qi/src/scanner.c:176:31: warning: implicit declaration of function ‘iswdigit’ [-Wimplicit-function-declaration] 176 | ile (isAlpha(peek()) || iswdigit(peek())) advance(); | ^~~~~~~~ /gitrepositry/qi/src/scanner.c:176:40: warning: ‘iswdigit’ argument 1 promotes to ‘wchar_t’ {aka ‘int’} where ‘unsigned int’ is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 176 | pha(peek()) || iswdigit(peek())) advance(); | ^~~~~~ : note: built-in ‘iswdigit’ declared here /gitrepositry/qi/src/scanner.c: In function ‘decimal’: /gitrepositry/qi/src/scanner.c:193:21: warning: ‘iswdigit’ argument 1 promotes to ‘wchar_t’ {aka ‘int’} where ‘unsigned int’ is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 193 | while (iswdigit(peek())) advance(); | ^~~~~~ : note: built-in ‘iswdigit’ declared here /gitrepositry/qi/src/scanner.c:196:36: warning: ‘iswdigit’ argument 1 promotes to ‘wchar_t’ {aka ‘int’} where ‘unsigned int’ is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 196 | (peek() == L'.' && iswdigit(peekNext())) { | ^~~~~~~~~~ : note: built-in ‘iswdigit’ declared here /gitrepositry/qi/src/scanner.c:199:25: warning: ‘iswdigit’ argument 1 promotes to ‘wchar_t’ {aka ‘int’} where ‘unsigned int’ is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 199 | while (iswdigit(peek())) advance(); | ^~~~~~ : note: built-in ‘iswdigit’ declared here /gitrepositry/qi/src/scanner.c:209:23: warning: ‘iswdigit’ argument 1 promotes to ‘wchar_t’ {aka ‘int’} where ‘unsigned int’ is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 209 | if (!iswdigit(peek())) { | ^~~~~~ : note: built-in ‘iswdigit’ declared here /gitrepositry/qi/src/scanner.c:213:25: warning: ‘iswdigit’ argument 1 promotes to ‘wchar_t’ {aka ‘int’} where ‘unsigned int’ is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 213 | while (iswdigit(peek())) advance(); | ^~~~~~ : note: built-in ‘iswdigit’ declared here /gitrepositry/qi/src/scanner.c: In function ‘scanToken’: /gitrepositry/qi/src/scanner.c:307:26: warning: ‘iswdigit’ argument 1 promotes to ‘wchar_t’ {aka ‘int’} where ‘unsigned int’ is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 307 | if (iswdigit(c)) return decimal(); | ^ : note: built-in ‘iswdigit’ declared here [ 75%] Building C object CMakeFiles/qi.dir/object.c.o [ 83%] Building C object CMakeFiles/qi.dir/table.c.o [ 91%] Building C object CMakeFiles/qi.dir/core_module.c.o [100%] Linking C executable qi /usr/bin/ld: CMakeFiles/qi.dir/vm.c.o: in function `run': vm.c:(.text+0x43e0): undefined reference to `fmod' /usr/bin/ld: CMakeFiles/qi.dir/core_module.c.o: in function `sqrtNative': core_module.c:(.text+0x5cb): undefined reference to `sqrt' /usr/bin/ld: CMakeFiles/qi.dir/core_module.c.o: in function `powNative': core_module.c:(.text+0x6d5): undefined reference to `pow' /usr/bin/ld: CMakeFiles/qi.dir/core_module.c.o: in function `roundNative': core_module.c:(.text+0xa3c): undefined reference to `pow' /usr/bin/ld: core_module.c:(.text+0xa5e): undefined reference to `round' /usr/bin/ld: CMakeFiles/qi.dir/core_module.c.o: in function `logNative': core_module.c:(.text+0xcd9): undefined reference to `log' /usr/bin/ld: core_module.c:(.text+0xcec): undefined reference to `log' /usr/bin/ld: CMakeFiles/qi.dir/core_module.c.o: in function `sinNative': core_module.c:(.text+0xd8c): undefined reference to `sin' /usr/bin/ld: CMakeFiles/qi.dir/core_module.c.o: in function `cosNative': core_module.c:(.text+0xe1f): undefined reference to `cos' /usr/bin/ld: CMakeFiles/qi.dir/core_module.c.o: in function `tanNative': core_module.c:(.text+0xeb2): undefined reference to `tan' /usr/bin/ld: CMakeFiles/qi.dir/core_module.c.o: in function `asinNative': core_module.c:(.text+0xf45): undefined reference to `asin' /usr/bin/ld: CMakeFiles/qi.dir/core_module.c.o: in function `acosNative': core_module.c:(.text+0xfd8): undefined reference to `acos' /usr/bin/ld: CMakeFiles/qi.dir/core_module.c.o: in function `atanNative': core_module.c:(.text+0x106b): undefined reference to `atan' /usr/bin/ld: CMakeFiles/qi.dir/core_module.c.o: in function `ceilNative': core_module.c:(.text+0x10fe): undefined reference to `ceil' /usr/bin/ld: CMakeFiles/qi.dir/core_module.c.o: in function `floorNative': core_module.c:(.text+0x1191): undefined reference to `floor' /usr/bin/ld: CMakeFiles/qi.dir/core_module.c.o: in function `randNative': core_module.c:(.text+0x12dc): undefined reference to `round' /usr/bin/ld: core_module.c:(.text+0x12f9): undefined reference to `round' /usr/bin/ld: core_module.c:(.text+0x1318): undefined reference to `round' collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/qi.dir/build.make:257:qi] 错误 1 make[1]: *** [CMakeFiles/Makefile2:83:CMakeFiles/qi.dir/all] 错误 2 make: *** [Makefile:91:all] 错误 2