Attempting a compile on a Fedora 32 x86_64 (AMD Ryzen 5) system results in the following linker error:
CC log.o
CC containers.o
CC avahi.o
CC tagutils/tagutils.o
CCLD minidlnad
/usr/bin/ld: image_utils.o:/vol/src/video/minidlna-1.2.1/image_utils.c:193: multiple definition of `setjmp_buffer'; metadata.o:/vol/src/video/minidlna-1.2.1/metadata.c:487: first defined here
collect2: error: ld returned 1 exit status
make[2]: [Makefile:547: minidlnad] Error 1
make[2]: Leaving directory '/vol/src/video/minidlna-1.2.1'
make[1]: [Makefile:614: all-recursive] Error 1
make[1]: Leaving directory '/vol/src/video/minidlna-1.2.1'
make: *** [Makefile:438: all] Error 2
Any help greatly appreciated.
Thank you.
Cheers, Beaky
adding an extern declaration in front of jmp_buf setjmp_buffer; at line 193 of image_utils.c results in a successful compile. ie line becomes: extern jmp_buf setjmp_buffer;
Now debugging other issues but the binary runs apparently normally.
FTR: Debian added a different fix:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=957541
https://sources.debian.org/src/minidlna/1.2.1+dfsg-2/debian/patches/14-fix-gcc10-ftbfs.patch/