[vorbis-dev] Ogg Vorbis on PPC Linux?

David A. Gatwood dgatwood at gatwood.net
Thu Jan 18 18:21:50 PST 2001



On Thu, 18 Jan 2001, Bryan Stillwell wrote:

> I work for Terra Soft Solutions (makers of Yellow Dog Linux) and I'm
> trying to compile the latest cvs snapshot for inclusion in our next
> release, but I'm running into some problems...

Howdy, fellow Mac Linuxer.

> I'm using modified versions of the SRPMs included in RedHat's Rawhide
> distro (I only updated to the latest cvs, but the old version also
> experienced this problem), which compile fine on an x86 box I have, but
> fails on my powerpc.  Here's some of the error messages I get while
> running 'make' in the vorbis directory:
> 
> mapping0.o(.text+0x284): undefined reference to `_ogg_calloc'
> mapping0.o(.text+0x284): relocation truncated to fit: R_PPC_REL24 _ogg_calloc
> ../lib/.libs/libvorbis.a(mapping0.o)(.text+0x298): more undefined references to `_ogg_calloc' follow
> ../lib/.libs/libvorbis.a(mapping0.o): In function `mapping0_look':
> mapping0.o(.text+0x298): relocation truncated to fit: R_PPC_REL24 _ogg_calloc
> mapping0.o(.text+0x2b0): relocation truncated to fit: R_PPC_REL24 _ogg_calloc
> mapping0.o(.text+0x2c4): relocation truncated to fit: R_PPC_REL24 _ogg_calloc
> mapping0.o(.text+0x474): relocation truncated to fit: R_PPC_REL24 _ogg_calloc
> mapping0.o(.text+0x4b4): relocation truncated to fit: R_PPC_REL24 _ogg_calloc
> ../lib/.libs/libvorbis.a(mapping0.o): In function `mapping0_unpack':
> mapping0.o(.text+0x554): relocation truncated to fit: R_PPC_REL24 _ogg_calloc
> mapping0.o(.text+0x678): undefined reference to `_ogg_free'
> mapping0.o(.text+0x678): relocation truncated to fit: R_PPC_REL24 _ogg_free
> ../lib/.libs/libvorbis.a(mapping0.o): In function `mapping0_copy_info':
> mapping0.o(.text+0x1220): undefined reference to `_ogg_malloc'
> mapping0.o(.text+0x1220): relocation truncated to fit: R_PPC_REL24 _ogg_malloc
> ../lib/.libs/libvorbis.a(mapping0.o): In function `mapping0_free_info':
> mapping0.o(.text+0x1290): undefined reference to `_ogg_free'
> mapping0.o(.text+0x1290): relocation truncated to fit: R_PPC_REL24 _ogg_free
> collect2: ld returned 1 exit status
> 
> Another oddity that I think I should mention is that when I ran
> autogen.sh it reported this:
> 
> checking host system type... powerpc-unknown-linux-gnu
> checking for memory.h... no
> checking for cos in -lm... yes
> 
> However, memory.h does exist and it should be getting found.

Weird.  I haven't paid much attention to that.

> Any ideas would be helpful.  :)

Unless there's something broken in your toolchain, my advice would be to
backdate your source.  I'm running the nightly tarball from Nov. 6 on
MkLinux pre-R1 (which should be really similar to the newest YDL stuff)
without any significant problems.

BTW, I haven't tried an SRPM for ogg-vorbis, so I can't say anything about
that.  :-)

If you'd like I could email you the tarball that builds for me and you can
see if you have better luck with that.

David

---------------------------------------------------------------------
                    Check out my weekly web comic:
                     http://www.techmagazine.org

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Vorbis-dev mailing list