Opened 10 years ago
Closed 8 years ago
#5575 closed defect (fixed)
can't compile with --disable-hwaccels on osx
| Reported by: | ponpon | Owned by: | Rick Kern |
|---|---|---|---|
| Priority: | normal | Component: | avcodec |
| Version: | git-master | Keywords: | |
| Cc: | Blocked By: | ||
| Blocking: | Reproduced by developer: | yes | |
| Analyzed by developer: | no |
Description
thank you for excellent program.
i can't compile with --disable-hwaccels on osx.
How to reproduce:
./configure --cc=clang-mp-3.7 --cxx=clang++-mp-3.7 --disable-hwaccels && make -j 8
...
LD ffserver_g
LD ffprobe_g
LD ffplay_g
LD ffmpeg_g
Undefined symbols for architecture x86_64:
"_ff_vda_create_decoder", referenced from:
Undefined symbols for architecture x86_64:
"_ff_vda_create_decoder", referenced from:
_vdadec_init in libavcodec.a(vda_h264_dec.o)
_vdadec_init in libavcodec.a(vda_h264_dec.o)
"_ff_vda_destroy_decoder", referenced from:
"_ff_vda_destroy_decoder", referenced from:
_vdadec_init in libavcodec.a(vda_h264_dec.o)
_vdadec_close in libavcodec.a(vda_h264_dec.o)
_vdadec_init in libavcodec.a(vda_h264_dec.o)
_vdadec_close in libavcodec.a(vda_h264_dec.o)
ld: symbol(s) not found for architecture x86_64
ld: symbol(s) not found for architecture x86_64
Undefined symbols for architecture x86_64:
"_av_vda_default_init2", referenced from:
_videotoolbox_init in ffmpeg_videotoolbox.o
clang: error: linker command failed with exit code 1 (use -v to see invocation)
"_ff_vda_create_decoder", referenced from:
_vdadec_init in libavcodec.a(vda_h264_dec.o)
Undefined symbols for architecture x86_64:
"_ff_vda_create_decoder", referenced from:
make: *** [ffplay_g] Error 1
make: *** Waiting for unfinished jobs....
clang: error: linker command failed with exit code 1 (use -v to see invocation)
_vdadec_init in libavcodec.a(vda_h264_dec.o)
make: *** [ffserver_g] Error 1
"_ff_vda_destroy_decoder", referenced from:
_vdadec_init in libavcodec.a(vda_h264_dec.o)
_vdadec_close in libavcodec.a(vda_h264_dec.o)
"_ff_vda_destroy_decoder", referenced from:
_vdadec_init in libavcodec.a(vda_h264_dec.o)
_vdadec_close in libavcodec.a(vda_h264_dec.o)
ld: symbol(s) not found for architecture x86_64
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [ffprobe_g] Error 1
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [ffmpeg_g] Error 1
Change History (4)
comment:1 by , 10 years ago
comment:2 by , 10 years ago
| Component: | undetermined → avcodec |
|---|---|
| Owner: | set to |
| Reproduced by developer: | set |
| Status: | new → open |
comment:3 by , 8 years ago
This is fixed in the git master.
I dont know which ticket fixes this.
Please close this ticket.
comment:4 by , 8 years ago
| Resolution: | → fixed |
|---|---|
| Status: | open → closed |
Note:
See TracTickets
for help on using tickets.



additional tests
./configure --cc=clang-mp-3.7 --cxx=clang++-mp-3.7 --disable-hwaccels --disable-decoder=h264_vda && make -j 8 ... LD ffmpeg_g Undefined symbols for architecture x86_64: "_av_vda_default_init2", referenced from: _videotoolbox_init in ffmpeg_videotoolbox.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [ffmpeg_g] Error 1./configure --cc=clang-mp-3.7 --cxx=clang++-mp-3.7 --disable-hwaccels --disable-decoder=h264_vda --disable-videotoolbox && make -j 8 .... LD ffmpeg_g Undefined symbols for architecture x86_64: "_av_vda_default_init2", referenced from: _videotoolbox_init in ffmpeg_videotoolbox.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [ffmpeg_g] Error 1