tce-load -i compiletc meson cmake mesa-dev libEGL-dev libGLES-dev https://github.com/anholt/libepoxy/releases/download/1.5.4/libepoxy-1.5.4.tar.xz cd libepoxy-1.5.4 mkdir build cd build CC="gcc -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe" CXX="g++ -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe -fno-exceptions -fno-rtti" meson --prefix=/usr/local --localstatedir=/var --buildtype=plain -Dtests=false ../ ninja [1m 17.50s] sudo ninja install FAILED: test/glx_beginend gcc -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe -o test/glx_beginend 'test/9f86d08@@glx_beginend@exe/glx_beginend.c.o' -Wl,--as-needed -Wl,--no-undefined -Wl,--start-group test/libglx_common.a src/libepoxy.so.0.0.0 -ldl /usr/local/lib/libX11.so -Wl,--end-group '-Wl,-rpath,$ORIGIN/:$ORIGIN/../src:/usr/local/lib' -Wl,-rpath-link,/usr/src/libepoxy-1.5.4/build/test -Wl,-rpath-link,/usr/src/libepoxy-1.5.4/build/src -Wl,-rpath-link,/usr/local/lib /usr/local/bin/ld: test/9f86d08@@glx_beginend@exe/glx_beginend.c.o: in function `main': glx_beginend.c:(.text.startup+0xac): undefined reference to `glBegin' /usr/local/bin/ld: glx_beginend.c:(.text.startup+0x108): undefined reference to `glEnd' collect2: error: ld returned 1 exit status