cc -I../libswscale -I../libavcodec -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I.. -I.. -I../libavutil -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -I. -I.. -I../libavutil -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=prescott -mtune=prescott -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/include/ -I/usr/include/SDL -D_REENTRANT -I/usr/include/kde/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include -c -o utils.o utils.c
utils.c: In function 'ff_realloc_static':
utils.c:94: warning: 'av_mallocz_static' is deprecated (declared at utils.c:77)
utils.c: In function 'do_free':
utils.c:122: warning: 'av_free_static' is deprecated (declared at utils.c:107)
utils.c: In function 'init_crcs':
utils.c:1218: warning: 'av_mallocz_static' is deprecated (declared at utils.c:77)
utils.c:1219: warning: 'av_mallocz_static' is deprecated (declared at utils.c:77)
utils.c:1220: warning: 'av_mallocz_static' is deprecated (declared at utils.c:77)
utils.c: In function 'av_tempfile':
utils.c:1348: error: '_O_RDWR' undeclared (first use in this function)
utils.c:1348: error: (Each undeclared identifier is reported only once
utils.c:1348: error: for each function it appears in.)
utils.c:1348: error: '_O_BINARY' undeclared (first use in this function)
utils.c:1348: error: '_O_CREAT' undeclared (first use in this function)
make[1]: *** [utils.o] Error 1
make[1]: Leaving directory `/home/athena/src/mplayer/libavcodec'
make: *** [libavcodec/libavcodec.a] Error 2