Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Cross compiling NetBSD current

On Fri, Oct 03, 2014 at 10:20:28PM -0400, Vinaykumar Bhat wrote:
> Hi All,
> I am working on Compressed Cache project for NetBSD (
> . I am trying
> to set up the cross compilation environment for NetBSD current. Copying
> tech-kern in this email since my emails to current-users seems to be not
> getting delivered).
> Host machine (where I am compiling): Ubuntu(64-bit) running on x86_64
> Target architecture (where I intend to boot NetBSD): amd64
> I am trying to compile tools using
> Command used: / -U -m amd64 tools
> I see a bunch of compiler errors saying compilation terminated since a file
> was not found (#include <sys/disk.h> fails with file not found). Eventually
> the build fails with message "ERROR: Failed to make build_install in
> "tools"".
> Attaching the last few lines of the build log. I was able to cross compile
> 6-1-4 release branch. hence I am guessing that I have all the necessary
> tools installed properly. Any help will be helpful and greatly appreciated.

How old are your sources ? There have been some fixes to tool build in gpt

Manuel Bouyer <>
     NetBSD: 26 ans d'experience feront toujours la difference

Home | Main Index | Thread Index | Old Index