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 (
> https://wiki.netbsd.org/projects/project/compressed-cache/) . 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 build.sh.
> Command used: /build.sh -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
yesterday.

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index