Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] mplayer altivec
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
echo6
Guru
Guru


Joined: 04 Jan 2003
Posts: 587

PostPosted: Thu Jan 12, 2006 9:07 pm    Post subject: [SOLVED] mplayer altivec Reply with quote

Code:
In file included from dsputil.h:481,
                 from utils.c:28:
/usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.4/include/altivec.h:36:2: #error Use the "-maltivec" flag to enable PowerPC AltiVec support

make[1]: *** [utils.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/mplayer-1.0_pre7-r1/work/MPlayer-1.0pre7try2/libavcodec'
make: *** [libavcodec/libavcodec.a] Error 2

!!! ERROR: media-video/mplayer-1.0_pre7-r1 failed.
!!! Function src_compile, Line 486, Exitcode 2
!!! Failed to build MPlayer!
!!! If you need support, post the topmost build error, NOT this status message.


I'm unable to emerge mplayer, now my make.conf USE variable includes support for atlivec, but despite this I'm getting the above error!


Last edited by echo6 on Sat Jan 14, 2006 10:42 am; edited 1 time in total
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Thu Jan 12, 2006 9:18 pm    Post subject: Reply with quote

Please paste the output of emerge info.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
echo6
Guru
Guru


Joined: 04 Jan 2003
Posts: 587

PostPosted: Thu Jan 12, 2006 10:46 pm    Post subject: Reply with quote

Code:
Portage 2.0.53 (default-linux/ppc/2005.1/ppc, gcc-3.4.4, glibc-2.3.4.20041102-r1, 2.6.14-gentoo-r2 ppc)
=================================================================
System uname: 2.6.14-gentoo-r2 ppc 7447A, altivec supported
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.90.0.3-r5
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mtune=powerpc -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mtune=powerpc -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc X a52 aac aalib acl activefilter aim alsa altivec amd ansi ao aotuv apm applet arts artswrappersuid audiofile berkdb bitmap-fonts bluetooth bmp bootsplash bzip2 c++ calendar cap caps ccache cdda cddb cdparanoia cdr cdrom chroot clamav clamd commercial courier cpudetection crosscompile crypt css ctype cups curl curlwrappers custom-cflags devfs26 dhcp directfb divx4linux dmx dv dvb dvd dvdread dvi edirectory eds emboss encode escreen esd ethereal etwin evo exif expat fam fat fax fbcon fbdev fbsplash ffmpeg flac flash floppyboot floppyd fltk font-server foomaticdb fortran freetype ftp gatos gd gdbm gif gimp gimpprint gkrellm glibc glut gmp gnome gnome-print gphoto2 gpm gs gstreamer gtk gtk2 gzip hal hfs hpn http httpd icecast icq id3 idea idn ieee1394 imagemagick imap imlib immqt inetd ipv6 irc jabber jfs jp2 jpeg jpeg2k kcal kde kdepim kdgraphics kerberos keyscrub kig-scripting krb4 lame lcms ldap lesstif libclamav libdsk libwww lids logitech-mouse logmail logrotate logwatch mad mailbox maildir mailwrapper mbox mcal md5sum memlimit menubar messages mew mgetty mhash milter mime mimencode ming mjpeg mng mod_irc mod_muc mono motif mozcalendar mozilla moznomail mozsvg mozxmlterm mp3 mp4live mpeg mpeg2 mpeg4 mplayer mppe-mppc msn mysql nas ncurses netboot new-login nfs nls oav ogg oggvorbis oldworld on-the-fly-crypt openal openexr opengl openssl oss pam pam_chroot pam_console pam_timestamp pango pascal passfile password pcre pda pdf pdfkit pdflib perl php png pnp portaudio posix ppcsha1 python qemu-fast qt quicktime quotas radius rdesktop readline reiserfs rpc rplay rpm rss rtc samba sblive screen sdl sendmail smartcard smime sms sndfile snmp sockets socks5 source sox speech speedo spell ssl stream svg svgz symlink sysfs syslog sysvipc szip tcltk tcpd tcpmd5 tga theora threads thumbnail tiff tos transcode truetype truetype-fonts type1 type1-fonts udev udpfromto uim unicode usb utf8 uudeview v4l v4l2 vcd vcdimager vidix virus-scan vnc vorbis wifi wmf wxgtk1 wxwindows x11vnc xfs xine xinerama xml xml2 xmms xpm xscreensaver xv xvid yahoo zlib zvbi userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Thu Jan 12, 2006 10:51 pm    Post subject: Reply with quote

You don't have altivec support in your CFLAGS. (Nor G4 support either).

Try using this instead:
Code:
CFLAGS="-O2 -mtune=G4 -mcpu=G4 -mabi=altivec -maltivec -pipe"

_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml


Last edited by JoseJX on Sat Jan 14, 2006 8:23 pm; edited 1 time in total
Back to top
View user's profile Send private message
echo6
Guru
Guru


Joined: 04 Jan 2003
Posts: 587

PostPosted: Sat Jan 14, 2006 10:42 am    Post subject: Reply with quote

Yep, thanks :-)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum