pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

mplayer compilation error



With NetBSD 6.1 i386 pkgsrc-current, I get the following compilation
error:

Anyone else getting it as well?

gcc -MD -MP -Wundef  -Wstrict-prototypes -Wmissing-prototypes
-Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement
-std=gnu99  -O2 -I/usr/pkg/include/cdparanoia -I/usr/include
-I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/include/libdrm
-I/usr/pkg/include/freetype2 -mstackrealign -mpreferred-stack-boundary=4
-O3 -ffast-math -fomit-frame-pointer -mtune=pentiumpro -fno-tree-vectorize
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.
-Iffmpeg  -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/faad2
-I/usr/pkg/include/libdrm -I/usr/pkg/include/freetype2 -D_THREAD_SAFE
-I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include
-I/usr/pkg/include -I/usr/pkg/include/libdvdread -c -o mp_strings.o
mp_strings.c
In file included from libvo/vo_gif89a.c:47:0:
/mnt/pkgsrc/pkgsrc/multimedia/mplayer/work/.buildlink/include/gif_lib.h:263:30:
warning: type defaults to 'int' in declaration of 'size_t'
/mnt/pkgsrc/pkgsrc/multimedia/mplayer/work/.buildlink/include/gif_lib.h:263:37:
error: expected ';', ',' or ')' before 'GifExtensionLength'
/mnt/pkgsrc/pkgsrc/multimedia/mplayer/work/.buildlink/include/gif_lib.h:266:8:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'EGifGCBToExtension'
libvo/vo_gif89a.c: In function 'config':
libvo/vo_gif89a.c:199:2: error: too few arguments to function
'EGifOpenFileName'
/mnt/pkgsrc/pkgsrc/multimedia/mplayer/work/.buildlink/include/gif_lib.h:125:14:
note: declared here
libvo/vo_gif89a.c:218:2: warning: implicit declaration of function
'MakeMapObject'
libvo/vo_gif89a.c:218:14: warning: assignment makes pointer from integer
without a cast
libvo/vo_gif89a.c: In function 'gif_reduce':
libvo/vo_gif89a.c:270:2: warning: implicit declaration of function
'QuantizeBuffer'
libvo/vo_gif89a.c: In function 'uninit':
libvo/vo_gif89a.c:368:2: warning: implicit declaration of function
'FreeMapObject'
gmake: *** [libvo/vo_gif89a.o] Error 1
gmake: *** Waiting for unfinished jobs....
m_config.c: In function 'm_config_add_option':
m_config.c:325:14: warning: assignment discards qualifiers from pointer
target type
mp_msg.c: In function 'mp_msg_va':
mp_msg.c:217:7: warning: passing argument 2 of 'iconv' from incompatible
pointer type
/usr/include/iconv.h:46:8: note: expected 'const char ** restrict' but
argument is of type 'char **'
*** Error code 2



Home | Main Index | Thread Index | Old Index