<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 54: Building against php 5.4 on FreeBSD</title><link href="https://sourceforge.net/p/ffmpeg-php/bugs/54/" rel="alternate"/><link href="https://sourceforge.net/p/ffmpeg-php/bugs/54/feed.atom" rel="self"/><id>https://sourceforge.net/p/ffmpeg-php/bugs/54/</id><updated>2012-06-07T03:58:04Z</updated><subtitle>Recent changes to 54: Building against php 5.4 on FreeBSD</subtitle><entry><title>Building against php 5.4 on FreeBSD</title><link href="https://sourceforge.net/p/ffmpeg-php/bugs/54/" rel="alternate"/><published>2012-06-07T03:58:04Z</published><updated>2012-06-07T03:58:04Z</updated><author><name>ginoit</name><uri>https://sourceforge.net/u/ginoitalo/</uri></author><id>https://sourceforge.net2039a2c507a9ccd3b8599caa09e6ecf1ff1ba260</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Similar issue as well   (with make and gmake)&lt;/p&gt;
&lt;p&gt;# cc -v&lt;br /&gt;
Using built-in specs.&lt;br /&gt;
Target: i386-undermydesk-freebsd&lt;br /&gt;
Configured with: FreeBSD/i386 system compiler&lt;br /&gt;
Thread model: posix&lt;br /&gt;
gcc version 4.2.1 20070719  [FreeBSD]&lt;/p&gt;
&lt;p&gt;php5-5.4.3&lt;/p&gt;
&lt;p&gt;ffmpeg-0.7.12_2,1&lt;/p&gt;
&lt;p&gt;(same result with branch: ffmpeg-php-0.6.1)&lt;/p&gt;
&lt;p&gt;/usr/local/include/php/ext/standard/info.h:87: error: expected declaration specifiers before '__attribute__'&lt;br /&gt;
In file included from /tmp/pp/ffmpeg-php/trunk/ffmpeg-php/ffmpeg-php.c:53:&lt;br /&gt;
/tmp/pp/ffmpeg-php/trunk/ffmpeg-php/php_ffmpeg.h:70: error: storage class specified for parameter 'ffmpeg_module_entry'&lt;br /&gt;
/tmp/pp/ffmpeg-php/trunk/ffmpeg-php/ffmpeg-php.c:58: error: parameter 'ffmpeg_module_entry' is initialized&lt;br /&gt;
/tmp/pp/ffmpeg-php/trunk/ffmpeg-php/ffmpeg-php.c:58: error: redefinition of parameter 'ffmpeg_module_entry'&lt;br /&gt;
/tmp/pp/ffmpeg-php/trunk/ffmpeg-php/php_ffmpeg.h:70: error: previous definition of 'ffmpeg_module_entry' was here&lt;br /&gt;
/tmp/pp/ffmpeg-php/trunk/ffmpeg-php/ffmpeg-php.c:77: error: expected declaration specifiers before '__attribute__'&lt;br /&gt;
/tmp/pp/ffmpeg-php/trunk/ffmpeg-php/ffmpeg-php.c:77: error: expected declaration specifiers before ';' token&lt;br /&gt;
/tmp/pp/ffmpeg-php/trunk/ffmpeg-php/ffmpeg-php.c:82: error: storage class specified for parameter 'register_ffmpeg_movie_class'&lt;br /&gt;
/tmp/pp/ffmpeg-php/trunk/ffmpeg-php/ffmpeg-php.c:83: error: storage class specified for parameter 'register_ffmpeg_frame_class'&lt;br /&gt;
/tmp/pp/ffmpeg-php/trunk/ffmpeg-php/ffmpeg-php.c:85: error: storage class specified for parameter 'ini_entries'&lt;br /&gt;
/tmp/pp/ffmpeg-php/trunk/ffmpeg-php/ffmpeg-php.c:85: error: parameter 'ini_entries' is initialized&lt;br /&gt;
/tmp/pp/ffmpeg-php/trunk/ffmpeg-php/ffmpeg-php.c:86: warning: braces around scalar initializer&lt;br /&gt;
/tmp/pp/ffmpeg-php/trunk/ffmpeg-php/ffmpeg-php.c:86: warning: (near initialization for 'ini_entries')&lt;br /&gt;
/tmp/pp/ffmpeg-php/trunk/ffmpeg-php/ffmpeg-php.c:86: warning: excess elements in scalar initializer&lt;br /&gt;
...&lt;/p&gt;
&lt;p&gt;/tmp/pp/ffmpeg-php/trunk/ffmpeg-php/ffmpeg-php.c:88: warning: excess elements in scalar initializer&lt;br /&gt;
/tmp/pp/ffmpeg-php/trunk/ffmpeg-php/ffmpeg-php.c:88: warning: (near initialization for 'ini_entries')&lt;br /&gt;
/tmp/pp/ffmpeg-php/trunk/ffmpeg-php/ffmpeg-php.c:88: warning: excess elements in scalar initializer&lt;br /&gt;
/tmp/pp/ffmpeg-php/trunk/ffmpeg-php/ffmpeg-php.c:88: warning: (near initialization for 'ini_entries')&lt;br /&gt;
/tmp/pp/ffmpeg-php/trunk/ffmpeg-php/ffmpeg-php.c:94: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token&lt;br /&gt;
/tmp/pp/ffmpeg-php/trunk/ffmpeg-php/ffmpeg-php.c:137: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token&lt;br /&gt;
/tmp/pp/ffmpeg-php/trunk/ffmpeg-php/ffmpeg-php.c:150: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token&lt;br /&gt;
/tmp/pp/ffmpeg-php/trunk/ffmpeg-php/ffmpeg-php.c:204: error: old-style parameter declarations in prototyped function definition&lt;br /&gt;
/tmp/pp/ffmpeg-php/trunk/ffmpeg-php/ffmpeg-php.c:204: error: expected '{' at end of input&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>