Another problem I had is the following - FOSSxine-lib failed to build with
following undefined symbols:
pkgbuild: av_crc04C11DB7 /opt/foss/lib/libavcodec.so
pkgbuild: av_crc8005 /opt/foss/lib/libavcodec.so
pkgbuild: av_crc07 /opt/foss/lib/libavcodec.so
and a couple more ld warnings like
pkgbuild: (file /opt/foss/lib/libavutil.so value=22);
pkgbuild: ld: warning: symbol `av_crcEDB88320' has invalid section index;
ignored:
FOSSffmpeg, which libav[codec|util].so come from, built fine.
Checking in the build area, the files were different size and when
used to overwrite:
FOSSffmpeg-2007.07.19/i386/FFMPEG/2007.07.19/libavcodec/libavcodec.so ->
/opt/foss/lib/libavcodec.so.51.40.4
FOSSffmpeg-2007.07.19/i386/FFMPEG/2007.07.19/libavcodec/libavutil.so.49
/opt/foss/lib/libavutil.so.49.4.1
things went fine.
On the broken libs
# elfdump /opt/foss/lib/libavcodec.so
returned huge number of warnings about bad symbol references, such as:
===
/opt/foss/lib/libavcodec.so: .dynsym: index[302]: bad symbol entry:
ff_msmp4_mb_i_table: section[15] size: 0x1d0: symbol (address 0x9a93f8, size
0x100) lies o>
[302] 0x009a93f8 0x00000100 OBJT GLOB D 0 .dynamic
ff_msmp4_mb_i_table
/opt/foss/lib/libavcodec.so: .dynsym: index[303]: bad symbol entry:
rv20_decoder: section[19] size: 0x6c8: symbol (address 0xa1b740, size 0x34)
lies outside o>
[303] 0x00a1b740 0x00000034 OBJT GLOB D 0 .data1 rv20_decoder
===
I could provide the full output if needed.
Apparently, the ffmpeg libs are build correctly, then broken in the process of
packaging (trusting the rest of the process, like pkgadd), so I thought strip,
but I have no clue really...
hnhn
--
Jan Hnatek
jan.hnatek at sun.com