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@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-0001.obj
On Thu, Jan 18, 2001 at 04:36:23PM -0700, 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... > > 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:I believe you have out of date ogg headers. Ogg and vorbis are in seperate modules now.> 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.What's your include path? What does the config.log say? Monty --- >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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.