[FFmpeg-devel] [PATCH] Add versioning information to dlls
David Bolt
7c6ebd986448736acd2250be77d2cc38
Mon May 26 04:47:34 CEST 2008
On Sun, 25 May 2008, Ramiro Polla wrote:-
<snip>
>Applied.
There's a problem with this patch. It's broken the building shared
libraries on Linux. Revision 13379 built okay, but after the forgotten
subdir.mak was committed in revision 13380, it fails when trying to
create the shared library libavutil.so.49 because an entry is passed
that points to the libavutil directory rather than a file within the
directory:
davjam at donnas:/usr/src/packages/SOURCES> rpmbuild -ta ffmpeg-0.4.9.13380.tar.bz2 --clean --target $(uname -m)
Building target platforms: x86_64
Building for target x86_64
...
+ archflags=
+ archflags=' -fPIC'
+ CFLAGS='-O2 -g -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fPIC'
+ CFLAGS='-O2 -g -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/gsm'
+ export archflags
+ export CFLAGS
+ ./configure --shlibdir=/usr/lib64 --prefix=/usr --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --cpu=athlon64 --enable-pthreads --
enable-shared --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libfaad --enable-libfaac --enable-libxvid --enable-liba52 --
enable-swscale --enable-postproc --enable-gpl --enable-vhook --enable-x11grab --enable-libgsm --enable-libx264
install prefix /usr
source path /usr/src/packages/BUILD/ffmpeg
C compiler gcc
.align is power-of-two no
ARCH x86_64 (athlon64)
big-endian no
MMX enabled yes
CMOV enabled yes
CMOV is fast yes
EBX available yes
EBP available yes
gprof enabled no
debug symbols yes
strip symbols yes
optimizations yes
static yes
shared yes
postprocessing support yes
software scaler enabled yes
new filter support no
filters using lavformat no
video hooking yes
Imlib2 support yes
FreeType support yes
network support yes
IPv6 support yes
threading support pthreads
SDL support yes
Sun medialib support no
AVISynth enabled no
liba52 support yes
liba52 dlopened no
libamr-nb support no
libamr-wb support no
libdc1394 support no
libdirac enabled no
libfaac enabled yes
libfaad enabled yes
libfaad dlopened no
libgsm enabled yes
libmp3lame enabled yes
libnut enabled no
libschroedinger enabled no
libtheora enabled yes
libvorbis enabled yes
x264 enabled yes
XviD enabled yes
zlib enabled yes
bzlib enabled yes
...
gcc -shared -Wl,-soname,libavutil.so.49 -rdynamic -export-dynamic -Wl,--warn-common -Wl,--as-needed -Wl,-rpath-link,"/usr/src/packages/BUILD/ff
mpeg"/libavcodec -Wl,-rpath-link,"/usr/src/packages/BUILD/ffmpeg"/libavformat -Wl,-rpath-link,"/usr/src/packages/BUILD/ffmpeg"/libavutil -
Wl,-Bsymbolic -o libavutil/libavutil.so.49 libavutil/adler32.o libavutil/aes.o libavutil/base64.o libavutil/crc.o libavutil/des.o
libavutil/fifo.o libavutil/intfloat_readwrite.o libavutil/lls.o libavutil/log.o libavutil/lzo.o libavutil/mathematics.o libavutil/md5.o
libavutil/mem.o libavutil/random.o libavutil/rational.o libavutil/rc4.o libavutil/sha1.o libavutil/string.o libavutil/tree.o libavutil/ -lz -
lbz2 -pthread -lm -la52 -lfaac -lfaad -lgsm -lmp3lame -lm -ltheora -logg -lvorbisenc -lvorbis -logg -lx264 -lm -lxvidcore -ldl -ldl -lX11 -
lXext
libavutil/: file not recognized: Is a directory
collect2: ld returned 1 exit status
make: *** [libavutil/libavutil.so.49] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.87707 (%build)
Regards,
David Bolt
--
Team Acorn: http://www.distributed.net/ OGR-P2 @ ~100Mnodes RC5-72 @ ~15Mkeys
SUSE 10.1 32bit | openSUSE 10.2 32bit | openSUSE 10.3 32bit | openSUSE 11.0b3
SUSE 10.1 64bit | openSUSE 10.2 64bit | openSUSE 10.3 64bit
RISC OS 3.6 | TOS 4.02 | openSUSE 10.3 PPC | RISC OS 3.11
More information about the ffmpeg-devel
mailing list