Modify

Opened 6 years ago

Closed 6 years ago

Last modified 4 years ago

#10020 closed defect (duplicate)

Could not compile latest libdlna-0.2.3

Reported by: Gorby Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: dlna, libdlna, libdlna-0.2.3 Cc:

Description

#############################################
#         Building static objects           #
#############################################
mips-openwrt-linux-uclibc-gcc -c -Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -msoft-float -fpic  -I/media/OpenWRT/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/usr/include -I/media/OpenWRT/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/include -I/media/OpenWRT/trunk/staging_dir/toolchain-mips_r2_gcc-4.5-linaro_uClibc-0.9.32/usr/include -I/media/OpenWRT/trunk/staging_dir/toolchain-mips_r2_gcc-4.5-linaro_uClibc-0.9.32/include  -Isrc -Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -msoft-float -fpic -I/media/OpenWRT/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/usr/include -I/media/OpenWRT/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/include -I/media/OpenWRT/trunk/staging_dir/toolchain-mips_r2_gcc-4.5-linaro_uClibc-0.9.32/usr/include -I/media/OpenWRT/trunk/staging_dir/toolchain-mips_r2_gcc-4.5-linaro_uClibc-0.9.32/include -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -o profiles.o profiles.c
cc1: note: someone does not honour COPTS correctly, passed 2 times
profiles.c: In function 'av_profile_get_codecs':
profiles.c:208:47: error: 'CODEC_TYPE_AUDIO' undeclared (first use in this function)
profiles.c:208:47: note: each undeclared identifier is reported only once for each function it appears in
profiles.c:214:52: error: 'CODEC_TYPE_VIDEO' undeclared (first use in this function)
profiles.c: In function 'dlna_guess_media_profile':
profiles.c:283:3: warning: 'av_open_input_file' is deprecated (declared at /media/OpenWRT/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/usr/include/libavformat/avformat.h:1090)
make[5]: *** [profiles.o] Error 1
make[5]: Leaving directory `/media/OpenWRT/trunk/build_dir/target-mips_r2_uClibc-0.9.32/libdlna-0.2.3/src'
make[4]: *** [lib] Error 2
make[4]: Leaving directory `/media/OpenWRT/trunk/build_dir/target-mips_r2_uClibc-0.9.32/libdlna-0.2.3'
make[3]: *** [/media/OpenWRT/trunk/build_dir/target-mips_r2_uClibc-0.9.32/libdlna-0.2.3/.built] Error 2
make[3]: Leaving directory `/media/OpenWRT/trunk/feeds/packages/libs/libdlna'
make[2]: *** [package/feeds/packages/libdlna/compile] Error 2
make[2]: Leaving directory `/media/OpenWRT/trunk'
make[1]: *** [/media/OpenWRT/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/stamp/.package_compile] Error 2
make[1]: Leaving directory `/media/OpenWRT/trunk'

Attachments (0)

Change History (4)

comment:1 Changed 6 years ago by anonymous

To compile replace occurrences of CODEC_TYPE_* with AVMEDIA_TYPE_*

comment:2 Changed 6 years ago by Martin G. <kommerz@…>

comment:3 Changed 6 years ago by nico

  • Resolution set to duplicate
  • Status changed from new to closed

comment:4 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.