Can not build with arm arch on mac #900
Labels
apple
Affect Apple platforms
fixed-on-development
Fixed on the development branch. Not released yet.
incompatibility
ios
Affect iOS platform
macos
Affect macOS platform
no-issue-activity
scripts
Affect build scripts
tvos
Affect tvOS platform
Description
when i try to build with mac-os.sh script i got an error. I have installed the prerequisites on the wiki page. Still i am getting this error. see the build.log
GEN libavformat/libavformat.pc
GEN libswresample/libswresample.pc
GEN libswscale/libswscale.pc
GEN libavutil/libavutil.pc
GEN libavdevice/libavdevice.ver
GEN libavfilter/libavfilter.ver
GEN libswscale/libswscale.ver
GEN libavutil/libavutil.ver
GEN libavformat/libavformat.ver
GEN libavcodec/libavcodec.ver
LD libavutil/libavutil.58.dylib
ld: warning: -single_module is obsolete
GEN libswresample/libswresample.ver
LD libswscale/libswscale.7.dylib
LD libswresample/libswresample.4.dylib
ld: warning: -single_module is obsolete
ld: warning: ignoring duplicate libraries: '-lm'
ld: warning: -single_module is obsolete
ld: warning: ignoring duplicate libraries: '-lavutil', '-lm'
LD libavcodec/libavcodec.60.dylib
ld: warning: -single_module is obsolete
ld: warning: ignoring duplicate libraries: '-lm'
LD libavformat/libavformat.60.dylib
ld: warning: -single_module is obsolete
ld: warning: ignoring duplicate libraries: '-lm'
LD libavfilter/libavfilter.9.dylib
ld: warning: -single_module is obsolete
ld: warning: ignoring duplicate libraries: '-lm'
LD libavdevice/libavdevice.60.dylib
ld: warning: -single_module is obsolete
ld: warning: ignoring duplicate libraries: '-lm'
ld: building exports trie: duplicate symbol '_av_ac3_parse_header'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [libavdevice/libavdevice.60.dylib] Error 1
Expected behavior
to build successfully
Current behavior
build have failed.
To Reproduce
clone repository from github. run this command
./macos.sh --disable-x86-64 --debug;
Screenshots
Environment
macOS
arm64
v6.0
main
15.0.1
The text was updated successfully, but these errors were encountered: