![错误:校验和失败文件:sources/expat-2.1.0.tar.gz](https://linux22.com/image/1154262/%E9%94%99%E8%AF%AF%EF%BC%9A%E6%A0%A1%E9%AA%8C%E5%92%8C%E5%A4%B1%E8%B4%A5%E6%96%87%E4%BB%B6%EF%BC%9Asources%2Fexpat-2.1.0.tar.gz.png)
我尝试下载 RTEMS 源生成器并按照以下说明构建工具链这一页。我遇到的问题似乎是通过自动下载的软件包sourceforge.net:看起来 chacksum 不同。以下是日志文件的热门部分:
source setup: expat-2.1.0-x86_64-linux-gnu-1: source expat -q -n expat-2.1.0
making dir: /home/leonardo/development/rtems/rsb/rtems/sources
download: (full) http://downloads.sourceforge.net/project/expat/expat/2.1.0/expat-2.1.0.tar.gz -> sources/expat-2.1.0.tar.gz
download: http://downloads.sourceforge.net/project/expat/expat/2.1.0/expat-2.1.0.tar.gz -> sources/expat-2.1.0.tar.gz
redirect: https://downloads.sourceforge.net/#!/project/expat/expat/2.1.0/expat-2.1.0.tar.gz
redirect: https://downloads.sourceforge.net/#!/project/expat/expat/2.1.0/expat-2.1.0.tar.gz
checksums: expat-2.1.0.tar.gz: 7a07d3f7cca5c0b38ca811984ef8da536da32932d68c1a6cce33ec2462b930bf => 823705472f816df21c8f6aa026dd162b280806838bb55b3432b0fb1fcca7eb86
warning: checksum error: expat-2.1.0.tar.gz
error: checksum failure file: sources/expat-2.1.0.tar.gz
关于如何解决这个问题您有什么想法吗?
答案1
尝试直接从链接下载 tar 文件,并将下载的文件移动到 /rtems-source-builder/rtems/sources