Topic: NetBSD 5.1 Crosscompile on FreeBSD 8.2 failed
I tried to crosscompile the NetBSD 5.1 on FreeBSD 8.2. But unfortunetally the compilation failed with this output: http://pastebin.com/FbAjeMLn
It seems that some undefined references exists, e.g.:
The function "SHA384_Final" not find reference to "be64enc"
The function "SHA512_Final" not find reference to "be64enc"
The function "SHA224_256_Final" not find reference to "be32enc"
But in the manpage of FreeBSD "man 9 byteorder" stands that alls this references should be implemented. My build way was following. I downloaded the sources with:
$ ftp -i ftp://ftp.at.NetBSD.org/pub/NetBSD/NetB … urce/sets/
ftp> mget *.tgz
Extracted them inside the home directory ~/.../usr/src:
$ foreach file (*.tgz)
? tar -vxzf $file -C /usr/src
And have started the compilation of the toolchain with:
$ cd ~/.../usr/src
$ ./build.sh -m i386 -O ../obj tools
What is wrong in my way? I have seen in google, that some people have same problem. But unfortunetally nobody written a solution. It's maybe possible to disable some SHA algorithms? Or exists a more nice solution?