Open JokerGT opened 1 year ago
after removing the check for python (which is installed) i just removed
ARFLAGS=rcs
within build_zlib() function which let the script continue compiling until i run into
Libunistring was not found failed configure gnutls-3.6.15
i also had to remove libflite: error: implicit declaration of function 'indic_digit_to_offset' is invalid in C99 i don't know if it would work to change the standard to 14/17/20 ?
i had to disable a few more modules to end up here:
LD ffprobe_g
Undefined symbols for architecture x86_64:
"_SecCopyErrorMessageString", referenced from:
Undefined symbols for architecture x86_64:
"_SecCopyErrorMessageString", referenced from:
Undefined symbols for architecture x86_64:
"_SecCopyErrorMessageString", referenced from:
_gnutls_x509_trust_list_add_system_trust in libgnutls.a(certs.o)
_gnutls_x509_trust_list_add_system_trust in libgnutls.a(certs.o)
_gnutls_x509_trust_list_add_system_trust in libgnutls.a(certs.o)
"_SecItemExport", referenced from:
"_SecItemExport", referenced from:
"_SecItemExport", referenced from:
_gnutls_x509_trust_list_add_system_trust in libgnutls.a(certs.o)
_gnutls_x509_trust_list_add_system_trust in libgnutls.a(certs.o)
_gnutls_x509_trust_list_add_system_trust in libgnutls.a(certs.o)
"_SecTrustSettingsCopyCertificates", referenced from:
"_SecTrustSettingsCopyCertificates", referenced from:
"_SecTrustSettingsCopyCertificates", referenced from:
_gnutls_x509_trust_list_add_system_trust in libgnutls.a(certs.o)
_gnutls_x509_trust_list_add_system_trust in libgnutls.a(certs.o)
_gnutls_x509_trust_list_add_system_trust in libgnutls.a(certs.o)
ld: symbol(s) not found for architecture x86_64
ld: symbol(s) not found for architecture x86_64
ld: symbol(s) not found for architecture x86_64
clangclang: : error: error: linker command failed with exit code 1 (use -v to see invocation)linker command failed with exit code 1 (use -v to see invocation)
gettext, gnutls and some other mods got removed.
the build_ffmpeg() succeeded and produced a working static compile.. im not sure if the missing modules will make any problems in future since i only want todo some transcoding with it. if anyone interrested in a that final version which runs on my mac's, let me know
for some weired reason this only works on my intel mac machines. if i try to run this on my M1 machines i got
no C compiler found
message. maybe it is because of the arm architecture? or should this also work native ?
when i try to perform a shared build i get linker problems for the ffmpeg dylib's:
D libswresample/libswresample.4.dylib
STRIP libavcodec/x86/vp9itxfm.o
GEN libavcodec/libavcodec.ver
LD libavcodec/libavcodec.59.dylib
ld: warning: could not create compact unwind for _ff_cfhd_init_vlcs: stack subq instruction is too different from dwarf stack size
LD libavformat/libavformat.59.dylib
ld: warning: disabling chained fixups because of unaligned pointers
ld: illegal text-relocation to '___gmpn_add_n' in /Users/tomtom/Code/ffmpeg-windows-build-helpers/sandbox/cross_compilers/native/lib/libgmp.a(add_n.o) from '___gmpn_add_n' in /Users/joker/Code/ffmpeg-windows-build-helpers/sandbox/cross_compilers/native/lib/libgmp.a(add_n.o) for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [libavformat/libavformat.59.dylib] Error 1
anyone know what is going on here? static builds fine, but not the shared version. i would like to use the dylib a c++ program i made.
this is building native? possibly related: https://stackoverflow.com/questions/11317637/linker-error-when-unit-testing-ld-illegal-text-relocation-to-cstring-in-fr
even after installing all dependencies with brew install ragel wget cvs yasm autogen automake autoconf cmake libtool xz pkg-config nasm bzip2 autoconf-archive p7zip coreutils meson llvm texinfo python
Could not find the following execs (svn is actually package subversion, makeinfo is actually package texinfo if you're missing them): python
when i search for python i found python@3.11 installed and python-build also
when i comment the check out, the script runs... but not far
no output file specified ?