[FFmpeg-devel] [PATCH] Compilation broken failing on Sonic LS
Panagiotis Issaris
takis.issaris
Mon May 21 15:59:48 CEST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
Panagiotis Issaris wrote:
> Hi,
>
> Current SVN fails to build when using the following configuration:
>
> ./configure --disable-decoder=h264 --disable-decoder=sonic
> --disable-encoder=sonic --disable-decoder=shorten --disable-decoder=svq3
> --disable-encoder=jpegls --disable-decoder=jpegls --disable-decoder=loco
> --disable-decoder=cavs --disable-decoder=ffv1 --disable-decoder=flac
> --disable-encoder=flac
> ...
> make
> ...
> make[1]: Entering directory `/usr/local/src/rw/ffmpeg/vhook'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/usr/local/src/rw/ffmpeg/vhook'
> gcc -L"/usr/local/src/rw/ffmpeg"/libavformat
> -L"/usr/local/src/rw/ffmpeg"/libavcodec
> -L"/usr/local/src/rw/ffmpeg"/libavutil -Wl,--warn-common -rdynamic
> -export-dynamic -Wl,--as-needed
> -Wl,-rpath-link,"/usr/local/src/rw/ffmpeg"/libavcodec
> -Wl,-rpath-link,"/usr/local/src/rw/ffmpeg"/libavformat
> -Wl,-rpath-link,"/usr/local/src/rw/ffmpeg"/libavutil -g -o ffmpeg_g
> ffmpeg.o cmdutils.o -lavformat -lavcodec -lavutil -lm -lz -ldl
> /usr/local/src/rw/ffmpeg/libavcodec/libavcodec.a(allcodecs.o): In
> function `avcodec_register_all':
> /usr/local/src/rw/ffmpeg/libavcodec/allcodecs.c:200: undefined reference
> to `sonic_ls_encoder'
> collect2: ld returned 1 exit status
> make: *** [ffmpeg_g] Error 1
> takis at issaris:/usr/local/src/rw/ffmpeg$
>
> Fix follows in a second...
Attached patch fixes the above mentioned bug.
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
The problem was that sonic.c wasn't compiled in, when only Sonic LS was
selected.
With friendly regards,
Takis
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGUaXU9kOxLuzz4CkRAhuFAJ91mvvo/J1TYv0yXW5CevqmJ8oeFQCeIX/v
tQpk8wQ+JQKCSYpYDBCoA2A=
=l18Y
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pi-20070521T155332-ffmpeg-fix_sonic_compilation.diff
Type: text/x-patch
Size: 620 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070521/f072a135/attachment.bin>
More information about the ffmpeg-devel
mailing list