Menu

#70 Compilation failure on Fedora 32 x86_64 - link error with duplicate setjmp_buffer symbol

v1.0 (example)
open
nobody
None
9
2020-06-27
2020-06-01
No

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

Discussion

  • Beaky - The Wacs Man

    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.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.