View previous topic :: View next topic |
Author |
Message |
Winblowz n00b

Joined: 08 Dec 2005 Posts: 10 Location: Rapid City, South Dakota
|
Posted: Sun Feb 26, 2006 1:31 am Post subject: gnome compilation error |
|
|
I just got done installing gentoo for my first time. After the install, I did an 'emerge gnome' and it went on for about 3 days. I then came up with an error. This is what showed up at the error-
!!! ERROR: media-plugins/gst-plugins-ffmpeg-0.8.7-r1 failed.
!!!Function src_compile, Line 41, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
I have been trying for a couple days now to get this working, but with no luck. I have searched around again and again, but nothing has worked. Help is very much appreciated. Thanks in advance  |
|
Back to top |
|
 |
mark_alec Bodhisattva


Joined: 11 Sep 2004 Posts: 6066 Location: Melbourne, Australia
|
Posted: Sun Feb 26, 2006 2:41 am Post subject: |
|
|
Please post about 30 lines before that message as that cannot help with diagnosing the problem. Also post your 'emerge --info' _________________ www.gentoo.org.au || #gentoo-au |
|
Back to top |
|
 |
DownSet n00b


Joined: 21 Jan 2006 Posts: 32 Location: Riverside, CA
|
Posted: Sun Feb 26, 2006 9:00 am Post subject: |
|
|
if all els fails use "emerge --resume --skipfirst" and then once its done install a older version of ffmpeg. i remember haveing the same problem when i emerged gnome last weekend but cant remember what i did to fix it. |
|
Back to top |
|
 |
sugar Guru


Joined: 07 Aug 2004 Posts: 579 Location: Morrinsville, New Zealand
|
Posted: Sun Feb 26, 2006 9:23 am Post subject: |
|
|
Post your /etc/make.conf as well. I think I saw a thread similar to this where -march breaks those plugins installing. |
|
Back to top |
|
 |
Winblowz n00b

Joined: 08 Dec 2005 Posts: 10 Location: Rapid City, South Dakota
|
Posted: Sun Feb 26, 2006 3:01 pm Post subject: |
|
|
this is the first 30 or so lines, but if you need any more info after this, then just ask and I'll be sure to give it
make [6]: Leaving directory 'var/tmp/portage/gst-plugins-ffmpeg-0.8.7-r1/work/gst-ffmpeg-0.8.7/gst-libs/ext/ffmpeg'
make [5]: *** [all] Error 2
make [5]: Leaving directory 'var/tmp/portage/gst-plugins-ffmpeg-0.8.7-r1/work/gst-ffmpeg-0.8.7/gst-libs/ext/ffmpeg'
make [4]: *** [all-local] Error 2
make [4]: Leaving directory 'var/tmp/portage/gst-plugins-ffmpeg-0.8.7-r1/work/gst-ffmpeg-0.8.7/gst-libs/ext'
make [3]: *** [all-recursive] Error 1
make [3]: Leaving directory 'var/tmp/portage/gst-plugins-ffmpeg-0.8.7-r1/work/gst-ffmpeg-0.8.7/gst-libs/ext'
make [2]: *** [all-recursive] Error 1
make [2]: Leaving directory 'var/tmp/portage/gst-plugins-ffmpeg-0.8.7-r1/work/gst-ffmpeg-0.8.7/gst-libs'
make [1]: *** [all-recursive] Error 1
make [1]: Leaving directory 'var/tmp/portage/gst-plugins-ffmpeg-0.8.7-r1/work/gst-ffmpeg-0.8.7'
make: *** [all] Error 2 |
|
Back to top |
|
 |
Winblowz n00b

Joined: 08 Dec 2005 Posts: 10 Location: Rapid City, South Dakota
|
Posted: Sun Feb 26, 2006 11:26 pm Post subject: |
|
|
does anybody know how to fix this?  |
|
Back to top |
|
 |
sugar Guru


