Core problem fixed upstream. It runs again.

-------- Original Message --------
On Thursday, 10/30/25 at 14:29 otto.cooper <[email protected]> wrote:
For the record, this is where it fails hard when using the source code from 
sourceforge.

The new version from github does not fail when compiling, but ffmpeg is still 
misused, as "minidlna -v -d -R" clearly reports unhandled files when rebuilding 
the cache.

...
make
make  all-recursive
Making all in po
CCLD     minidlnad
ld: warning: tagutils.c:231 
(tagutils/tagutils.c:231)(tagutils/tagutils.o:(readtags)): warning: strcat() is 
almost always misused, please use strlcat()
ld: warning: image_utils.c:379(image_utils.o:(image_get_jpeg_date_xmp)): 
warning: strcpy() is almost always misused, please use strlcpy()
ld: warning: scanner.c:260(scanner.o:(insert_file)): warning: sprintf() is 
often misused, please use snprintf()
ld: warning: upnpevents.c:142(upnpevents.o:(upnpevents_addSubscriber)): 
warning: random() may return deterministic values, is that what you want?
ld: warning: uuid.c:118(uuid.o:(read_random_bytes)): warning: rand() may return 
deterministic values, is that what you want?
ld: error: undefined symbol: av_log_set_level
>>> referenced by scanner.c:905
>>>               scanner.o:(start_scanner)

ld: error: undefined symbol: avformat_open_input
>>> referenced by libav.h:127 (./libav.h:127)
>>>               metadata.o:(GetVideoMetadata)

ld: error: undefined symbol: av_strerror
>>> referenced by metadata.c:714
>>>               metadata.o:(GetVideoMetadata)

ld: error: undefined symbol: avformat_find_stream_info
>>> referenced by libav.h:129 (./libav.h:129)
>>>               metadata.o:(GetVideoMetadata)

ld: error: undefined symbol: avformat_close_input
>>> referenced by libav.h:142 (./libav.h:142)
>>>               metadata.o:(GetVideoMetadata)
>>> referenced by libav.h:142 (./libav.h:142)
>>>               metadata.o:(GetVideoMetadata)

ld: error: undefined symbol: av_reduce
>>> referenced by metadata.c:971
>>>               metadata.o:(GetVideoMetadata)

ld: error: undefined symbol: av_dict_get
>>> referenced by metadata.c:1488
>>>               metadata.o:(GetVideoMetadata)
>>> referenced by metadata.c:1488
>>>               metadata.o:(GetVideoMetadata)
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error 1 in . (Makefile:594 'minidlnad': @echo "  CCLD    " minidlnad;cc 
-Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2  -L/usr/...)
*** Error 1 in . (Makefile:696 'all-recursive': @fail=;  if (target_option=k; 
case ${target_option-} in  ?) ;;  *) echo "am__make_running_wi...)
*** Error 2 in /tmp/minidlna (Makefile:486 'all')



On Thursday, October 30th, 2025 at 9:05 AM, otto.cooper <[email protected]> 
wrote:

> Hello Klemens Nanni,
>
> I just compiled your package using the last source code from sourceforge, and 
> the warnings and errors I see are telling me that this is not the source code 
> you have used, because you would have patched it otherwise. What source coded 
> did you use and where did you get it?
>
> Thanks
>
>
> On Tuesday, October 28th, 2025 at 9:03 PM, otto.cooper [email protected] 
> wrote:
>
> > I just compiled in on linux, and found the same problem.
> > The problem is in the code, not on openbsd.
> >
> > Sent with Proton Mail secure email.
> >
> > On Tuesday, October 28th, 2025 at 7:44 PM, otto.cooper 
> > [email protected] wrote:
> >
> > > This is the last script with improvements.
> > >
> > > The problem remains. During "minidlnad -v -d -R" see "Unhandled format: 
> > > mov,mp4,m4a,3gp,3g2,mj2" and "Unhandled AAC type 0". Both types should be 
> > > handled by libav (ffmpeg), which is linked.
> > >
> > > > ldd minidlnad | grep av
> > >
> > > 00000f741c7b5000 00000f741ca3a000 rlib 0 1 0 
> > > /usr/local/lib/libavformat.so.23.0
> > > 00000f7492bec000 00000f7493f21000 rlib 0 2 0 
> > > /usr/local/lib/libavcodec.so.26.0
> > > 00000f7419301000 00000f741a3f1000 rlib 0 4 0 
> > > /usr/local/lib/libavutil.so.16.0
> > > 00000f73d37a9000 00000f73d39a8000 rlib 0 1 0 
> > > /usr/local/lib/libdav1d.so.3.0


Reply via email to