MidnightBSD Magus

devel/libdlna

Reference DLNA open-source implementation

Flavor Version Run OSVersion Arch License Restricted Status
0.2.3_1 322 0.8 amd64 lgpl 0 fail

Events

Machine Type Time Message
m5 info 2016-08-01 22:37:02.708324 Test Started
m5 fail 2016-08-01 22:38:04.46969 make build returned non-zero: 1
m5 fail 2016-08-01 22:38:04.638792 Test complete.

Log

===>  Building for libdlna-0.2.3_1
gmake -C src
gmake[1]: Entering directory '/magus/work/usr/mports/devel/libdlna/work/libdlna-0.2.3/src'
cc -MM -O2 -pipe -I/usr/local/include -fno-strict-aliasing -Isrc profiles.c containers.c image_jpeg.c image_png.c audio_aac.c audio_ac3.c audio_amr.c audio_atrac3.c audio_g726.c audio_lpcm.c audio_mp2.c audio_mp3.c audio_wma.c av_mpeg1.c av_mpeg2.c av_mpeg4_part2.c av_mpeg4_part10.c av_wmv9.c upnp_dms.c  1>.depend

#############################################
#         Building static objects           #
#############################################
cc -c -O2 -pipe -I/usr/local/include -fno-strict-aliasing -Isrc -O2 -pipe -I/usr/local/include -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -o profiles.o profiles.c
profiles.c:300:7: warning: implicit declaration of function 'av_find_stream_info' is invalid in C99 [-Wimplicit-function-declaration]
  if (av_find_stream_info (ctx) < 0)
      ^
profiles.c:347:25: warning: incompatible pointer types passing 'AVFormatContext *' (aka 'struct AVFormatContext *') to parameter of type 'AVFormatContext **' (aka 'struct AVFormatContext **'); take the address with & [-Wincompatible-pointer-types]
  avformat_close_input (ctx);
                        ^~~
                        &
/usr/local/include/libavformat/avformat.h:2275:45: note: passing argument to parameter 's' here
void avformat_close_input(AVFormatContext **s);
                                            ^
2 warnings generated.
cc -c -O2 -pipe -I/usr/local/include -fno-strict-aliasing -Isrc -O2 -pipe -I/usr/local/include -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -o containers.o containers.c
cc -c -O2 -pipe -I/usr/local/include -fno-strict-aliasing -Isrc -O2 -pipe -I/usr/local/include -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -o image_jpeg.o image_jpeg.c
cc -c -O2 -pipe -I/usr/local/include -fno-strict-aliasing -Isrc -O2 -pipe -I/usr/local/include -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -o image_png.o image_png.c
cc -c -O2 -pipe -I/usr/local/include -fno-strict-aliasing -Isrc -O2 -pipe -I/usr/local/include -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -o audio_aac.o audio_aac.c
cc -c -O2 -pipe -I/usr/local/include -fno-strict-aliasing -Isrc -O2 -pipe -I/usr/local/include -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -o audio_ac3.o audio_ac3.c
cc -c -O2 -pipe -I/usr/local/include -fno-strict-aliasing -Isrc -O2 -pipe -I/usr/local/include -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -o audio_amr.o audio_amr.c
cc -c -O2 -pipe -I/usr/local/include -fno-strict-aliasing -Isrc -O2 -pipe -I/usr/local/include -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -o audio_atrac3.o audio_atrac3.c
cc -c -O2 -pipe -I/usr/local/include -fno-strict-aliasing -Isrc -O2 -pipe -I/usr/local/include -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -o audio_g726.o audio_g726.c
cc -c -O2 -pipe -I/usr/local/include -fno-strict-aliasing -Isrc -O2 -pipe -I/usr/local/include -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -o audio_lpcm.o audio_lpcm.c
cc -c -O2 -pipe -I/usr/local/include -fno-strict-aliasing -Isrc -O2 -pipe -I/usr/local/include -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -o audio_mp2.o audio_mp2.c
cc -c -O2 -pipe -I/usr/local/include -fno-strict-aliasing -Isrc -O2 -pipe -I/usr/local/include -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -o audio_mp3.o audio_mp3.c
cc -c -O2 -pipe -I/usr/local/include -fno-strict-aliasing -Isrc -O2 -pipe -I/usr/local/include -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -o audio_wma.o audio_wma.c
cc -c -O2 -pipe -I/usr/local/include -fno-strict-aliasing -Isrc -O2 -pipe -I/usr/local/include -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -o av_mpeg1.o av_mpeg1.c
cc -c -O2 -pipe -I/usr/local/include -fno-strict-aliasing -Isrc -O2 -pipe -I/usr/local/include -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -o av_mpeg2.o av_mpeg2.c
cc -c -O2 -pipe -I/usr/local/include -fno-strict-aliasing -Isrc -O2 -pipe -I/usr/local/include -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -o av_mpeg4_part2.o av_mpeg4_part2.c
cc -c -O2 -pipe -I/usr/local/include -fno-strict-aliasing -Isrc -O2 -pipe -I/usr/local/include -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -o av_mpeg4_part10.o av_mpeg4_part10.c
cc -c -O2 -pipe -I/usr/local/include -fno-strict-aliasing -Isrc -O2 -pipe -I/usr/local/include -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -o av_wmv9.o av_wmv9.c
cc -c -O2 -pipe -I/usr/local/include -fno-strict-aliasing -Isrc -O2 -pipe -I/usr/local/include -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -o upnp_dms.o upnp_dms.c
upnp_dms.c:103:10: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)'
  desc = malloc (len);
         ^
