设置netbsd交叉编译器时出错 [英] Error while setting up netbsd crosscompiler

查看:339
本文介绍了设置netbsd交叉编译器时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用mips64el处理器设置netbsd到sbmips的交叉编译器。

I am in the process of setting up a cross compiler for netbsd to sbmips with a mips64el processor.

所以我得到源码并使用 ./ build.sh -a mips64el -m sbmips 工具链没有错误。

so I got the source and used ./build.sh -a mips64el -m sbmips and I got my toolchain with no errors.

我继续配置内核:

cd / usr / src / sys / arch / sbmips / conf

/usr/src/tooldir.NetBSD-5.2 .2-amd64 / bin / nbconfig GENERIC

这样工作后,我去:

cd ../ compile / GENERIC

/ usr / src / tooldir.NetBSD-5.2.2-amd64 / bin / nbmake-sbmips

这会失败,错误代码为1,屏幕。我无法复制和粘贴,因为它都在虚拟机中运行...

which fails with error code 1, Here is a link with 2 screens. I cannot copy and paste since it all runs in a VM...

http://i.imgur.com/k9x9spN.png

http://i.imgur.com/Ou9Nwrj.png

其他信息:
我的主机是NetBSD 5.2.2,我想编译到NetBSD 5.0我的源是5.0也!我已经尝试过安装NetBSD 5.0并编译到5.0,但它给出了相同的错误。我愿意安装任何版本,只要我可以编译到5.0。此安装不会用于任何其他目的。

Additional information: My host is NetBSD 5.2.2 and I want to compile to NetBSD 5.0 my source is 5.0 also! I have allready tried to install NetBSD 5.0 and compile to 5.0 but it gives the same error. I am willing to install any version as long as I can can compile to 5.0. this install wont serve any other purpose anyway.

我在虚拟盒VM中运行

推荐答案

netbsd-5(也就是NetBSD 5_STABLE)并不完全支持你想要构建的架构。我建议你尝试建立netbsd-6或者--current(aka HEAD )毕竟,5_STABLE在牙齿上相当长,在2008年底已经分支,并在2009年初发布。

It's entirely possible that the architecture you're wanting to build is not fully supported by netbsd-5 (aka NetBSD 5_STABLE.) I would recommend trying to build either netbsd-6, or -current (aka HEAD) After all, 5_STABLE is rather long in the tooth, having been branched in late 2008, and released in early 2009.

使用NetBSD的build.sh机制,从任何POSIX操作系统的操作系统。我经常在NetBSD 5_STABLE系统上构建netbsd-6和HEAD。

With NetBSD's build.sh mechanism, you can build the OS from any POSIX like operating system. I routinely build netbsd-6 and HEAD on a NetBSD 5_STABLE system.

这篇关于设置netbsd交叉编译器时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