cannot build video encode example GitHub - numbqq/encoder_libs_aml
khadas@Khadas:~/github/encoder_libs_aml$ make
make -C aml_libion
make.bak[1]: warning: -j6 forced in submake: resetting jobserver mode.
make.bak[1]: Entering directory '/home/khadas/github/encoder_libs_aml/aml_libion'
make.bak[1]: Nothing to be done for 'all'.
make.bak[1]: Leaving directory '/home/khadas/github/encoder_libs_aml/aml_libion'
make -C aml_libge2d
make.bak[1]: warning: -j6 forced in submake: resetting jobserver mode.
make.bak[1]: Entering directory '/home/khadas/github/encoder_libs_aml/aml_libge2d'
make.bak -C ./libge2d
make.bak[2]: Entering directory '/home/khadas/github/encoder_libs_aml/aml_libge2d/libge2d'
aarch64-linux-gnu-gcc -c -fPIC -o aml_ge2d.o aml_ge2d.c -I./include/ -I../../aml_libion/include/ion/
aarch64-linux-gnu-gcc -c -fPIC -o dmabuf.o dmabuf.c -I./include/ -I../../aml_libion/include/ion/
aarch64-linux-gnu-gcc -c -fPIC -o ge2d_port.o ge2d_port.c -I./include/ -I../../aml_libion/include/ion/
aarch64-linux-gnu-gcc -I./include/ -I../../aml_libion/include/ion/ -shared -fPIC -L../../aml_libion/ -lion -o libge2d.so aml_ge2d.o dmabuf.o ge2d_port.o
make.bak[2]: Leaving directory '/home/khadas/github/encoder_libs_aml/aml_libge2d/libge2d'
aarch64-linux-gnu-gcc -I./libge2d/include/ -I./libge2d/kernel-headers/linux/ -L./libge2d -L../aml_libion/ -lion -lpthread -lge2d ge2d_feature_test.c -o ge2d_feature_test
/usr/bin/ld: /tmp/ccHbkFLJ.o: in function `do_cmd':
ge2d_feature_test.c:(.text+0x21f0): undefined reference to `aml_ge2d_attach_dma_fd'
/usr/bin/ld: ge2d_feature_test.c:(.text+0x2214): undefined reference to `aml_ge2d_attach_dma_fd'
/usr/bin/ld: ge2d_feature_test.c:(.text+0x2238): undefined reference to `aml_ge2d_attach_dma_fd'
/usr/bin/ld: ge2d_feature_test.c:(.text+0x2258): undefined reference to `aml_ge2d_config'
/usr/bin/ld: ge2d_feature_test.c:(.text+0x2288): undefined reference to `aml_ge2d_execute'
/usr/bin/ld: ge2d_feature_test.c:(.text+0x22e8): undefined reference to `aml_ge2d_detach_dma_fd'
/usr/bin/ld: ge2d_feature_test.c:(.text+0x22f4): undefined reference to `aml_ge2d_detach_dma_fd'
/usr/bin/ld: ge2d_feature_test.c:(.text+0x2300): undefined reference to `aml_ge2d_detach_dma_fd'
/usr/bin/ld: ge2d_feature_test.c:(.text+0x231c): undefined reference to `aml_ge2d_process'
/usr/bin/ld: /tmp/ccHbkFLJ.o: in function `do_blend':
ge2d_feature_test.c:(.text+0x291c): undefined reference to `aml_ge2d_process'
/usr/bin/ld: ge2d_feature_test.c:(.text+0x2b70): undefined reference to `aml_ge2d_process'
/usr/bin/ld: ge2d_feature_test.c:(.text+0x2d64): undefined reference to `aml_ge2d_process'
/usr/bin/ld: ge2d_feature_test.c:(.text+0x2fa8): undefined reference to `aml_ge2d_process'
/usr/bin/ld: /tmp/ccHbkFLJ.o:ge2d_feature_test.c:(.text+0x31f4): more undefined references to `aml_ge2d_process' follow
/usr/bin/ld: /tmp/ccHbkFLJ.o: in function `main_run':
ge2d_feature_test.c:(.text+0x4070): undefined reference to `aml_ge2d_init'
/usr/bin/ld: ge2d_feature_test.c:(.text+0x4090): undefined reference to `aml_ge2d_mem_alloc'
/usr/bin/ld: ge2d_feature_test.c:(.text+0x4148): undefined reference to `aml_ge2d_invalid_cache'
/usr/bin/ld: ge2d_feature_test.c:(.text+0x42e8): undefined reference to `aml_ge2d_mem_free'
/usr/bin/ld: ge2d_feature_test.c:(.text+0x42f0): undefined reference to `aml_ge2d_exit'
/usr/bin/ld: /tmp/ccHbkFLJ.o: in function `main':
ge2d_feature_test.c:(.text+0x4438): undefined reference to `pthread_create'
/usr/bin/ld: ge2d_feature_test.c:(.text+0x44a4): undefined reference to `pthread_join'
collect2: error: ld returned 1 exit status
make.bak[1]: *** [Makefile:16: all] Error 1
make.bak[1]: Leaving directory '/home/khadas/github/encoder_libs_aml/aml_libge2d'
make.bak: *** [Makefile:8: all] Error 2