[MPlayer-users] Build error (04 Dec 2011, -r34389)

mlg 3 m_l_g3 at yahoo.com
Mon Dec 5 11:07:29 CET 2011


>From: Marcin 'Rambo' Roguski <rambo@**.pl>

>> svn add fribidi.h?

>got libfribidi-dev?

Installed, but it did not really help:

$ aptitude search libfribidi-dev

i   libfribidi-dev                                                                               - Development files for FreeBidi library                                                                 


cc -MD -MP -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -Iffmpeg  -D_REENTRANT   -I/usr/include/freetype2 -c -o libass/ass_font.o libass/ass_font.c
In file included from libass/ass_font.c:35:
libass/ass_shaper.h:33: error: expected declaration specifiers or '...' before 'FriBidiParType'
libass/ass_shaper.h:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'resolve_base_direction'
libass/ass_font.c: In function 'ass_strike_outline_glyph':
libass/ass_font.c:329: warning: ISO C90 forbids mixed declarations and code
libass/ass_font.c:359: warning: ISO C90 forbids mixed declarations and code
libass/ass_font.c: In function 'ass_font_get_glyph':
libass/ass_font.c:564: warning: ISO C90 forbids mixed declarations and code
libass/ass_font.c: In function 'get_contour_cbox':
libass/ass_font.c:626: warning: ISO C90 forbids mixed declarations and code
libass/ass_font.c: In function 'fix_freetype_stroker':
libass/ass_font.c:699: warning: ISO C90 forbids mixed declarations and code
libass/ass_font.c:728: warning: ISO C90 forbids mixed declarations and code
make: *** [libass/ass_font.o] Error 1

$ gcc --version

gcc (GCC) 4.2.4 (Ubuntu 4.2.4-1ubuntu4)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


# and I'd say that libass file names are a bit shocking



More information about the MPlayer-users mailing list