Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] xf86-video-openchrome fails
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
howe81
n00b
n00b


Joined: 15 Jul 2002
Posts: 8
Location: Australia

PostPosted: Tue Mar 30, 2010 4:37 am    Post subject: [SOLVED] xf86-video-openchrome fails Reply with quote

Hi Guys,

x11-drivers/xf86-video-openchrome-0.2.904_p841 fails to compile. Anyone have any ideas?

Code:

$ emerge --info =x11-drivers/xf86-video-openchrome-0.2.904_p841
Portage 2.1.8.3 (default/linux/amd64/10.0/no-multilib, gcc-4.4.3, glibc-2.11-r1, 2.6.33 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.33-x86_64-AMD_Athlon-tm-_64_Processor_3000+-with-gentoo-1.12.13
Timestamp of tree: Mon, 29 Mar 2010 18:25:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.5-r1, 3.1.2-r1
dev-python/pycrypto: 2.1.0_beta1
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.8.1
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.10.3
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"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -finline-functions -ftracer -funroll-loops"
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/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=k8 -O2 -pipe -finline-functions -ftracer -funroll-loops"
DISTDIR="/usr/local/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.netcologne.de/gentoo/ http://gentoo.mirrors.easynews.com/linux/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo http://ftp.heanet.ie/pub/gentoo/"
LANG="en_AU.utf8"
LC_ALL="en_AU.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="en_AU en_GB en_US en"
MAKEOPTS="-j2"
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="/tmp"
PORTDIR="/var/cache/cache/portage"
PORTDIR_OVERLAY="/var/cache/cache/layman/mozilla /var/cache/cache/layman/mozilla /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X aac acpi adns alsa amd64 berkdb bzip2 cairo consolekit cracklib crypt cups custom-cflags custom-cxxflags dbus dri encode exceptions fam firefox flac gif gmp iconv imlib ipv6 jpeg jpeg2k kdehiddenvisibility libnotify lzma lzo mmx mmxext mng mp3 mpeg nls nptl ntplonly ogg opengl pch pic png policykit qt4 readline semantic-desktop spell sse sse2 ssl svg tcpd theora threads tiff truetype unicode vorbis x264 xcomposite xft xv 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="*" 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 autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_AU en_GB en_US en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="via"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Code:

$ emerge -pqv =x11-drivers/xf86-video-openchrome-0.2.904_p841
[ebuild     U ] x11-drivers/xf86-video-openchrome-0.2.904_p841 [0.2.904] USE="dri -debug"


Code:

libtool: link: x86_64-pc-linux-gnu-gcc -shared  .libs/via_3d.o .libs/via_accel.o .libs/via_bandwidth.o .libs/via_ch7xxx.o .libs/via_cursor.o .libs/via_crtc.o .libs/via_dga.o .libs/via_display.o .libs/via_driver.o .libs/via_i2c.o .libs/via_id.o .libs/via_lvds.o .libs/via_memcpy.o .libs/via_memory.o .libs/via_mode.o .libs/via_panel.o .libs/via_shadow.o .libs/via_swov.o .libs/via_timing.o .libs/via_vbe.o .libs/via_vgahw.o .libs/via_video.o .libs/via_vt162x.o .libs/via_dri.o .libs/via_xvmc.o    -march=k8 -Wl,-O1 -Wl,-z -Wl,lazy   -Wl,-soname -Wl,openchrome_drv.so -o .libs/openchrome_drv.so
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: i386 architecture of input file `.libs/via_3d.o' is incompatible with i386:x86-64 output
.libs/via_3d.o: In function `viaInit3DState':
/keeps/gentoo/svn/openchrome/src/via_3d.c:585: undefined reference to `ErrorF'
.libs/via_3d.o: In function `viaSet3DTexture':
/keeps/gentoo/svn/openchrome/src/via_3d.c:188: undefined reference to `ErrorF'
collect2: ld returned 1 exit status
make[3]: *** [openchrome_drv.la] Error 1
make[3]: Leaving directory `/tmp/portage/x11-drivers/xf86-video-openchrome-0.2.904_p841/work/xf86-video-openchrome-0.2.904_p841/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/portage/x11-drivers/xf86-video-openchrome-0.2.904_p841/work/xf86-video-openchrome-0.2.904_p841/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/portage/x11-drivers/xf86-video-openchrome-0.2.904_p841/work/xf86-video-openchrome-0.2.904_p841'
make: *** [all] Error 2
 * ERROR: x11-drivers/xf86-video-openchrome-0.2.904_p841 failed:
 *   emake failed
 *
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 3347:  Called x-modular_src_compile
 *   environment, line 4175:  Called x-modular_src_make
 *   environment, line 4213:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed"


Thanks in advance.
_________________
"To achieve the impossible dream, try going to sleep."

- Joan Klempner -


Last edited by howe81 on Wed Apr 14, 2010 12:30 am; edited 1 time in total
Back to top
View user's profile Send private message
dE_logics
Advocate
Advocate


Joined: 02 Jan 2009
Posts: 2008
Location: $TERM

PostPosted: Tue Mar 30, 2010 8:10 am    Post subject: Reply with quote

I'm myself confused.

The stable xserver doenst compile on my box.

Try the lower/higher versions and file a bug.
_________________
Buy from companies supporting opensource -- IBM, Dell, HP, Hitachi, Google etc...
Disfavor companies supporting only Win -- Logitech, Epson, Adobe, Autodesk, Pioneer, Kingston, WD, Yahoo, MSI, XFX
My blog
Back to top
View user's profile Send private message
howe81
n00b
n00b


Joined: 15 Jul 2002
Posts: 8
Location: Australia

PostPosted: Wed Apr 14, 2010 12:30 am    Post subject: Reply with quote

Fixed now.

See http://bugs.gentoo.org/show_bug.cgi?id=298352 and http://www.openchrome.org/trac/ticket/357
_________________
"To achieve the impossible dream, try going to sleep."

- Joan Klempner -
Back to top
View user's profile Send private message
blietaer
Tux's lil' helper
Tux's lil' helper


Joined: 27 Apr 2006
Posts: 96

PostPosted: Thu May 06, 2010 10:14 am    Post subject: Reply with quote

Did this really solved your problem?
I am still hitting this, without having any solutions proposed in the bugzilla actually working for me...
what was the trick for you?
thanx!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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