[mythtv-users] compile error - amd 64/gcc 3.4 support?

Chris Germano netslayer at hotmail.com
Fri Jul 16 16:34:46 EDT 2004


I don't have anything like what your talking about aka i686. I'm using 
gentoo 2004 - 64 edition, and every single thing has been able to compile so 
far for me perfectly except for mythtv so i don't know what is causing this.

/etc/make.conf (all of it)
CFLAGS="-O2 -march=k8 -pipe -fomit-frame-pointer -fforce-addr"

CHOST="x86_64-pc-linux-gnu"

CXXFLAGS="${CFLAGS}"

USE="sse 3dnow mozilla offensive kde -gnome xvid arts xinerama distcc X 
-gtk2 oss alsa via qt mysql nfs directfb dvd jpeg png ogg mp3 samba xml php 
mod_php java cups perl foomaticdb ppds"

MAKEOPTS="-j2"

GENTOO_MIRRORS="http://gentoo.binarycompass.org http://128.213.5.34/gentoo/ 
http://gentoo.ccccom.com ftp://gentoo.ccccom.com"

ACCEPT_KEYWORDS="~amd64"

ALSA_CARDS="via82xx usb-audio"

PKGDIR="/usr/portage/packages"

PORTDIR="/usr/portage"


This doesn't work either:
root at mach64 mythtv # ./configure --extra-cflags="-march=k8"
Please note that these settings only deal with libavcodec, not MythTV.
CPU              unknown
Big Endian       no
Creating config.mak and config.h
config.h is unchanged


root at mach64 mythtv # cat config.mak
# Automatically generated by configure - do not modify
OPTFLAGS=-Wall -march=k8 -g -O3
TARGET_OS=Linux
HAVE_IMLIB2=yes
HAVE_FREETYPE2=yes

CONFIG_ENCODERS=yes
CONFIG_DECODERS=yes
CONFIG_AC3=yes
CONFIG_PP=yes
CONFIG_VIDEO4LINUX=yes
CONFIG_AUDIO_OSS=yes
CONFIG_NETWORK=yes
CONFIG_ZLIB=yes
CONFIG_RISKY=yes
SRC_PATH=/home/chris/mythtv-15/mythtv

and same error:
cd libmyth && make -f Makefile
make[2]: Entering directory `/home/chris/mythtv-15/mythtv/libs/libmyth'
g++ -c -pipe -Wall -W -O3 -march=pentiumpro -fomit-frame-pointer 
-D_REENTRANT -fPIC  -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 
-DPREFIX=\"/usr/local\" -DMMX -DUSING_IVTV -DLCD_DEVICE -DUSING_OSS 
-DUSE_ALSA -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ 
-I. -I/usr/local/include -I/usr/qt/3/include -o dialogbox.o dialogbox.cpp
dialogbox.cpp:1: error: CPU you selected does not support x86-64 instruction 
set
dialogbox.cpp:1: error: CPU you selected does not support x86-64 instruction 
set
make[2]: *** [dialogbox.o] Error 1
make[2]: Leaving directory `/home/chris/mythtv-15/mythtv/libs/libmyth'
make[1]: *** [sub-libmyth] Error 2
make[1]: Leaving directory `/home/chris/mythtv-15/mythtv/libs'
make: *** [sub-libs] Error 2

and my 64 system is all built using 64bit executables:
root at mach64 mythtv # file /sbin/ifconfig
/sbin/ifconfig: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for 
GNU/Linux 2.4.0, dynamically linked (uses shared libs), stripped

root at mach64 mythtv # uname -a
Linux mach64 2.6.7-gentoo-r10 #5 Tue Jul 13 00:07:35 PDT 2004 x86_64 4  
GNU/Linux




More information about the mythtv-users mailing list