tce-load -i compiletc libXmu-dev http://tinycorelinux.net/4.x/x86_64/src/aterm/aterm-1.0.1-patched.tbz2 cd aterm-1.0.1 get from glibc-2.28 /usr/include/stropts.h /usr/include/sys/stropts.h /usr/include/bits/stropts.h CC="gcc -march=armv8-a+crc -mtune=cortex-a72 -Os -pipe" CXX="g++ -march=armv8-a+crc -mtune=cortex-a72 -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --localstatedir=/var --enable-utmp --enable-wtmp --disable-memset --enable-xgetdefault --build=aarch64-unknown-linux-gnu find . -name Makefile -type f -exec sed -i 's/-O2//g' {} \; make make install #include #if defined (__svr4__) || defined (__lnx21__) # include /* for struct rlimit */ # include /* for I_PUSH */ # define _NEW_TTY_CTRL /* to get proper defines in */ #endif gcc -march=armv8-a+crc -mtune=cortex-a72 -Os -pipe -DHAVE_CONFIG_H -c -Wall -DNO_DEBUG_OUTPUT -I. -I.. -I. command.c command.c:94:11: fatal error: sys/stropts.h: No such file or directory 94 | # include /* for I_PUSH */ gcc -march=armv8-a+crc -mtune=cortex-a72 -Os -pipe -DHAVE_CONFIG_H -c -Wall -DNO_DEBUG_OUTPUT -I. -I.. -I. command.c command.c: In function 'get_tty': command.c:682:15: error: 'I_PUSH' undeclared (first use in this function) 682 | ioctl(fd, I_PUSH, "ptem"); Aterm version: 1.00.01 : 01 August 2007 Source code location: . Install path: /usr/local/bin Compiler: gcc -march=armv8-a+crc -mtune=cortex-a72 -Os -pipe Compiler flags: -O2 -Wall -DNO_DEBUG_OUTPUT Background image support : AfterImage library: supporting image format libraries: without AfterStep MyStyles support Transparency : enabled malloc support: system default The following are set in config.h utmp support: enabled utmp file: /var/run/utmp wtmp file: ttys/ttytab file: Type of 16bit: short 32bit: int pointer: (same as) long