[FFmpeg-user] Issue on static linking of schroedinger-1.0

桃源老師 xanadu6291 at dream.jp
Mon Apr 18 17:59:42 CEST 2016


> 2016/04/18 1:24A.M. 桃源老師 <xanadu6291 <at> dream.jp> wrote:
> 
> 
>> 2016/04/18 0:54A.M. Carl Eugen Hoyos <cehoyos <at> ag.or.at> wrote:
>> 
>>>> Undefined symbols for architecture x86_64:
>>>> "__schro_decode_prediction_only", referenced from:
>>>> _schro_init in libschroedinger-1.0.a(libschroedinger_1.0_la-schro.o)
>>>> "__schro_telemetry", referenced from:
>>>> _schro_init in libschroedinger-1.0.a(libschroedinger_1.0_la-schro.o)
>>> 
>>> Otoh, both missing symbols are part of the libschroedinger 
>>> library file here.
>> 
>> Something seems to have gone wrong with you schroedinger 
>> compilation.
> 
> That's a bit funny.  The reason is that I can build ffmpeg with dynamic library of libschroedinger.  
> It means static library of libschroedinger only broken?

It was because of Mac OS X specific issue.

I don't know it is worth to write here, the fix is:

roushi-no-MacBook-Pro:schroedinger roushi$ diff -u schrodecoder.c.bak schrodecoder.c
--- schrodecoder.c.bak	2016-04-19 00:30:46.000000000 +0900
+++ schrodecoder.c	2016-04-19 00:30:53.000000000 +0900
@@ -71,7 +71,7 @@
 
 
 +int _schro_decode_prediction_only = 0;
-int _schro_decode_prediction_only;
-int _schro_telemetry;
+int _schro_telemetry = 0;

See more detail at https://github.com/Homebrew/legacy-homebrew/issues/15734


Best Regards,



// Miya aka. TougenRoushi

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3577 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20160419/402138db/attachment.bin>


More information about the ffmpeg-user mailing list