Article 5CYPQ slackware64-current redymedia minidlna-1.3 compile error

slackware64-current redymedia minidlna-1.3 compile error

by
zdolar
from LinuxQuestions.org on (#5CYPQ)
Hi!

I need a light DLNA server, so I tried to compile Reaymedia minidlna-1.3.0
I used adapted alienbobs minidlna.SlacBbuld for compiling minidlna-1.2.1 on slackware64-current with gcc-9.x It compiled/installed and work OK

Recent gcc on slackware64-current is 10.x. and compilation failed.
Version 1.3.0 changelog: "Fixed build with GCC 10"

The error compiling:

Code:/usr/bin/ld: upnphttp.o:(.bss+0x0): multiple definition of `sqlite3Prng'; minidlna.o:(.bss+0x0): first defined here
/usr/bin/ld: metadata.o:(.bss+0x0): multiple definition of `sqlite3Prng'; minidlna.o:(.bss+0x0): first defined here
/usr/bin/ld: tivo_utils.o:(.bss+0x0): multiple definition of `sqlite3Prng'; minidlna.o:(.bss+0x0): first defined here
/usr/bin/ld: tivo_commands.o:(.bss+0x0): multiple definition of `sqlite3Prng'; minidlna.o:(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:578: minidlnad] Error 1
make[2]: Leaving directory '/tmp/build/minidlna-1.3.0'
make[1]: *** [Makefile:654: all-recursive] Error 1
make[1]: Leaving directory '/tmp/build/minidlna-1.3.0'
make: *** [Makefile:470: all] Error 2The exact same error appear at 1.2.1 compilationlatest?d=yIl2AUoC8zA latest?i=_PwT6paIJZs:wyVBS1R4-bs:F7zBnMy latest?i=_PwT6paIJZs:wyVBS1R4-bs:V_sGLiP latest?d=qj6IDK7rITs latest?i=_PwT6paIJZs:wyVBS1R4-bs:gIN9vFw_PwT6paIJZs
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments