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

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



On Sat, 2002-08-24 at 16:46, Josip Rodin wrote:
> 
> I maintain the gentoo package. No, it doesn't have anything to do with the
> gentoo Linux distribution. :) After having uploaded a new version, the
> powerpc buildd started failing to build gentoo.
> 
> http://buildd.debian.org/build.php?pkg=gentoo&arch=powerpc
> 
>  mount.o: In function `scan_for_dir':
>  mount.o(.text+0x84): undefined reference to `mne_getmntent'
>  mount.o(.text+0x84): relocation truncated to fit: R_PPC_REL24 mne_getmntent
>  mount.o: In function `dir_is_mounted':
>  mount.o(.text+0xf0): undefined reference to `mne_setmntent'
>  mount.o(.text+0xf0): relocation truncated to fit: R_PPC_REL24 mne_setmntent
>  mount.o(.text+0x110): undefined reference to `mne_endmntent'
>  mount.o(.text+0x110): relocation truncated to fit: R_PPC_REL24 mne_endmntent
>  mount.o: In function `mnt_init':
>  mount.o(.text+0x27c): undefined reference to `mne_setmntent'
>  mount.o(.text+0x27c): relocation truncated to fit: R_PPC_REL24 mne_setmntent
>  mount.o(.text+0x2cc): undefined reference to `mne_getmntent'
>  mount.o(.text+0x2cc): relocation truncated to fit: R_PPC_REL24 mne_getmntent
>  mount.o(.text+0x2dc): undefined reference to `mne_endmntent'
>  mount.o(.text+0x2dc): relocation truncated to fit: R_PPC_REL24 mne_endmntent
> 
> I'm not sure how to deal with this, given how it compiles fine everywhere
> else. Can anyone tell me what to do about this?

I was suspecting a similar problem as Kevin (BTW Kevin, the link above
points to build logs ;), 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).


-- 
Earthling Michel Dänzer (MrCooper)/ Debian GNU/Linux (powerpc) developer
XFree86 and DRI project member   /  CS student, Free Software enthusiast



Reply to: