DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Ports and Packages

FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 18th January 2010
delboy's Avatar
delboy delboy is offline
Fdisk Soldier
 
Join Date: May 2008
Posts: 63
Default ffmpeg

FreeBSD 7.1-rc1
amd 64

Trying to update ffmpeg I get.
Code:
ibavdevice/v4l2.c:41:23: error: asm/types.h: No such file or directory
In file included from libavdevice/v4l2.c:42:
/usr/local/include/linux/videodev2.h:430: warning: declaration does not declare anything
/usr/local/include/linux/videodev2.h:460: warning: declaration does not declare anything
/usr/local/include/linux/videodev2.h:837: warning: declaration does not declare anything
/usr/local/include/linux/videodev2.h:930: warning: declaration does not declare anything
/usr/local/include/linux/videodev2.h:1478: warning: declaration does not declare anything
/usr/local/include/linux/videodev2.h:1600: warning: declaration does not declare anything
/usr/local/include/linux/videodev2.h:1651: warning: declaration does not declare anything
gmake: *** [libavdevice/v4l2.o] Error 1
gmake: *** Waiting for unfinished jobs....
In file included from /usr/local/include/linux/videodev.h:17,
                 from libavdevice/v4l.c:33:
/usr/local/include/linux/videodev2.h:430: warning: declaration does not declare anything
/usr/local/include/linux/videodev2.h:460: warning: declaration does not declare anything
/usr/local/include/linux/videodev2.h:837: warning: declaration does not declare anything
/usr/local/include/linux/videodev2.h:930: warning: declaration does not declare anything
/usr/local/include/linux/videodev2.h:1478: warning: declaration does not declare anything
/usr/local/include/linux/videodev2.h:1600: warning: declaration does not declare anything
/usr/local/include/linux/videodev2.h:1651: warning: declaration does not declare anything
*** Error code 1

Stop in /usr/ports/multimedia/ffmpeg.
*** Error code 1

Stop in /usr/ports/multimedia/ffmpeg.
*** Error code 1

Stop in /usr/ports/multimedia/ffmpeg.
Uncertain which way to go.
Reply With Quote
  #2   (View Single Post)  
Old 18th January 2010
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

Which version of ffmpeg are you trying to install?

Check with
% make -V PKGNAME
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #3   (View Single Post)  
Old 18th January 2010
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Real Name: Ben
Spam Refugee
 
Join Date: Jul 2008
Location: Rotterdam, The Netherlands
Posts: 336
Default

Same problem?
Reply With Quote
  #4   (View Single Post)  
Old 18th January 2010
delboy's Avatar
delboy delboy is offline
Fdisk Soldier
 
Join Date: May 2008
Posts: 63
Default

carpetsmoker

multimedia/ffmpeg-0.5_2,1
Reply With Quote
  #5   (View Single Post)  
Old 19th January 2010
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Real Name: Ben
Spam Refugee
 
Join Date: Jul 2008
Location: Rotterdam, The Netherlands
Posts: 336
Default

Possible fix:
http://www.freshports.org/commit.php...an.freebsd.org
Reply With Quote
  #6   (View Single Post)  
Old 19th January 2010
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Real Name: Ben
Spam Refugee
 
Join Date: Jul 2008
Location: Rotterdam, The Netherlands
Posts: 336
Default

A user at FreeBSD Forums reported that this fixed the build error. So update your ports tree and look out for the newer version of ffmpeg.
Reply With Quote
  #7   (View Single Post)  
Old 19th January 2010
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 4,125
Default

Another user with this problem and a solution: http://lists.freebsd.org/pipermail/f...ry/211221.html
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
  #8   (View Single Post)  
Old 26th January 2010
delboy's Avatar
delboy delboy is offline
Fdisk Soldier
 
Join Date: May 2008
Posts: 63
Default

Thanks everybody,make clean after uninstalling multimedia/v4l_compat,did the trick,ffmpeg installed perfectly.
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ffmpeg carpman FreeBSD Ports and Packages 14 7th May 2009 10:23 PM


All times are GMT. The time now is 11:47 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick