LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 07-24-2008, 12:38 PM   #1
fandar
Member
 
Registered: Oct 2006
Posts: 60

Rep: Reputation: 15
problem with ffmpeg-php


Hi, i am trying to compile ffmpeg-php on centos 4.6

I tryed diffrent ffmpeg-php versions, but it is same with all versions
Here is output from make:

Quote:
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:992: error: previous definition of 'PHP_METHOD' was here
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1012: error: redefinition of 'PHP_METHOD'
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:515: error: previous definition of 'PHP_METHOD' was here
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c: In function `PHP_METHOD':
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1016: error: `this_ptr' undeclared (first use in this function)
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1016: error: `return_value' undeclared (first use in this function)
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1016: warning: `return' with no value, in function returning non-void
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1016: warning: `return' with no value, in function returning non-void
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1022: warning: `return' with no value, in function returning non-void
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1026: warning: `return' with no value, in function returning non-void
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c: At top level:
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1034: warning: return type defaults to `int'
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1034: error: redefinition of 'PHP_METHOD'
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1012: error: previous definition of 'PHP_METHOD' was here
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1034: error: redefinition of 'PHP_METHOD'
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:515: error: previous definition of 'PHP_METHOD' was here
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c: In function `PHP_METHOD':
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1038: error: `this_ptr' undeclared (first use in this function)
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1038: error: `return_value' undeclared (first use in this function)
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1038: warning: `return' with no value, in function returning non-void
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1038: warning: `return' with no value, in function returning non-void
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1044: warning: `return' with no value, in function returning non-void
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1048: warning: `return' with no value, in function returning non-void
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c: At top level:
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1072: warning: return type defaults to `int'
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1072: error: redefinition of 'PHP_METHOD'
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1034: error: previous definition of 'PHP_METHOD' was here
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1072: error: redefinition of 'PHP_METHOD'
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:515: error: previous definition of 'PHP_METHOD' was here
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c: In function `PHP_METHOD':
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1076: error: `this_ptr' undeclared (first use in this function)
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1076: error: `return_value' undeclared (first use in this function)
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1076: warning: `return' with no value, in function returning non-void
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1076: warning: `return' with no value, in function returning non-void
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1081: warning: `return' with no value, in function returning non-void
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1083: warning: `return' with no value, in function returning non-void
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c: At top level:
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1108: warning: return type defaults to `int'
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1108: error: redefinition of 'PHP_METHOD'
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1072: error: previous definition of 'PHP_METHOD' was here
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1108: error: redefinition of 'PHP_METHOD'
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:515: error: previous definition of 'PHP_METHOD' was here
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c: In function `PHP_METHOD':
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1112: error: `this_ptr' undeclared (first use in this function)
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1112: error: `return_value' undeclared (first use in this function)
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1112: warning: `return' with no value, in function returning non-void
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1112: warning: `return' with no value, in function returning non-void
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1117: warning: `return' with no value, in function returning non-void
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1119: warning: `return' with no value, in function returning non-void
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c: At top level:
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1144: warning: return type defaults to `int'
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1144: error: redefinition of 'PHP_METHOD'
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1108: error: previous definition of 'PHP_METHOD' was here
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1144: error: redefinition of 'PHP_METHOD'
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:515: error: previous definition of 'PHP_METHOD' was here
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c: In function `PHP_METHOD':
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1148: error: `this_ptr' undeclared (first use in this function)
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1148: error: `return_value' undeclared (first use in this function)
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1148: warning: `return' with no value, in function returning non-void
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1148: warning: `return' with no value, in function returning non-void
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1153: warning: `return' with no value, in function returning non-void
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1155: warning: `return' with no value, in function returning non-void
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c: At top level:
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1164: warning: return type defaults to `int'
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1164: error: redefinition of 'PHP_METHOD'
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1144: error: previous definition of 'PHP_METHOD' was here
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1164: error: redefinition of 'PHP_METHOD'
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:515: error: previous definition of 'PHP_METHOD' was here
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c: In function `PHP_METHOD':
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1168: error: `this_ptr' undeclared (first use in this function)
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1168: error: `return_value' undeclared (first use in this function)
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1168: warning: `return' with no value, in function returning non-void
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1168: warning: `return' with no value, in function returning non-void
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1173: warning: `return' with no value, in function returning non-void
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1175: warning: `return' with no value, in function returning non-void
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c: In function `_php_get_ff_frame':
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1333: warning: `img_copy' is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:2965)
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c: At top level:
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1349: warning: return type defaults to `int'
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1349: error: redefinition of 'PHP_METHOD'
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1164: error: previous definition of 'PHP_METHOD' was here
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1349: error: redefinition of 'PHP_METHOD'
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:515: error: previous definition of 'PHP_METHOD' was here
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c: In function `PHP_METHOD':
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1352: error: `ht' undeclared (first use in this function)
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1353: warning: `return' with no value, in function returning non-void
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1356: error: `this_ptr' undeclared (first use in this function)
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1356: error: `return_value' undeclared (first use in this function)
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1356: warning: `return' with no value, in function returning non-void
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1356: warning: `return' with no value, in function returning non-void
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1359: error: `return_value_used' undeclared (first use in this function)
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1360: warning: `return' with no value, in function returning non-void
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c: At top level:
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1369: warning: return type defaults to `int'
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1369: error: redefinition of 'PHP_METHOD'
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1349: error: previous definition of 'PHP_METHOD' was here
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1369: error: redefinition of 'PHP_METHOD'
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:515: error: previous definition of 'PHP_METHOD' was here
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c: In function `PHP_METHOD':
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1374: error: `ht' undeclared (first use in this function)
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1375: warning: `return' with no value, in function returning non-void
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1378: error: `this_ptr' undeclared (first use in this function)
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1378: error: `return_value' undeclared (first use in this function)
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1378: warning: `return' with no value, in function returning non-void
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1378: warning: `return' with no value, in function returning non-void
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1399: error: `return_value_used' undeclared (first use in this function)
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1400: warning: `return' with no value, in function returning non-void
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c: At top level:
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1453: warning: return type defaults to `int'
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1453: error: redefinition of 'PHP_METHOD'
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1369: error: previous definition of 'PHP_METHOD' was here
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1453: error: redefinition of 'PHP_METHOD'
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:515: error: previous definition of 'PHP_METHOD' was here
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c: In function `PHP_METHOD':
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1457: error: `this_ptr' undeclared (first use in this function)
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1457: error: `return_value' undeclared (first use in this function)
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1457: warning: `return' with no value, in function returning non-void
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1457: warning: `return' with no value, in function returning non-void
/root/install/ffmpeg-php-0.5.3.1/ffmpeg_movie.c:1461: warning: `return' with no value, in function returning non-void
make: *** [ffmpeg_movie.lo] Error 1
What is the problem? Thank You
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with ffmpeg-php? UBdebian Programming 3 06-01-2008 11:25 AM
FFMPEG-PHP "toGdImage()" error and many other problems JustinMs66 Linux - Server 0 03-07-2008 09:23 PM
PHP: Adding ffmpeg-php without re-compiling? vxc69 Linux - Software 2 05-17-2007 04:47 PM
Problem with ffmpeg.. BDiddy Linux - Software 0 10-18-2005 03:38 PM
Problem executing a linux script from php that runs ffmpeg darkisolde Linux - Software 4 10-04-2005 07:43 AM


All times are GMT -5. The time now is 04:54 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration