[MPlayer-dev-eng] vf_fspp.c causes a linker failure with clang

İsmail Dönmez ismail at namtrac.org
Sat Sep 11 12:00:11 CEST 2010


Hi all,

I am trying to compile MPlayer trunk with clang 2.9 (trunk build) on
MacOSX 10.6, I configure with;

 ./configure --cc=clang --extra-cflags=-no-integrated-as --disable-x11

And the build fails with:

Undefined symbols:
  "_MM_FIX_1_082392200", referenced from:
      _filter in vf_fspp.o
      _filter in vf_fspp.o
      _filter in vf_fspp.o
      _filter in vf_fspp.o
      _filter in vf_fspp.o
      _filter in vf_fspp.o
      _filter in vf_fspp.o
      _filter in vf_fspp.o
  "_MM_FIX_1_414213562", referenced from:
      _filter in vf_fspp.o
      _filter in vf_fspp.o
      _filter in vf_fspp.o
      _filter in vf_fspp.o
      _filter in vf_fspp.o
      _filter in vf_fspp.o
      _filter in vf_fspp.o
      _filter in vf_fspp.o
ld: symbol(s) not found

Now looking at vf_fspp.o ;

[~/Sources/mplayer/libmpcodecs]> nm -a vf_fspp.o|grep _MM
0000000000003618 s _MM_2
0000000000003610 s _MM_DESCALE_RND
0000000000003608 s _MM_FIX_0_198912367
00000000000035c0 s _MM_FIX_0_382683433
00000000000035c8 s _MM_FIX_0_541196100
0000000000003600 s _MM_FIX_0_566454497
00000000000035d0 s _MM_FIX_0_707106781
00000000000035f8 s _MM_FIX_0_847759065
                 U _MM_FIX_1_082392200
00000000000035d8 s _MM_FIX_1_306562965
                 U _MM_FIX_1_414213562
00000000000035e0 s _MM_FIX_1_414213562_A
00000000000035e8 s _MM_FIX_1_847759065
00000000000035f0 s _MM_FIX_2_613125930

Only those two MM_FIX* variables are undefined and the rest is fine.

Any ideas?

Regards,
ismail


More information about the MPlayer-dev-eng mailing list