On Sat, Jun 16, 2012 at 12:40 AM, Richard Jones <[email protected]> wrote:
> On 15 June 2012 03:37, Nathan <[email protected]> wrote:
>> The final linking step fails for me with:
>>
>> ld: illegal text-relocation to 4-byte-literal in
>> ffmpeg/libavformat/libavformat.a(4xm.o) from _fourxm_read_header in
>> ffmpeg/libavformat/libavformat.a(4xm.o) for architecture i386
>
> I'm on 10.6.3 and the build failed for me, but in a different way:
>
> ld: absolute addressing (perhaps -mdynamic-no-pic) used in
> _fourxm_read_packet from ffmpeg/libavformat/libavformat.a(4xm.o) not
> allowed in slidable image. Use '-read_only_relocs suppress' to enable
> text relocs
>
> Log attached. Maybe it helps? :-)

Yes!  Thanks!  After trying a dozen things the final piece of the
puzzle was adding the "-read_only_relocs suppress" linker flag.  I
wonder why the link error on Lion doesn't include that helpful
information??

Are you using 32-bit Pyglet on 10.6?  If so, can you give the 32-bit
version a try?  If not, we need to find someone who can.  That's the
only setup I don't have even a VM for yet.

https://github.com/downloads/AVbin/AVbin/avbin-darwin-x86-32-v8.1.tar.bz2

~ Nathan

-- 
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en.

Reply via email to