Modify

Opened 6 years ago

Closed 6 years ago

Last modified 4 years ago

#10169 closed defect (duplicate)

libdlna is broken because of the change [28323]

Reported by: flux Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:

Description

changes made in the ffmpeg package aren't integrated into the libdlna.

libdlna config script complaining about missing libavformat.

It doesn't matter if full libffmpeg support is activated or not.

It would be good if submitted changes are tested. Compile time errors are easy to locate. Just compile any package that depends on your changes. In this case it would be enough to compile ushare or minidlna

Attachments (1)

300-fix-missing-symbols.patch (793 bytes) - added by Sasan Jalali <sasanjj@…> 6 years ago.
Patch for libdlna to fix some missing symbols from newer libavformat versions. Source: http://code.google.com/p/ffmpegthumbnailer/issues/detail?id=84

Download all attachments as: .zip

Change History (8)

comment:1 Changed 6 years ago by flux

ok, after installing a new libffmgeg configuration I needed to clean all related packages and then it compiled.

comment:2 Changed 6 years ago by acoul

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

closing this ticket.

comment:3 Changed 6 years ago by pekmop1024 <cat@…>

libdlna did not compile without replacing CODEC_TYPE_VIDEO (line 208) and CODEC_TYPE_AUDIO (line 214) to AVMEDIA_TYPE_VIDEO and AVMEDIA_TYPE_AUDIO in profiles.c.

comment:4 Changed 6 years ago by anonymous

  • Resolution invalid deleted
  • Status changed from closed to reopened

But what's about this ?

#############################################
#         Building static objects           #
#############################################
mips-openwrt-linux-uclibc-gcc -c -Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -msoft-float -fpic  -I/home/dvd/dir825/staging_dir/target-mips_r2_uClibc-0.9.32/usr/include -I/home/dvd/dir825/staging_dir/target-mips_r2_uClibc-0.9.32/include -I/home/dvd/dir825/staging_dir/toolchain-mips_r2_gcc-4.5-linaro_uClibc-0.9.32/usr/include -I/home/dvd/dir825/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/home/dvd/dir825/staging_dir/target-mips_r2_uClibc-0.9.32/usr/include -I/home/dvd/dir825/staging_dir/target-mips_r2_uClibc-0.9.32/include -I/home/dvd/dir825/staging_dir/toolchain-mips_r2_gcc-4.5-linaro_uClibc-0.9.32/usr/include -I/home/dvd/dir825/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 /home/dvd/dir825/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 `/home/dvd/dir825/build_dir/target-mips_r2_uClibc-0.9.32/libdlna-0.2.3/src'
make[4]: *** [lib] Error 2
make[4]: Leaving directory `/home/dvd/dir825/build_dir/target-mips_r2_uClibc-0.9.32/libdlna-0.2.3'
make[3]: *** [/home/dvd/dir825/build_dir/target-mips_r2_uClibc-0.9.32/libdlna-0.2.3/.built] Error 2
make[3]: Leaving directory `/home/dvd/dir825/feeds/packages/libs/libdlna'
make[2]: *** [package/feeds/packages/libdlna/compile] Error 2
make[2]: Leaving directory `/home/dvd/dir825'
make[1]: *** [/home/dvd/dir825/staging_dir/target-mips_r2_uClibc-0.9.32/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/dvd/dir825'

Changed 6 years ago by Sasan Jalali <sasanjj@…>

Patch for libdlna to fix some missing symbols from newer libavformat versions. Source: http://code.google.com/p/ffmpegthumbnailer/issues/detail?id=84

comment:5 Changed 6 years ago by Sasan Jalali <sasanjj@…>

Googling the problem, I found this patch 300-fix-missing-symbols.patch( source ).
It fixes the issue and compiles.

comment:6 Changed 6 years ago by nico

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

See #10002

comment:7 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.