Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Multimedia
  • Search

[solved]ffmpeg doesnt compile

Help with creation, editing, or playback of sounds, images, or video. Amarok, audacious, mplayer, grip, cdparanoia and anything else that makes a sound or plays a video.
Post Reply
Advanced search
9 posts • Page 1 of 1
Author
Message
Bitspyer
Apprentice
Apprentice
User avatar
Posts: 211
Joined: Tue Dec 17, 2002 10:49 am
Location: Mainz, Germany

[solved]ffmpeg doesnt compile

  • Quote

Post by Bitspyer » Mon Apr 19, 2010 9:54 am

Hi!

ffmpeg won't compile anymore.... :(

Last Rows:
LD ffplay_g
LD ffmpeg_g
LD ffprobe_g
/var/tmp/portage/media-video/ffmpeg-0.5_p22846/work/ffmpeg-0.5_p22846/libavcodec/libavcodec.so: undefined reference to `x264_encoder_open_93'
collect2: ld gab 1 als Ende-Status zurück
make: *** [ffprobe_g] Fehler 1
make: *** Warte auf noch nicht beendete Prozesse...
/var/tmp/portage/media-video/ffmpeg-0.5_p22846/work/ffmpeg-0.5_p22846/libavcodec/libavcodec.so: undefined reference to `x264_encoder_open_93'
collect2: ld gab 1 als Ende-Status zurück
make: *** [ffplay_g] Fehler 1
/var/tmp/portage/media-video/ffmpeg-0.5_p22846/work/ffmpeg-0.5_p22846/libavcodec/libavcodec.so: undefined reference to `x264_encoder_open_93'
collect2: ld gab 1 als Ende-Status zurück
make: *** [ffmpeg_g] Fehler 1
rm libavcodec/mdct_tablegen libavcodec/dv_tablegen libavcodec/cbrt_tablegen libavcodec/motionpixels_tablegen libavcodec/pcm_tablegen libavcodec/qdm2_tablegen
* ERROR: media-video/ffmpeg-0.5_p22846 failed:
* make failed
*
* Call stack:
* ebuild.sh, line 54: Called src_compile
* environment, line 3339: Called multilib-native_src_compile
* environment, line 2679: Called multilib-native_src_generic 'src_compile'
* environment, line 2826: Called multilib-native_src_compile_internal
* environment, line 2684: Called die
* The specific snippet of code:
* emake || die "make failed"
*
* If you need support, post the output of 'emerge --info =media-video/ffmpeg-0.5_p22846',
* the complete build log and the output of 'emerge -pqv =media-video/ffmpeg-0.5_p22846'.
* This ebuild used the following eclasses from overlays:
* /usr/local/portage/layman/multilib/eclass/multilib-native.eclass
* This ebuild is from an overlay named 'multilib': '/usr/local/portage/layman/multilib/'
* The complete build log is located at '/var/tmp/portage/media-video/ffmpeg-0.5_p22846/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-video/ffmpeg-0.5_p22846/temp/environment'.
* S: '/var/tmp/portage/media-video/ffmpeg-0.5_p22846/work/ffmpeg-0.5_p22846'
emerge --info
Portage 2.1.8.3 (default/linux/amd64/10.0/desktop, gcc-4.4.3, glibc-2.11-r1, 2.6.33-gentoo-r1-100416 x86_64)
=================================================================
System uname: Linux-2.6.33-gentoo-r1-100416-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5000+-with-gentoo-2.0.1
Timestamp of tree: Mon, 19 Apr 2010 07:30:01 +0000
app-shells/bash: 4.1_p5
dev-java/java-config: 2.1.10
dev-lang/python: 2.6.5-r1, 3.1.2-r2
dev-util/cmake: 2.8.1
sys-apps/baselayout: 2.0.1
sys-apps/openrc: 0.6.1-r1
sys-apps/sandbox: 2.2
sys-devel/autoconf: 2.13, 2.65
sys-devel/automake: 1.8.5-r3, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils: 2.20.1
sys-devel/gcc: 4.4.3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 2.2.6b
virtual/os-headers: 2.6.33
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=k8"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=k8"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=both -Wl,--sort-common -Wl,-z,now"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/kde /usr/local/portage/layman/x11 /usr/local/portage/layman/sunrise /usr/local/portage/layman/dev-zero /usr/local/portage/layman/zugaina /usr/local/portage/layman/vmware /usr/local/portage/layman/arcon /usr/local/portage/layman/multilib /usr/local/portage/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac aalib acl acpi alsa amd64 apache2 apm berkdb bluetooth branding bzip2 cairo cdda cdr cleartype cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif glibc-omitfp glitz gpm gtk hal hddtemp iconv imagemagick java java6 javascript jpeg kde kdehiddenvisibility kdm lame lcms libnotify lm_sensors lzma lzo mad mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib mysql ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pango pcre pdf perl php pic png ppds pppd python qt3support qt4 readline reflection samba sdl session spell spl sqlite sqlite3 sse sse2 ssl startup-notification svg sysfs tcpd threads tiff truetype unicode usb userlocales vorbis x264 xcb xcomposite xml xorg xscreensaver xulrunner xv xvid zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user deflate dir env expires ext_filter filter headers include info log_config logio mime mime_magic negotation rewrite site status unique_id usertrack vhost_alias" APACHE2_MPMS="prefork" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="vesa nv nouveau nvidia"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Last edited by Bitspyer on Fri Apr 30, 2010 11:44 am, edited 1 time in total.
Der Weg zur Dunklen Seite... Schneller er ist, verführerischer, leichter.
Top
mollilinux
n00b
n00b
Posts: 16
Joined: Sat Apr 17, 2010 10:50 am
Location: Switzerland

  • Quote

Post by mollilinux » Mon Apr 19, 2010 3:57 pm

hi

x264 could be the problem. I would compile ffmpeg without the x264 USE flag.

What are the x264 version have you installed?
kernel: 2.6.32-gentoo-r7
window manager: KDE 4.4
graphic: nVIDIA
Top
phajdan.jr
Retired Dev
Retired Dev
User avatar
Posts: 1777
Joined: Thu Mar 23, 2006 4:22 pm
Location: Poland
Contact:
Contact phajdan.jr
Website

  • Quote

Post by phajdan.jr » Mon Apr 19, 2010 5:36 pm

mollilinux wrote:x264 could be the problem. I would compile ffmpeg without the x264 USE flag.
That sounds like a workaround. But it is very likely x264 related, and I wonder if just re-emerging x264 would fix it. If not, please file a bug.
http://phajdan-jr.blogspot.com/
Top
beandog
Bodhisattva
Bodhisattva
User avatar
Posts: 2074
Joined: Sun May 04, 2003 11:53 pm
Location: /usa/utah
Contact:
Contact beandog
Website

  • Quote

Post by beandog » Mon Apr 19, 2010 6:51 pm

phajdan.jr wrote:
mollilinux wrote:x264 could be the problem. I would compile ffmpeg without the x264 USE flag.
If not, please file a bug.
After trying an ebuild not in an overlay.
If it ain't broke, tweak it. dvds | blurays | blog | wiki
Top
Rexilion
Veteran
Veteran
User avatar
Posts: 1044
Joined: Tue Mar 17, 2009 10:25 am

  • Quote

Post by Rexilion » Tue Apr 20, 2010 6:53 am

I'm not sure but:
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=both -Wl,--sort-common -Wl,-z,now"
Could that not pose a problem? (just asking...)
Top
Martin.Jansa
n00b
n00b
User avatar
Posts: 55
Joined: Tue Mar 09, 2004 11:12 am
Location: Prague

  • Quote

Post by Martin.Jansa » Wed Apr 21, 2010 7:33 am

It compiles fine for me if I drop "pic" USEflag, with it I get the same error as Bitspyer.
Top
phajdan.jr
Retired Dev
Retired Dev
User avatar
Posts: 1777
Joined: Thu Mar 23, 2006 4:22 pm
Location: Poland
Contact:
Contact phajdan.jr
Website

  • Quote

Post by phajdan.jr » Wed Apr 21, 2010 7:45 am

Interesting. Then see http://forums.gentoo.org/viewtopic-t-80 ... ight-.html and http://bugs.gentoo.org/show_bug.cgi?id=290741. I wonder why the pic USE flag is still available there.
http://phajdan-jr.blogspot.com/
Top
r4dius
n00b
n00b
Posts: 1
Joined: Thu Apr 22, 2010 4:27 pm

  • Quote

Post by r4dius » Thu Apr 22, 2010 4:44 pm

Hi,
I was having the same problem on Debian Squeeze,
could not find a normal way to get it compiling,
So I removed the renaming added here http://git.videolan.org/?p=x264.git;a=c ... 762b1a4b13

basically, in x264.h

-#define x264_encoder_glue1(x,y) x##y
-#define x264_encoder_glue2(x,y) x264_encoder_glue1(x,y)
-#define x264_encoder_open x264_encoder_glue2(x264_encoder_open_,X264_BUILD)

it compiles and works correctly as far as I tested.
Top
Bitspyer
Apprentice
Apprentice
User avatar
Posts: 211
Joined: Tue Dec 17, 2002 10:49 am
Location: Mainz, Germany

  • Quote

Post by Bitspyer » Fri Apr 30, 2010 11:44 am

OK, solved this Problem:

recompile:

media-libs/x264 -pic

and

media-video/ffmpeg

All fine!
Der Weg zur Dunklen Seite... Schneller er ist, verführerischer, leichter.
Top
Post Reply

9 posts • Page 1 of 1

Return to “Multimedia”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic