Re: Bug#389873: grub2: FTBFS (ppc64): util/console.c:275: undefined reference to `stdscr'
On Thu, Sep 28, 2006 at 10:43:09AM -0300, Otavio Salvador wrote:
> [ Added firstname.lastname@example.org at Cc header ]
> Andreas Jochens <email@example.com> writes:
> > When building 'grub2' on ppc64/unstable, I get the following error:
> > util/console.c:89: undefined reference to `stdscr'
> > This occurs because util/console.c is compiled with the '-m32' switch
> > and the linker does not find a corresponding 32-bit-powerpc libncurses
> > library on ppc64.
> IIRC, bootloading on ppc64 needs to be done at 32bits space.
> Can someone confirm it?
Yes, as with yaboot, powerpc bootloaders need to be compiled in 32bit.
Andreas, you need to reverse the libarch thingy, and build the needed
libraries in 32bit mode and provide lib32 or whatever pakcages for those apps