[MPlayer-users] Compilation problem (libavcodec?)

P. Rybin pr254 at cam.ac.uk
Fri Apr 19 18:47:24 CEST 2002


Decided to try out a current snapshot (20020419) of mplayer (to report a different bug), and ran into a problem with compiling libavcodec. The thing is however, that the libavcodec snapshot i was using worked on an earlier CVS snapshot of mplayer (20020404), so this is probably something due to a change in the mplayer code (the other possibility is that I've gone insane).

System specs:
SuSE 7.2 with stock 2.4.4 kernel
XFree86 4.1.0
Nvidia Geforce2 MX using the binary nvidia drivers
SB Live! using alsa 0.5 drivers
Athlon Thunderbird 900MHz cpu
512mb sdram

configure was called with the following args:
--prefix=/usr/local --disable-runtime-cpudetection --disable-vidix

The following files are attached to this mail:
configure.log
config.h
config.mak
libvo/config.mak


The error message was the following:

gcc -c -Wall -O4 -march=pentiumpro -mcpu=pentiumpro -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I. -Inative -I.. -I../libmpdemux -I../loader  -o ve_lavc.o ve_lavc.c
In file included from ../libavcodec/avcodec.h:4,
                 from ve_lavc.c:33:
../libavcodec/common.h: In function `put_bits':
../libavcodec/common.h:245: warning: implicit declaration of function `assert'
../libavcodec/common.h:258: warning: implicit declaration of function `be2me_32've_lavc.c: At top level:
ve_lavc.c:70: `FF_MAX_B_FRAMES' undeclared here (not in a function)
ve_lavc.c:70: initializer element is not constant
ve_lavc.c:70: (near initialization for `lavcopts_conf[12].max')
ve_lavc.c: In function `config':
ve_lavc.c:114: structure has no member named `max_b_frames'
ve_lavc.c: In function `put_image':
ve_lavc.c:229: warning: implicit declaration of function `mencoder_write_chunk'
ve_lavc.c: In function `vf_open':
ve_lavc.c:246: warning: assignment from incompatible pointer type
make[1]: *** [ve_lavc.o] Error 1
make[1]: Leaving directory `/home/pavel/download/MPlayer-20020419/libmpcodecs'
make: *** [libmpcodecs/libmpcodecs.a] Error 2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.log
Type: application/octet-stream
Size: 42583 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20020419/c4016344/attachment.obj>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: config.h
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20020419/c4016344/attachment.txt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.mak
Type: application/octet-stream
Size: 1989 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20020419/c4016344/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.mak
Type: application/octet-stream
Size: 281 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20020419/c4016344/attachment-0002.obj>


More information about the MPlayer-users mailing list