latest code not compiling in Ubuntu 24.04

Started by dacorsa, June 18, 2025, 08:17:46 PM

Previous topic - Next topic

dacorsa

Hi guys,
i can not compile latest code of avidemux in ubuntu, i can attached the log.
Thanks

eumagga0x2a

Quotelibavutil/adler32.o: file not recognized: formato del file non riconosciuto
cc: error: linker command failed with exit code 1 (use -v to see invocation)

Is this linker failure specific to building Avidemux with clang? Does building with gcc fail as well?

dacorsa

Quote from: eumagga0x2a on June 18, 2025, 10:25:25 PM
Quotelibavutil/adler32.o: file not recognized: formato del file non riconosciuto
cc: error: linker command failed with exit code 1 (use -v to see invocation)

Is this linker failure specific to building Avidemux with clang? Does building with gcc fail as well?

after installing this not works:
clang-as-default gdc-14 gdc-14-x86-64-linux-gnu libgphobos-14-dev libgphobos5 libpython3.13-stdlib python3.12-gdbm python3.12-tk python3.13 python3.13-gdbm python3.13-tk

try to remove and see if it's all ok

dacorsa

file /app/avidemux2/buildCore/ffmpeg/build/libavutil/adler32.o
/app/avidemux2/buildCore/ffmpeg/build/libavutil/adler32.o: LLVM IR bitcode

for me it's not good this, must be:
ELF 64-bit LSB relocatable, x86-64

dacorsa

same error during compiling Handbrake:
lutil -lrt -lpthread -lm -ldl -lc -Wl,--end-group
  : /usr/bin/ld: ./contrib/lib/libSvtAv1Enc.a: error adding symbols: formato del file non riconosciuto
  : g++: error: linker command failed with exit code 1 (use -v to see invocation)
  : gmake: *** [../test/module.rules:49: HandBrakeCLI] Errore 1

dacorsa

restore all gcc g++ and cpp now works, was linked to clang installing "clang-as-default", now works.
Thanks