[MPlayer-users] ao_alsa.c fails to compile.

Fredrik Eriksson feffese at yahoo.se
Sun Feb 12 15:13:23 CET 2006


For the last few days I havn't been able to compile the mplayer cvs, it
fails at ao_alsa.c:

cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -O4 -march=k8
-mtune=k8 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I. -I..
-I/usr/include/SDL -D_REENTRANT -I/usr/X11R6/include  -o ao_sdl.o ao_sdl.c
ao_oss.c: In function `control':
ao_oss.c:168: warning: cast from pointer to integer of different size
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -O4 -march=k8
-mtune=k8 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I. -I..
-I/usr/include/SDL -D_REENTRANT -I/usr/X11R6/include  -o ao_oss.o ao_oss.c
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -O4 -march=k8
-mtune=k8 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I. -I..
-I/usr/include/SDL -D_REENTRANT -I/usr/X11R6/include  -o ao_esd.o ao_esd.c
ao_alsa.c: In function `get_space':
ao_alsa.c:1012: error: parse error before '<<' token
ao_alsa.c:1018: error: break statement not within loop or switch
ao_alsa.c:1019: error: case label not within a switch statement
ao_alsa.c:1020: error: `str_status' undeclared (first use in this function)
ao_alsa.c:1020: error: (Each undeclared identifier is reported only once
ao_alsa.c:1020: error: for each function it appears in.)
ao_alsa.c:1025: error: break statement not within loop or switch
ao_alsa.c:1026: error: case label not within a switch statement
ao_alsa.c:1031: error: break statement not within loop or switch
ao_alsa.c:1032: error: case label not within a switch statement
ao_alsa.c:1036: error: break statement not within loop or switch
ao_alsa.c:1037: error: case label not within a switch statement
ao_alsa.c:1042: error: break statement not within loop or switch
ao_alsa.c:1043: error: `default' label not within a switch statement
ao_alsa.c: At top level:
ao_alsa.c:1051: error: parse error before "if"
ao_alsa.c:1056: warning: data definition has no type or storage class
ao_alsa.c:1057: error: parse error before '}' token
make[1]: *** [ao_alsa.o] Error 1
make: *** [libao2/libao2.a] Fel 2

is something messed up?

Fredrik Eriksson




More information about the MPlayer-users mailing list