Avidemux Forum

Avidemux => Unix-Like (Linux/Bsd/...) => Topic started by: dacorsa on June 18, 2025, 08:17:46 PM

Title: latest code not compiling in Ubuntu 24.04
Post by: dacorsa on June 18, 2025, 08:17:46 PM
Hi guys,
i can not compile latest code of avidemux in ubuntu, i can attached the log.
Thanks
Title: Re: latest code not compiling in Ubuntu 24.04
Post by: 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?
Title: Re: latest code not compiling in Ubuntu 24.04
Post by: dacorsa on June 19, 2025, 10:28:17 AM
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
Title: Re: latest code not compiling in Ubuntu 24.04
Post by: dacorsa on June 19, 2025, 10:34:58 AM
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
Title: Re: latest code not compiling in Ubuntu 24.04
Post by: dacorsa on June 19, 2025, 01:18:49 PM
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
Title: Re: latest code not compiling in Ubuntu 24.04
Post by: dacorsa on June 20, 2025, 01:00:52 PM
restore all gcc g++ and cpp now works, was linked to clang installing "clang-as-default", now works.
Thanks