프로그램 사용/yocto project
imx8 yocto build on ubuntu 22.04
구차니
2023. 2. 10. 16:47
한줄요약
걍 18.04로 돌아갈래!!!
요런게 뜰 때 눈치 챘어야 했는데...
WARNING: Host distribution "ubuntu-22.04" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution. |
ubuntu 22.04에 python3.10이 설치되어 있는데
1. python3.10 이후 패키지 변경으로 인해 아래와 같은 에러가 발생한다.
강제로 python 3.9를 설치하고 /usr/bin/python 과 /usr/bin/python3 심볼릭 링크를 바꾸어 주면 우회는 가능
"ImportError: cannot import name 'Mapping' from 'collections'" with Python 3.10 |
[링크 : https://github.com/tensorflow/tensorboard/issues/5478]
2. SIGSTKSZ 에 (가 어디 있나요... -_-
아무튼 glibc 버전이 2.34 이후 부터 SIGSTKSZ가 상수가 아닌 함수로 변경되었다고.. (니미!)
| In file included from /usr/include/signal.h:328, | from ./signal.h:52, | from ../../m4-1.4.18/lib/c-stack.c:49: | ../../m4-1.4.18/lib/c-stack.c:55:26: error: missing binary operator before token "(" | 55 | #elif HAVE_LIBSIGSEGV && SIGSTKSZ < 16384 | | ^~~~~~~~ |
[링크 : https://stackoverflow.com/questions/69719688/buildroot-error-when-building-with-ubuntu-21-10]
$ getconf -a | grep libc GNU_LIBC_VERSION glibc 2.35 |