upnp_dms.c:103:10: note: please include the header  or explicitly provide a declaration for 'malloc'
1 warning generated.

#############################################
#         Linking static objects            #
#############################################
ar r libdlna.a profiles.o containers.o image_jpeg.o image_png.o audio_aac.o audio_ac3.o audio_amr.o audio_atrac3.o audio_g726.o audio_lpcm.o audio_mp2.o audio_mp3.o audio_wma.o av_mpeg1.o av_mpeg2.o av_mpeg4_part2.o av_mpeg4_part10.o av_wmv9.o upnp_dms.o
ar: warning: creating libdlna.a
ranlib libdlna.a

#############################################
#         Building shared objects           #
#############################################
cc -c -fPIC -O2 -pipe -I/usr/local/include -fno-strict-aliasing -Isrc -O2 -pipe -I/usr/local/include -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -o profiles.lo profiles.c
profiles.c:300:7: warning: implicit declaration of function 'av_find_stream_info' is invalid in C99 [-Wimplicit-function-declaration]
  if (av_find_stream_info (ctx) < 0)
      ^
profiles.c:347:25: warning: incompatible pointer types passing 'AVFormatContext *' (aka 'struct AVFormatContext *') to parameter of type 'AVFormatContext **' (aka 'struct AVFormatContext **'); take the address with & [-Wincompatible-pointer-types]
  avformat_close_input (ctx);
                        ^~~
                        &
/usr/local/include/libavformat/avformat.h:2275:45: note: passing argument to parameter 's' here
void avformat_close_input(AVFormatContext **s);
                                            ^
