LinuxQuestions.org
Review your favorite Linux distribution.
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
  Search this Thread
Old 01-04-2006, 09:40 PM   #1
gfem
Member
 
Registered: Apr 2003
Distribution: Fedora
Posts: 126

Rep: Reputation: 15
ffmpeg compile help


I am compiling ffmpeg-0.4.9-pre1 and i get the following output, can anyone point me in the right direction i usually install from rpm, but I need it configured with --enable-faac.

make -C libavcodec all
make[1]: Entering directory `/home/gg/devel/ffmpeg-0.4.9-pre1/libavcodec'
gcc -O3 -g -Wall -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o common.o common.c
In file included from avcodec.h:14,
from common.c:28:
common.h:67: error: array type has incomplete element type
common.h:71: error: array type has incomplete element type
make[1]: *** [common.o] Error 1
make[1]: Leaving directory `/home/gg/devel/ffmpeg-0.4.9-pre1/libavcodec'
make: *** [lib] Error 2
 
Old 01-04-2006, 10:21 PM   #2
dirk
LQ Newbie
 
Registered: Jan 2006
Distribution: debian
Posts: 17

Rep: Reputation: 0
try doing make -ik
dunno if it will work but its worth a try.
 
Old 01-04-2006, 10:50 PM   #3
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
that looks like an issue with gcc4
gcc4 took away some type casting extensions
i think get the newest cvs version
cvs -z9 -d:pserver:anonymous@mplayerhq.hu:/cvsroot/ffmpeg co ffmpeg

they have made alot of changes to that section of that file then removed the file altogether in favor of a different utility setup

Last edited by foo_bar_foo; 01-04-2006 at 10:51 PM.
 
Old 01-05-2006, 10:37 AM   #4
gfem
Member
 
Registered: Apr 2003
Distribution: Fedora
Posts: 126

Original Poster
Rep: Reputation: 15
okay I downloaded the cvs version and tried again and got this......
I have faad2 and faad2-devel installed.

make -C libavutil all
make[1]: Entering directory `/home/gg/devel/ffmpeg/libavutil'
gcc -O3 -g -Wall -Wno-switch -Wdeclaration-after-statement -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o mathematics.o mathematics.c
gcc -O3 -g -Wall -Wno-switch -Wdeclaration-after-statement -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o integer.o integer.c
gcc -O3 -g -Wall -Wno-switch -Wdeclaration-after-statement -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o rational.o rational.c
gcc -O3 -g -Wall -Wno-switch -Wdeclaration-after-statement -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o intfloat_readwrite.o intfloat_readwrite.c
rm -f libavutil.a
ar rc libavutil.a mathematics.o integer.o rational.o intfloat_readwrite.o
ranlib libavutil.a
gcc -shared -Wl,-soname,libavutil.so.49 -Wl,--warn-common -rdynamic -o libavutil.so mathematics.o integer.o rational.o intfloat_readwrite.o -lm -lmp3lame -lfaac -lvorbis -lvorbisenc -ltheora -logg -lx264 -lxvidcore -lxvidcore -ldc1394_control -lraw1394 -lz -ldl -lpthread
/usr/bin/ld: cannot find -lfaac
collect2: ld returned 1 exit status
make[1]: *** [libavutil.so] Error 1
make[1]: Leaving directory `/home/gg/devel/ffmpeg/libavutil'
make: *** [lib] Error 2
 
Old 01-06-2006, 03:28 PM   #5
gfem
Member
 
Registered: Apr 2003
Distribution: Fedora
Posts: 126

Original Poster
Rep: Reputation: 15
figured it out. I was missing a devel-package. oops.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
ffmpeg Polanski Linux - Laptop and Netbook 5 01-11-2006 07:01 PM
I'm trying to compile ffmpeg using arm compiler Jeon, Chang-Min Linux - General 2 09-15-2005 05:31 AM
ffmpeg Polanski Linux - Software 0 07-25-2005 10:05 PM
ffmpeg RySk8er30 Linux - Software 3 06-25-2005 11:10 AM
frontend for ffmpeg? brunob Linux - Software 1 12-01-2004 01:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:38 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration