[vorbis-dev] Ogg Vorbis on PPC Linux?

Bryan Stillwell bryan at bokeoa.com
Thu Jan 18 15:36:23 PST 2001


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...

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.

Any ideas would be helpful.  :)

Bryan


-- 
  http://www.bokeoa.com/    | bryan at bokeoa.com
  GPG fingerprint: 3608 4610 8C08 B8EB 0970  9686 8A93 386C 6116 EFE2



<HR NOSHADE>
<UL>
<LI>application/pgp-signature attachment: stored
</UL>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: part
Type: application/octet-stream
Size: 233 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/vorbis-dev/attachments/20010118/e6792fc6/part.obj


More information about the Vorbis-dev mailing list