Hello all!
I've been developing a multimedia application for SH4 (ST7109)
processor. Only the libavformat library is being used, all the decodings
are done with target processors - it's not my problem.
The program is being compiled with an SH4-uClibc toolchain generated by
Buildroot. There are no compile-time problems.
When trying to execute the program on the target which should use
libavformat, the following error message appears:
/mnt/p08/av_streamer: can't handle reloc type 0x97
FFmpeg is configured with:
CFLAGS="-Os -fPIC" \
./configure --cross-compile --cross-prefix=$(CROSS_COMPILE)
--arch=generic --cpu=generic \
--prefix=$(shell pwd)/$(FFMPEG_VER)/_install \
--disable-ipv6 --disable-ffserver --disable-ffmpeg \
--disable-ffplay \
--disable-encoders --disable-decoders --disable-muxers \
--disable-demuxers --enable-demuxer=aac --enable-demuxer=ac3 \
--enable-demuxer=avi --enable-demuxer=mp3 \
--disable-parsers --enable-parser=aac --enable-parser=ac3 \
--enable-parser=mpegaudio \
--disable-protocols --enable-protocol=file \
--enable-small --disable-zlib --disable-vhook --disable-bsfs \
--enable-shared --disable-static --disable-debug; \
The followings were also tried:
1) -DBROKEN_RELOCATIONS;
2) -fpic/-fPIC;
3) with static ffmpeg libraries;
And neither of them solved the issue. I couldn't even find any usable
info with Google or Yahoo for this error message.
Of course, when FFmpeg and the application are compiled against libc
everything is OK.
Did you ever face this or similar problem? What shall I do?
Thanks in advance,
--
Tamas Selmeci
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user