Created
September 7, 2024 07:43
-
-
Save pavly-gerges/8c29f6c2147504eb18ae1f2c64c03515 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In file included from /media/pavl-x86-machine/pavl-g/Projects/Electrostatic-Sandbox/electrostatic-sandbox-framework/electrostatic4j/serial4j/serial4j-native/src/lib/jni/com_serial4j_core_terminal_NativeTerminalDevice.cpp:40: | |
/media/pavl-x86-machine/pavl-g/Projects/Electrostatic-Sandbox/electrostatic-sandbox-framework/electrostatic4j/serial4j/serial4j-native/dependencies/include/electrostatic/util/errno/errno.h:14:16: error: expected identifier before ‘(’ token | |
14 | typedef struct errno(errno); | |
| ^~~~~ | |
/media/pavl-x86-machine/pavl-g/Projects/Electrostatic-Sandbox/electrostatic-sandbox-framework/electrostatic4j/serial4j/serial4j-native/dependencies/include/electrostatic/util/errno/errno.h:14:16: error: typedef ‘__errno_location’ is initialized (use ‘decltype’ instead) | |
14 | typedef struct errno(errno); | |
| ^~~~~ | |
/media/pavl-x86-machine/pavl-g/Projects/Electrostatic-Sandbox/electrostatic-sandbox-framework/electrostatic4j/serial4j/serial4j-native/dependencies/include/electrostatic/util/errno/errno.h:16:8: error: expected identifier before ‘(’ token | |
16 | struct errno { | |
| ^~~~~ | |
In file included from /media/pavl-x86-machine/pavl-g/Projects/Electrostatic-Sandbox/electrostatic-sandbox-framework/electrostatic4j/serial4j/serial4j-native/src/include/linux/SerialPort.h:6, | |
from /media/pavl-x86-machine/pavl-g/Projects/Electrostatic-Sandbox/electrostatic-sandbox-framework/electrostatic4j/serial4j/serial4j-native/src/include/linux/TerminalDevice.h:55, | |
from /media/pavl-x86-machine/pavl-g/Projects/Electrostatic-Sandbox/electrostatic-sandbox-framework/electrostatic4j/serial4j/serial4j-native/src/lib/jni/com_serial4j_core_terminal_NativeTerminalDevice.cpp:41: | |
/media/pavl-x86-machine/pavl-g/Projects/Electrostatic-Sandbox/electrostatic-sandbox-framework/electrostatic4j/serial4j/serial4j-native/dependencies/include/electrostatic/util/errno/errno.h: In function ‘int* __errno_location()’: | |
/media/pavl-x86-machine/pavl-g/Projects/Electrostatic-Sandbox/electrostatic-sandbox-framework/electrostatic4j/serial4j/serial4j-native/dependencies/include/electrostatic/util/errno/errno.h:18:1: warning: no return statement in function returning non-void [-Wreturn-type] | |
18 | }; | |
| ^ | |
/media/pavl-x86-machine/pavl-g/Projects/Electrostatic-Sandbox/electrostatic-sandbox-framework/electrostatic4j/serial4j/serial4j-native/dependencies/include/electrostatic/util/errno/errno.h: At global scope: | |
/media/pavl-x86-machine/pavl-g/Projects/Electrostatic-Sandbox/electrostatic-sandbox-framework/electrostatic4j/serial4j/serial4j-native/dependencies/include/electrostatic/util/errno/errno.h:29:20: error: variable or field ‘init_errno’ declared void | |
29 | static inline void init_errno(errno *error) { | |
| ^~~~~~~~~~ | |
/media/pavl-x86-machine/pavl-g/Projects/Electrostatic-Sandbox/electrostatic-sandbox-framework/electrostatic4j/serial4j/serial4j-native/dependencies/include/electrostatic/util/errno/errno.h:29:38: error: ‘error’ was not declared in this scope; did you mean ‘perror’? | |
29 | static inline void init_errno(errno *error) { | |
| ^~~~~ | |
| perror | |
/media/pavl-x86-machine/pavl-g/Projects/Electrostatic-Sandbox/electrostatic-sandbox-framework/electrostatic4j/serial4j/serial4j-native/src/include/linux/SerialPort.h:15:11: error: expected ‘;’ at end of member declaration | |
15 | errno *error; | |
| ^~~~~ | |
/media/pavl-x86-machine/pavl-g/Projects/Electrostatic-Sandbox/electrostatic-sandbox-framework/electrostatic4j/serial4j/serial4j-native/src/include/linux/SerialPort.h:15:18: error: ISO C++ forbids declaration of ‘error’ with no type [-fpermissive] | |
15 | errno *error; | |
| ^~~~~ | |
/media/pavl-x86-machine/pavl-g/Projects/Electrostatic-Sandbox/electrostatic-sandbox-framework/electrostatic4j/serial4j/serial4j-native/src/include/linux/SerialPort.h: In constructor ‘SerialPort::SerialPort()’: | |
/media/pavl-x86-machine/pavl-g/Projects/Electrostatic-Sandbox/electrostatic-sandbox-framework/electrostatic4j/serial4j/serial4j-native/src/include/linux/SerialPort.h:18:15: error: ‘init_errno’ was not declared in this scope | |
18 | init_errno(error); | |
| ^~~~~~~~~~ | |
/media/pavl-x86-machine/pavl-g/Projects/Electrostatic-Sandbox/electrostatic-sandbox-framework/electrostatic4j/serial4j/serial4j-native/src/include/linux/SerialPort.h: In constructor ‘SerialPort::SerialPort(const char*, int)’: | |
/media/pavl-x86-machine/pavl-g/Projects/Electrostatic-Sandbox/electrostatic-sandbox-framework/electrostatic4j/serial4j/serial4j-native/src/include/linux/SerialPort.h:23:15: error: ‘init_errno’ was not declared in this scope | |
23 | init_errno(error); | |
| ^~~~~~~~~~ | |
gmake[2]: *** [CMakeFiles/serial4j.dir/build.make:225: CMakeFiles/serial4j.dir/electrostatic4j/serial4j/serial4j-native/src/lib/jni/com_serial4j_core_terminal_NativeTerminalDevice.cpp.o] Error 1 | |
gmake[1]: *** [CMakeFiles/Makefile2:97: CMakeFiles/serial4j.dir/all] Error 2 | |
gmake: *** [Makefile:103: all] Error 2 | |
mv: cannot stat 'electrostatic4j/serial4j/serial4j-native/cmake-build/linux/x86/libserial4j.so': No such file or directory | |
Bundling serial4j-native |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment