[FFmpeg-devel] Problem building shared libraries using svn-r11100+ on x86_64

Måns Rullgård mans
Tue Dec 4 23:12:42 CET 2007


Nicolas George <nicolas.george at normalesup.org> writes:

> Le quartidi 14 frimaire, an CCXVI, Michael Niedermayer a ?crit?:
>> a patch which adds -Bsymbolic to the linker flags is welcome
>
> What about adding
>
> 	__attribute__(( visibility ("protected") ))
>
> on the relevant variables? That fixes the problem too (I can submit a
> patch), and it avoids changing the whole linking scheme of the library.

No need, I've already fixed configure.

> Furthermore, since the file is already full of GNUisms, adding some
> more is not a problem.

There are two kinds of gnuisms: necessary and silly.  Inline assembler
falls in the former category (well, *some* extension must be used),
while visibility attributes are squarely in the latter.

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-devel mailing list