[MPlayer-users] Error compiling CVS

Kichigai Mentat kichigai at comcast.net
Tue Oct 25 16:15:24 CEST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I am attempting to use the latest CVS to compile MPlayer, but I have  
stumbled upon a small problem:

$ make
make -C libavformat LIBPREF=lib LIBSUF=.a
cc -I../libvo -I../../libvo -I/usr/X11R6/include -O4 -mcpu=7450 - 
mtune=7450 -faltivec -D__APPLE_ALTIVEC__ -pipe -ffast-math -fomit- 
frame-pointer -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN - 
DCONFIG_DARWIN -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/ 
local/include/ -I/usr/include/ -I/sw/include/ -I/sw/include/gtk-1.2 - 
I/sw/include/glib-1.2 -I/sw/lib/glib/include -I/usr/X11R6/include - 
std=gnu99 -I.. -I.. -I../libavutil -I../libavcodec -DHAVE_AV_CONFIG_H  
- -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE  -c -o raw.o  
raw.c
raw.c:583: error: 'raw_write_header' undeclared here (not in a function)
raw.c:583: error: initializer element is not constant
raw.c:583: error: (near initialization for  
'pcm_s16le_oformat.write_header')
raw.c:583: error: 'raw_write_packet' undeclared here (not in a function)
raw.c:583: error: initializer element is not constant
raw.c:583: error: (near initialization for  
'pcm_s16le_oformat.write_packet')
raw.c:583: error: 'raw_write_trailer' undeclared here (not in a  
function)
raw.c:583: error: initializer element is not constant
raw.c:583: error: (near initialization for  
'pcm_s16le_oformat.write_trailer')
raw.c:586: error: initializer element is not constant
raw.c:586: error: (near initialization for  
'pcm_s16be_oformat.write_header')
raw.c:586: error: initializer element is not constant
raw.c:586: error: (near initialization for  
'pcm_s16be_oformat.write_packet')
raw.c:586: error: initializer element is not constant
raw.c:586: error: (near initialization for  
'pcm_s16be_oformat.write_trailer')
raw.c:589: error: initializer element is not constant
raw.c:589: error: (near initialization for  
'pcm_u16le_oformat.write_header')
raw.c:589: error: initializer element is not constant
raw.c:589: error: (near initialization for  
'pcm_u16le_oformat.write_packet')
raw.c:589: error: initializer element is not constant
raw.c:589: error: (near initialization for  
'pcm_u16le_oformat.write_trailer')
raw.c:592: error: initializer element is not constant
raw.c:592: error: (near initialization for  
'pcm_u16be_oformat.write_header')
raw.c:592: error: initializer element is not constant
raw.c:592: error: (near initialization for  
'pcm_u16be_oformat.write_packet')
raw.c:592: error: initializer element is not constant
raw.c:592: error: (near initialization for  
'pcm_u16be_oformat.write_trailer')
raw.c:595: error: initializer element is not constant
raw.c:595: error: (near initialization for  
'pcm_s8_oformat.write_header')
raw.c:595: error: initializer element is not constant
raw.c:595: error: (near initialization for  
'pcm_s8_oformat.write_packet')
raw.c:595: error: initializer element is not constant
raw.c:595: error: (near initialization for  
'pcm_s8_oformat.write_trailer')
raw.c:598: error: initializer element is not constant
raw.c:598: error: (near initialization for  
'pcm_u8_oformat.write_header')
raw.c:598: error: initializer element is not constant
raw.c:598: error: (near initialization for  
'pcm_u8_oformat.write_packet')
raw.c:598: error: initializer element is not constant
raw.c:598: error: (near initialization for  
'pcm_u8_oformat.write_trailer')
raw.c:601: error: initializer element is not constant
raw.c:601: error: (near initialization for  
'pcm_mulaw_oformat.write_header')
raw.c:601: error: initializer element is not constant
raw.c:601: error: (near initialization for  
'pcm_mulaw_oformat.write_packet')
raw.c:601: error: initializer element is not constant
raw.c:601: error: (near initialization for  
'pcm_mulaw_oformat.write_trailer')
raw.c:604: error: initializer element is not constant
raw.c:604: error: (near initialization for  
'pcm_alaw_oformat.write_header')
raw.c:604: error: initializer element is not constant
raw.c:604: error: (near initialization for  
'pcm_alaw_oformat.write_packet')
raw.c:604: error: initializer element is not constant
raw.c:604: error: (near initialization for  
'pcm_alaw_oformat.write_trailer')
make[1]: *** [raw.o] Error 1
make: *** [libavformat/libavformat.a] Error 2

I used this line for configure:

$ ./configure --with-extraincdir=/usr/local/include/:/usr/include/:/ 
sw/include/ --with-extralibdir=/usr/local/lib/:/usr/lib/:/sw/lib/:/sw/ 
share/lib/ --enable-macosx-bundle --enable-macosx-finder-support -- 
disable-tv --enable-largefiles --enable-gui --enable-menu

I am running Mac OS X (10.4.2). I had earlier problems with enabling  
the Finder support, but something tells me PCM errors aren't linked  
to that. Can anyone help me? Thanks.


"I said I was smart, I never said I was mature."
- --Ivan Kowalenko

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFDXj3/wAwn3hu8KxcRAlY5AJ9FrHCsZZCzcZsiyTokhnrrdU3ygACfRr7n
gg4yDmpQijtrX00WvEZXdLI=
=r0/9
-----END PGP SIGNATURE-----




More information about the MPlayer-users mailing list