host-tools/setuptools制作错误!
Opened this issue · 3 comments
sunhaiyong1978 commented
有点奇怪……,_ctypes应该是Python3提供的
liangyongxiang commented
在最新的修改上重新编译,依然是类似的问题。
diff --git a/loongarch64/scripts/step/cross-tools/Python3 b/loongarch64/scripts/step/cross-tools/Python3
index 5b38737..f3a123e 100644
--- a/loongarch64/scripts/step/cross-tools/Python3
+++ b/loongarch64/scripts/step/cross-tools/Python3
@@ -6,6 +6,8 @@ export STEP_BUILDNAME=cross-tools
export STEP_PACKAGENAME=Python3
export PACKAGE_VERSION=3.12.1
export RESOURCEDIR=${NEW_TARGET_SYSDIR}/files/cross-tools/Python3/3.12.1/
+export CFLAGS="-Wno-error=implicit-function-declaration"
+export CFLAGS_NODIST=${CFLAGS}
rm -rf ${BUILD_DIRECTORY}/Python-3.12.1
tar xvf ${DOWNLOADDIR}/Python-3.12.1.tar.xz -C ${BUILD_DIRECTORY}
pushd ${BUILD_DIRECTORY}/Python-3.12.1
sunhaiyong1978 commented
我再看看啥原因。