Joined: 07 Aug 2004 Posts: 579 Location: Morrinsville, New Zealand
|
Posted: Mon Feb 27, 2006 2:25 am Post subject: |
|
|
post further up in the compile error, and your make.conf file... |
|
Back to top |
|
 |
Winblowz n00b

Joined: 08 Dec 2005 Posts: 10 Location: Rapid City, South Dakota
|
Posted: Mon Feb 27, 2006 5:18 am Post subject: |
|
|
this is my /etc/make.conf file-
CFLAGS="-march=k6-2 -02 -pipe -fomit-frame-pointer"
CHOST="i386-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
GENTOO_MIRRORS="http://gentoo.osuosl.org/"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" |
|
Back to top |
|
 |
sugar Guru


Joined: 07 Aug 2004 Posts: 579 Location: Morrinsville, New Zealand
|
Posted: Mon Feb 27, 2006 7:51 am Post subject: |
|
|
try changing -march to -mtune |
|
Back to top |
|
 |
ecatmur Advocate


Joined: 20 Oct 2003 Posts: 3595 Location: Edinburgh
|
|
Back to top |
|
 |
dimension128 n00b

Joined: 19 May 2006 Posts: 1
|
Posted: Fri May 19, 2006 6:37 am Post subject: |
|
|
Having the exact same problem as Winblowz. Im a gentoo firsttimer as well.
I suppose I could be ok without gnome but im coming from ubuntu, and its just what im used to.
Anyway here is more of the info from the terminal.
Code: | i386-pc-linux-gnu-gcc -O2 -mtune=i686 -pipe -o videogen videogen.o
make[7]: Leaving directory `/var/tmp/portage/gst-plugins-ffmpeg-0.8.7-r1/work/gst-ffmpeg-0.8.7/gst-libs/ext/ffmpeg/tests'
make[7]: Entering directory `/var/tmp/portage/gst-plugins-ffmpeg-0.8.7-r1/work/gst-ffmpeg-0.8.7/gst-libs/ext/ffmpeg'
if i386-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -I./libavutil -I./libavcodec -I./libavformat -Wall -Wno-switch -I/usr/include/SDL -D_MP -MF ".deps/ffplay-cmdutils.Tpo" -c -o ffplay-cmdutils.o `test -f 'cmdutils.c' || echo './'`cmdutils.c; \
then mv -f ".deps/ffplay-cmdutils.Tpo" ".deps/ffplay-cmdutils.Po"; else rm -f ".deps/ffplay-cmdutils.Tpo"; exit 1; fi
cmdutils.c: In function `find_option':
cmdutils.c:54: warning: return discards qualifiers from pointer target type
if i386-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -I./libavutil -I./libavcodec -I./libavformat -Wall -Wno-switch -I/usr/include/SDL -D_ -MF ".deps/ffplay-ffplay.Tpo" -c -o ffplay-ffplay.o `test -f 'ffplay.c' || echo './'`ffplay.c; \
then mv -f ".deps/ffplay-ffplay.Tpo" ".deps/ffplay-ffplay.Po"; else rm -f ".deps/ffplay-ffplay.Tpo"; exit 1; fi
/bin/sh ./libtool --tag=CC --mode=link i386-pc-linux-gnu-gcc -O2 -mtune=i686 -pipe -Wall -Wno-switch -o ffplay -lSDL -lpthread ffplay-cmt/libavformat.la libavcodec/libavcodec.la
mkdir .libs
i386-pc-linux-gnu-gcc -O2 -mtune=i686 -pipe -Wall -Wno-switch -o ffplay ffplay-cmdutils.o ffplay-ffplay.o /usr/lib/libSDL.so -lpthread libav /usr/lib/gcc/i386-pc-linux-gnu/3.4.5/libstdc++.so -L/usr/i386-pc-linux-gnu/bin -L/usr/i386-pc-linux-gnu/lib -L/usr/lib/gcc/i386-pc-linux-gnus/libavcodec.a -lz -lm
ffplay-ffplay.o: In function `main':
ffplay.c:(.text+0x4588): undefined reference to `XOpenDisplay'
ffplay.c:(.text+0x45bb): undefined reference to `XCloseDisplay'
collect2: ld returned 1 exit status
make[7]: *** [ffplay] Error 1
make[7]: Leaving directory `/var/tmp/portage/gst-plugins-ffmpeg-0.8.7-r1/work/gst-ffmpeg-0.8.7/gst-libs/ext/ffmpeg'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory `/var/tmp/portage/gst-plugins-ffmpeg-0.8.7-r1/work/gst-ffmpeg-0.8.7/gst-libs/ext/ffmpeg'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/var/tmp/portage/gst-plugins-ffmpeg-0.8.7-r1/work/gst-ffmpeg-0.8.7/gst-libs/ext/ffmpeg'
make[4]: *** [all-local] Error 2
make[4]: Leaving directory `/var/tmp/portage/gst-plugins-ffmpeg-0.8.7-r1/work/gst-ffmpeg-0.8.7/gst-libs/ext'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/gst-plugins-ffmpeg-0.8.7-r1/work/gst-ffmpeg-0.8.7/gst-libs/ext'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gst-plugins-ffmpeg-0.8.7-r1/work/gst-ffmpeg-0.8.7/gst-libs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gst-plugins-ffmpeg-0.8.7-r1/work/gst-ffmpeg-0.8.7'
make: *** [all] Error 2
!!! ERROR: media-plugins/gst-plugins-ffmpeg-0.8.7-r1 failed.
!!! Function src_compile, Line 44, Exitcode 2
!!! (no error message)
|
EDIT::
and here is my /etc/make.conf
Code: | CFLAGS="-O2 -mtune=i686 -pipe"
CHOST="i386-pc-linux-gnu"
CXXFLAGS="-O2 -mtune=i686 -pipe"
GENTOO_MIRRORS="ftp://ftp.gtlib.gatech.edu/pub/gentoo ftp://ftp<SNIP>
USE="3ds 7zip S3TC a52 aac aim aimextras amd amuled apache2 applet aqua_theme
artworkextra async automount background beagle bittorrent bl blender-game
bmpx buttons c++ carbone_theme cdda cddb cdio cdparanoia cdr cdrom cg chm
chroot clamav clamd clock-screen cpudetection css cvs cvsgraph dedicated
dga dhcp directfb dvd dvdr dvdread editor edl emoticon erandom escreen
ethereal fbsplash ffmpeg firefox flac flash fmod font-server fontconfig
ftp gaim gb gcj gg ggi gimp gimpprint gmail gmailtimestamps gnome-print
gnustep gnutls gphoto2 grammar gs gtalk gtkhtml gtkspell gzip html icq
id3 ieee1394 infopipe irc jabber jad java javascript jce jingle joystick
jpeg2k kipi kqemu lame libcaca libnotify libsamplerate libsexy lj
lm_sensors lua lzo lzw mapeditor maps math maya-shaderlibrary mccp mdb
ming mjpeg mod_irc mono moviepack moviesounds mp4 mp4live mpeg2 mplayer
msn msnextras musepack music musicbrainz mythtv nautilus net netbeans
network new-login nvidia nvtv openexr oscar php povray real rtc
samba sametime screen sounds soundtouch startup-notification stream
submenu subp subtitles subversion svg teamarena themes theora thesaurus
thumbnail tidy toolbar transcode unzip v4l2 vcd vcdimager vdr videos
vidix vnc voice webservices win32codecs wma wmf wordperfect wv x264 xanim
xatrix xcomposite xinerama xpm xscreensaver xvid xvmc yahoo yv12 zeroconf
zip -arts -dri gnome gtk hal howl qt kde acpi -apm"
|
Also im using the vanilla kernel and did the custom compile. |
|
Back to top |
|
 |
|