Subject: Re: Cross compilation failure from linux : missing le32dec
To: Giles Lean <giles.lean@pobox.com>
From: Emmanuel Kasper <kdev@no-log.org>
List: current-users
Date: 08/20/2007 16:17:25
Giles Lean schrieb:
> 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
> 

By pulling up the fix commited by Alan Barret into netbsd-4 ( with cvs
rdiff ) I was able to compile the toolchain for netbsd-4.

I am compiling netbsd/386 from linux/ppc.

Thanks a lot ( I had a look at your PR it is a nice piece of work )

Manu