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

Re: gentoo failing to build on powerpc, a bit mysteriously

On Sat, Aug 24, 2002 at 05:44:42PM +0200, Michel Dänzer wrote:
> > > but it turns out __linux simply isn't defined in src/mntent_wrap.c, so
> > > those functions don't get defined. Dunno what a better test for a Linux
> > > build would be (__linux is also used in a couple other gentoo files).
> > 
> > I would think that the process of determining if __linux is defined would be
> > the same on all architectures running Linux... how come it's not so on
> > PowerPC? Is the code broken or is the PowerPC gcc/whatever different?
> I think both. :) The code assumes __linux is defined on Linux which
> obviously isn't always the case. grep -r __linux /usr/include seems to
> indicate it should test for __linux__ instead.

Yeah. I'll have it changed, and try it on voltaire.

     2. That which causes joy or happiness.

Reply to: