tce-load -i compiletc fontconfig-dev libxcb-dev perl5 xtrans gettext https://www.x.org/pub/individual/lib/ cd libX11-1.8 cd ../libXt-1.2.1 [libICE-dev libSM-dev] cd ../libXpm-3.5.13 cd ../libXaw-1.0.14 [libXext-dev libXmu-dev] cd ../libXfixes-6.0.0 cd ../libXcursor-1.2.1 [libXrender-dev] cd ../libXfont2-2.0.5 [libfontenc-dev] cd ../libXft-2.3.4 cd ../libXi-1.8 cd ../libXres-1.2.1 cd ../libXvmc-1.0.13 [libXv-dev] [patch -Rp1 -i ../libXfont2-2.0.4.patch] CC="gcc -flto -march=armv8-a+crc -mtune=cortex-a72 -Os -pipe" CXX="g++ -flto -march=armv8-a+crc -mtune=cortex-a72 -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --disable-static --localstatedir=/var --sysconfdir=/etc [libICE LIBS="-pthread"] [libXt --with-appdefaultdir=/etc/X11/app-defaults] [libXfont2 --disable-devel-docs] find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make [4m 11.23s] make install X11 will be built with the following settings: Loadable i18n module support: no Loadable xcursor library support: yes Threading support: yes Use Threads safe API: yes Threads stubs in libX11: no XCMS: yes Internationalization support: yes XF86BigFont support: yes XKB support: yes XLOCALEDIR environment variable support: yes Compose table cache enabled: yes Functional specs building enabled: yes libX11, libXt checking for cpp... /usr/local/bin/cpp checking if /usr/local/bin/cpp requires -undef... cpp: fatal error: no input files compilation terminated. configure:19599: checking if /usr/local/bin/cpp requires -undef configure:19619: error: /usr/local/bin/cpp defines unix with or without -undef. I don't know what to do. make[1]: Entering directory '/usr/src/libX11-1.8/nls' /usr/local/bin/cpp -DWCHAR32=1 < am_ET.UTF-8/XLC_LOCALE.pre | LC_CTYPE=C /usr/local/bin/sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e 's,X11_LOCALEDATADIR,/usr/local/share/X11/locale,g' -e '/\@\@$/s/\@\@$/\\/' -e '/^$/d' > am_ET.UTF-8/XLC_LOCALE cpp: fatal error: no input files compilation terminated.