2 warnings generated.
cc -c -fPIC -O2 -pipe -I/usr/local/include -fno-strict-aliasing -Isrc -O2 -pipe -I/usr/local/include -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -o containers.lo containers.c
cc -c -fPIC -O2 -pipe -I/usr/local/include -fno-strict-aliasing -Isrc -O2 -pipe -I/usr/local/include -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -o image_jpeg.lo image_jpeg.c
cc -c -fPIC -O2 -pipe -I/usr/local/include -fno-strict-aliasing -Isrc -O2 -pipe -I/usr/local/include -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -o image_png.lo image_png.c
cc -c -fPIC -O2 -pipe -I/usr/local/include -fno-strict-aliasing -Isrc -O2 -pipe -I/usr/local/include -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -o audio_aac.lo audio_aac.c
cc -c -fPIC -O2 -pipe -I/usr/local/include -fno-strict-aliasing -Isrc -O2 -pipe -I/usr/local/include -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -o audio_ac3.lo audio_ac3.c
cc -c -fPIC -O2 -pipe -I/usr/local/include -fno-strict-aliasing -Isrc -O2 -pipe -I/usr/local/include -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -o audio_amr.lo audio_amr.c
cc -c -fPIC -O2 -pipe -I/usr/local/include -fno-strict-aliasing -Isrc -O2 -pipe -I/usr/local/include -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -o audio_atrac3.lo audio_atrac3.c
cc -c -fPIC -O2 -pipe -I/usr/local/include -fno-strict-aliasing -Isrc -O2 -pipe -I/usr/local/include -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -o audio_g726.lo audio_g726.c
cc -c -fPIC -O2 -pipe -I/usr/local/include -fno-strict-aliasing -Isrc -O2 -pipe -I/usr/local/include -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -o audio_lpcm.lo audio_lpcm.c
cc -c -fPIC -O2 -pipe -I/usr/local/include -fno-strict-aliasing -Isrc -O2 -pipe -I/usr/local/include -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -o audio_mp2.lo audio_mp2.c
cc -c -fPIC -O2 -pipe -I/usr/local/include -fno-strict-aliasing -Isrc -O2 -pipe -I/usr/local/include -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -o audio_mp3.lo audio_mp3.c
cc -c -fPIC -O2 -pipe -I/usr/local/include -fno-strict-aliasing -Isrc -O2 -pipe -I/usr/local/include -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -o audio_wma.lo audio_wma.c
cc -c -fPIC -O2 -pipe -I/usr/local/include -fno-strict-aliasing -Isrc -O2 -pipe -I/usr/local/include -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -o av_mpeg1.lo av_mpeg1.c
cc -c -fPIC -O2 -pipe -I/usr/local/include -fno-strict-aliasing -Isrc -O2 -pipe -I/usr/local/include -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -o av_mpeg2.lo av_mpeg2.c
cc -c -fPIC -O2 -pipe -I/usr/local/include -fno-strict-aliasing -Isrc -O2 -pipe -I/usr/local/include -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -o av_mpeg4_part2.lo av_mpeg4_part2.c
cc -c -fPIC -O2 -pipe -I/usr/local/include -fno-strict-aliasing -Isrc -O2 -pipe -I/usr/local/include -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -o av_mpeg4_part10.lo av_mpeg4_part10.c
cc -c -fPIC -O2 -pipe -I/usr/local/include -fno-strict-aliasing -Isrc -O2 -pipe -I/usr/local/include -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -o av_wmv9.lo av_wmv9.c
cc -c -fPIC -O2 -pipe -I/usr/local/include -fno-strict-aliasing -Isrc -O2 -pipe -I/usr/local/include -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -o upnp_dms.lo upnp_dms.c
upnp_dms.c:103:10: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)'
  desc = malloc (len);
         ^
upnp_dms.c:103:10: note: please include the header  or explicitly provide a declaration for 'malloc'
1 warning generated.

#############################################
#         Linking shared objects            #
#############################################
cc -shared -Wl,-soname,libdlna.so.0 profiles.lo containers.lo image_jpeg.lo image_png.lo audio_aac.lo audio_ac3.lo audio_amr.lo audio_atrac3.lo audio_g726.lo audio_lpcm.lo audio_mp2.lo audio_mp3.lo audio_wma.lo av_mpeg1.lo av_mpeg2.lo av_mpeg4_part2.lo av_mpeg4_part10.lo av_wmv9.lo upnp_dms.lo \
  -L/usr/local/lib -lavformat -lavcodec -o libdlna.so.0.2.3
ln -sf libdlna.so.0.2.3 libdlna.so.0
ln -sf libdlna.so.0 libdlna.so
gmake[1]: Leaving directory '/magus/work/usr/mports/devel/libdlna/work/libdlna-0.2.3/src'
cc test-libdlna.c -O2 -pipe -I/usr/local/include -fno-strict-aliasing -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O2 -pipe -I/usr/local/include -fno-strict-aliasing -Isrc -L/usr/local/lib -Lsrc -ldlna -lavformat -lavcodec -o test-libdlna
src/libdlna.so: undefined reference to `av_find_stream_info'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
Makefile:36: recipe for target 'test-libdlna' failed
gmake: *** [test-libdlna] Error 1
*** [do-build] Error code 1

Stop in /usr/mports/devel/libdlna.

Links

Depends On

Depend Of

Nothing

Categories