hiptext
hiptext copied to clipboard
Compilation error 'sys/termios.h' file not found
Termux 0.118.0 OS: Android REL 14 aarch64
❯ make
g++ -DPACKAGE_NAME=\"hiptext\" -DPACKAGE_TARNAME=\"hiptext\" -DPACKAGE_VERSION=\"0.2\" -DPACKAGE_STRING=\"hiptext\ 0.2\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hiptext\" -DVERSION=\"0.2\" -DHAVE_CXX11=1 -DHAVE_PTHREAD_PRIO_INHERIT=1 -DHAVE_PTHREAD=1 -DHAVE_LIBJPEG=1 -I. -Isrc -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/usr/include/freetype2 -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/usr/include/libpng16 -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/usr/include -g -O2 -MT src/hiptext-hiptext.o -MD -MP -MF src/.deps/hiptext-hiptext.Tpo -c -o src/hiptext-hiptext.o `test -f 'src/hiptext.cc' || echo './'`src/hiptext.cc
In file included from src/hiptext.cc:15:
/data/data/com.termux/files/usr/include/glog/logging.h:60:4: error: <glog/logging.h> was not included correctly. See the documention for how to consume the library.
60 | # error <glog/logging.h> was not included correctly. See the documention for how to consume the library.
| ^
In file included from src/hiptext.cc:15:
In file included from /data/data/com.termux/files/usr/include/glog/logging.h:63:
/data/data/com.termux/files/usr/include/glog/flags.h:45:4: error: <glog/flags.h> was not included correctly. See the documention for how to consume the library.
45 | # error <glog/flags.h> was not included correctly. See the documention for how to consume the library.
| ^
/data/data/com.termux/files/usr/include/glog/flags.h:105:1: error: unknown type name 'GLOG_EXPORT'
105 | DECLARE_int32(logemaillevel);
| ^
/data/data/com.termux/files/usr/include/glog/flags.h:88:31: note: expanded from macro 'DECLARE_int32'
88 | # define DECLARE_int32(name) DECLARE_VARIABLE(google::int32, I, name, int32)
| ^
/data/data/com.termux/files/usr/include/glog/flags.h:80:14: note: expanded from macro 'DECLARE_VARIABLE'
80 | extern GLOG_EXPORT type FLAGS_##name; \
| ^
/data/data/com.termux/files/usr/include/glog/flags.h:105:1: error: cannot define or redeclare 'int32' here because namespace 'fLI' does not enclose namespace 'google'
105 | DECLARE_int32(logemaillevel);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/data/data/com.termux/files/usr/include/glog/flags.h:88:56: note: expanded from macro 'DECLARE_int32'
88 | # define DECLARE_int32(name) DECLARE_VARIABLE(google::int32, I, name, int32)
| ~~~~~~~~^
/data/data/com.termux/files/usr/include/glog/flags.h:80:26: note: expanded from macro 'DECLARE_VARIABLE'
80 | extern GLOG_EXPORT type FLAGS_##name; \
| ^~~~
/data/data/com.termux/files/usr/include/glog/flags.h:105:1: error: expected ';' after top level declarator
/data/data/com.termux/files/usr/include/glog/flags.h:88:31: note: expanded from macro 'DECLARE_int32'
88 | # define DECLARE_int32(name) DECLARE_VARIABLE(google::int32, I, name, int32)
| ^
/data/data/com.termux/files/usr/include/glog/flags.h:80:31: note: expanded from macro 'DECLARE_VARIABLE'
80 | extern GLOG_EXPORT type FLAGS_##name; \
| ^
<scratch space>:217:1: note: expanded from here
217 | FLAGS_logemaillevel
| ^
In file included from src/hiptext.cc:15:
In file included from /data/data/com.termux/files/usr/include/glog/logging.h:63:
/data/data/com.termux/files/usr/include/glog/flags.h:105:1: error: no member named 'FLAGS_logemaillevel' in namespace 'fLI'
105 | DECLARE_int32(logemaillevel);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/data/data/com.termux/files/usr/include/glog/flags.h:88:31: note: expanded from macro 'DECLARE_int32'
88 | # define DECLARE_int32(name) DECLARE_VARIABLE(google::int32, I, name, int32)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/data/data/com.termux/files/usr/include/glog/flags.h:82:26: note: expanded from macro 'DECLARE_VARIABLE'
82 | using fL##shorttype::FLAGS_##name
| ~~~~~~~~~~~~~~~^
<scratch space>:219:1: note: expanded from here
219 | FLAGS_logemaillevel
| ^
In file included from src/hiptext.cc:15:
In file included from /data/data/com.termux/files/usr/include/glog/logging.h:63:
/data/data/com.termux/files/usr/include/glog/flags.h:106:1: error: unknown type name 'GLOG_EXPORT'
106 | DECLARE_int32(logcleansecs);
| ^
/data/data/com.termux/files/usr/include/glog/flags.h:88:31: note: expanded from macro 'DECLARE_int32'
88 | # define DECLARE_int32(name) DECLARE_VARIABLE(google::int32, I, name, int32)
| ^
/data/data/com.termux/files/usr/include/glog/flags.h:80:14: note: expanded from macro 'DECLARE_VARIABLE'
80 | extern GLOG_EXPORT type FLAGS_##name; \
| ^
/data/data/com.termux/files/usr/include/glog/flags.h:106:1: error: cannot define or redeclare 'int32' here because namespace 'fLI' does not enclose namespace 'google'
106 | DECLARE_int32(logcleansecs);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/data/data/com.termux/files/usr/include/glog/flags.h:88:56: note: expanded from macro 'DECLARE_int32'
88 | # define DECLARE_int32(name) DECLARE_VARIABLE(google::int32, I, name, int32)
| ~~~~~~~~^
/data/data/com.termux/files/usr/include/glog/flags.h:80:26: note: expanded from macro 'DECLARE_VARIABLE'
80 | extern GLOG_EXPORT type FLAGS_##name; \
| ^~~~
/data/data/com.termux/files/usr/include/glog/flags.h:106:1: error: expected ';' after top level declarator
/data/data/com.termux/files/usr/include/glog/flags.h:88:31: note: expanded from macro 'DECLARE_int32'
88 | # define DECLARE_int32(name) DECLARE_VARIABLE(google::int32, I, name, int32)
| ^
/data/data/com.termux/files/usr/include/glog/flags.h:80:31: note: expanded from macro 'DECLARE_VARIABLE'
80 | extern GLOG_EXPORT type FLAGS_##name; \
| ^
<scratch space>:221:1: note: expanded from here
221 | FLAGS_logcleansecs
| ^
In file included from src/hiptext.cc:15:
In file included from /data/data/com.termux/files/usr/include/glog/logging.h:63:
/data/data/com.termux/files/usr/include/glog/flags.h:106:1: error: no member named 'FLAGS_logcleansecs' in namespace 'fLI'
106 | DECLARE_int32(logcleansecs);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/data/data/com.termux/files/usr/include/glog/flags.h:88:31: note: expanded from macro 'DECLARE_int32'
88 | # define DECLARE_int32(name) DECLARE_VARIABLE(google::int32, I, name, int32)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/data/data/com.termux/files/usr/include/glog/flags.h:82:26: note: expanded from macro 'DECLARE_VARIABLE'
82 | using fL##shorttype::FLAGS_##name
| ~~~~~~~~~~~~~~~^
<scratch space>:223:1: note: expanded from here
223 | FLAGS_logcleansecs
| ^
In file included from src/hiptext.cc:15:
In file included from /data/data/com.termux/files/usr/include/glog/logging.h:63:
/data/data/com.termux/files/usr/include/glog/flags.h:109:1: error: unknown type name 'GLOG_EXPORT'
109 | DECLARE_bool(drop_log_memory);
| ^
/data/data/com.termux/files/usr/include/glog/flags.h:85:30: note: expanded from macro 'DECLARE_bool'
85 | # define DECLARE_bool(name) DECLARE_VARIABLE(bool, B, name, bool)
| ^
/data/data/com.termux/files/usr/include/glog/flags.h:80:14: note: expanded from macro 'DECLARE_VARIABLE'
80 | extern GLOG_EXPORT type FLAGS_##name; \
| ^
/data/data/com.termux/files/usr/include/glog/flags.h:111:1: error: unknown type name 'GLOG_EXPORT'
111 | DECLARE_string(alsologtoemail);
| ^
/data/data/com.termux/files/usr/include/glog/flags.h:100:12: note: expanded from macro 'DECLARE_string'
100 | extern GLOG_EXPORT std::string& FLAGS_##name; \
| ^
/data/data/com.termux/files/usr/include/glog/flags.h:111:1: error: cannot define or redeclare 'string' here because namespace 'fLS' does not enclose namespace 'std'
111 | DECLARE_string(alsologtoemail);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/data/data/com.termux/files/usr/include/glog/flags.h:100:29: note: expanded from macro 'DECLARE_string'
100 | extern GLOG_EXPORT std::string& FLAGS_##name; \
| ~~~~~^
/data/data/com.termux/files/usr/include/glog/flags.h:111:1: error: expected ';' after top level declarator
/data/data/com.termux/files/usr/include/glog/flags.h:100:35: note: expanded from macro 'DECLARE_string'
100 | extern GLOG_EXPORT std::string& FLAGS_##name; \
| ^
/data/data/com.termux/files/usr/include/glog/flags.h:111:1: error: no member named 'FLAGS_alsologtoemail' in namespace 'fLS'
111 | DECLARE_string(alsologtoemail);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/data/data/com.termux/files/usr/include/glog/flags.h:102:16: note: expanded from macro 'DECLARE_string'
102 | using fLS::FLAGS_##name
| ~~~~~^
<scratch space>:229:1: note: expanded from here
229 | FLAGS_alsologtoemail
| ^
In file included from src/hiptext.cc:15:
In file included from /data/data/com.termux/files/usr/include/glog/logging.h:63:
/data/data/com.termux/files/usr/include/glog/flags.h:112:1: error: unknown type name 'GLOG_EXPORT'
112 | DECLARE_string(log_backtrace_at);
| ^
/data/data/com.termux/files/usr/include/glog/flags.h:100:12: note: expanded from macro 'DECLARE_string'
100 | extern GLOG_EXPORT std::string& FLAGS_##name; \
| ^
/data/data/com.termux/files/usr/include/glog/flags.h:112:1: error: cannot define or redeclare 'string' here because namespace 'fLS' does not enclose namespace 'std'
112 | DECLARE_string(log_backtrace_at);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/data/data/com.termux/files/usr/include/glog/flags.h:100:29: note: expanded from macro 'DECLARE_string'
100 | extern GLOG_EXPORT std::string& FLAGS_##name; \
| ~~~~~^
/data/data/com.termux/files/usr/include/glog/flags.h:112:1: error: expected ';' after top level declarator
/data/data/com.termux/files/usr/include/glog/flags.h:100:35: note: expanded from macro 'DECLARE_string'
100 | extern GLOG_EXPORT std::string& FLAGS_##name; \
| ^
/data/data/com.termux/files/usr/include/glog/flags.h:112:1: error: no member named 'FLAGS_log_backtrace_at' in namespace 'fLS'
112 | DECLARE_string(log_backtrace_at);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/data/data/com.termux/files/usr/include/glog/flags.h:102:16: note: expanded from macro 'DECLARE_string'
102 | using fLS::FLAGS_##name
| ~~~~~^
<scratch space>:231:1: note: expanded from here
231 | FLAGS_log_backtrace_at
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [Makefile:1149: src/hiptext-hiptext.o] Error 1