Subject: Re: Cross compilation failure from linux : missing le32dec
To: Emmanuel Kasper <kdev@no-log.org>
From: Giles Lean <giles.lean@pobox.com>
List: current-users
Date: 08/20/2007 21:37:11
Emmanuel Kasper <kdev@no-log.org> wrote:
> I am trying to compile netbsd-4 checked out yesterday from cvs.
> ...
> *** Failed target: dependall
> *** Failed command: cd /fatc/dev/netbsd/src/tools/binstall; /netbsd/obj/tooldir.Linux-2.6.18-5-powerpc-unknown/bin/nbmake realall
>
>
> Accoring to this thread
> http://archive.netbsd.se/?ml=netbsd-current-users&a=2007-01&t=3048715
> the le32dec function is defined in NetBSD but not on Linux.
> Any idea how to work around this ?
A fix has been committed to -current by Alan Barrett:
http://www.NetBSD.org/cgi-bin/query-pr-single.pl?number=36678
It's a simpler version of the change I provided in the PR; you
should be able to use either the change made to -current or the
patch and instructions in the PR on the netbsd-4 branch.
Giles