[Openchrome-users] Modular x from gentoo, add on svn openchrome

Karl Hiramoto karl
Mon May 1 09:05:42 PDT 2006


Daniel Heemann wrote:
> You can just use one of these ebuilds or adjust them to use a more recent 
> version.
> http://rsync.epios.net/epios/portage/overlay/x11-drivers/xf86-video-openchrome/
> 
> Regards

I just tried this, using gentoo xorg  7.0-r1    kernel 2.6.16.1
and got a compile error:

# emerge -av x11-drivers/xf86-video-openchrome

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] x11-drivers/xf86-video-openchrome-20060306  USE="dri -debug" 0
kB [1]

Total size of downloads: 0 kB
Portage overlays:
 [1] /usr/local/portage

Do you want me to merge these packages? [Yes/No] y
>>> Emerging (1 of 1) x11-drivers/xf86-video-openchrome-20060306 to /
>>> checking ebuild checksums
>>> checking auxfile checksums
>>> checking miscfile checksums
>>> checking distfiles checksums
>>> Unpacking source...
 * Checking for direct rendering capabilities ...
>>> Unpacking xf86-video-openchrome-20060306.tar.bz2 to
/var/tmp/portage/xf86-video-openchrome-20060306/work
 * Running eautoreconf in
'/var/tmp/portage/xf86-video-openchrome-20060306/work/xf86-video-openchrome-20060306'
...
 * Running aclocal ...
                                                        [ ok ]
 * Running libtoolize --copy --force --automake ...
                                                        [ ok ]
 * Running aclocal ...
                                                        [ ok ]
 * Running autoconf ...
                                                        [ ok ]
 * Running autoheader ...
                                                        [ ok ]
 * Running automake --add-missing --copy --foreign ...
                                                        [ ok ]
/usr/portage/eclass/libtool.eclass: line 130: local: `kde-fastinstall': not a
valid identifier
 * Running elibtoolize in: xf86-video-openchrome-20060306
 *   Applying max_cmd_len-1.5.0.patch ...
 *   Applying sed-1.5.6.patch ...
/usr/portage/eclass/libtool.eclass: line 130: local: `kde-fastinstall': not a
valid identifier
>>> Source unpacked.
>>> Compiling source in
/var/tmp/portage/xf86-video-openchrome-20060306/work/xf86-video-openchrome-20060306
...
 * econf: updating xf86-video-openchrome-20060306/config.guess with
/usr/share/gnuconfig/config.guess
 * econf: updating xf86-video-openchrome-20060306/config.sub with
/usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstatedir=/var/lib --prefix=/usr --datadir=/usr/share --enable-dri
--build=i686-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for style of include used by make... GNU
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking dependency style of i686-pc-linux-gnu-gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by i686-pc-linux-gnu-gcc... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether i686-pc-linux-gnu-g++ accepts -g... yes
checking dependency style of i686-pc-linux-gnu-g++... gcc3
checking how to run the C++ preprocessor... i686-pc-linux-gnu-g++ -E
checking for i686-pc-linux-gnu-g77... i686-pc-linux-gnu-g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether i686-pc-linux-gnu-g77 accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from i686-pc-linux-gnu-gcc
object... ok
checking for objdir... .libs
checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar
checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib
checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip
checking for correct ltmain.sh version... yes
checking if i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for i686-pc-linux-gnu-gcc option to produce PIC... -fPIC
checking if i686-pc-linux-gnu-gcc PIC flag -fPIC works... yes
checking if i686-pc-linux-gnu-gcc static flag -static works... yes
checking if i686-pc-linux-gnu-gcc supports -c -o file.o... yes
checking whether the i686-pc-linux-gnu-gcc linker
(/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by i686-pc-linux-gnu-g++... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking whether the i686-pc-linux-gnu-g++ linker
(/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking for i686-pc-linux-gnu-g++ option to produce PIC... -fPIC
checking if i686-pc-linux-gnu-g++ PIC flag -fPIC works... yes
checking if i686-pc-linux-gnu-g++ static flag -static works... yes
checking if i686-pc-linux-gnu-g++ supports -c -o file.o... yes
checking whether the i686-pc-linux-gnu-g++ linker
(/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for i686-pc-linux-gnu-g77 option to produce PIC... -fPIC
checking if i686-pc-linux-gnu-g77 PIC flag -fPIC works... yes
checking if i686-pc-linux-gnu-g77 static flag -static works... yes
checking if i686-pc-linux-gnu-g77 supports -c -o file.o... yes
checking whether the i686-pc-linux-gnu-g77 linker
(/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for i686-pc-linux-gnu-gcc... (cached) i686-pc-linux-gnu-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether i686-pc-linux-gnu-gcc accepts -g... (cached) yes
checking for i686-pc-linux-gnu-gcc option to accept ANSI C... (cached) none needed
checking dependency style of i686-pc-linux-gnu-gcc... (cached) gcc3
checking if RANDR is defined... yes
checking if RENDER is defined... yes
checking if XF86DRI is defined... yes
checking if DPMSExtension is defined... yes
checking if XV is defined... yes
checking for i686-pc-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for XORG... yes
checking for ANSI C header files... (cached) yes
checking for /usr/include/xorg/dri.h... yes
checking for /usr/include/xorg/sarea.h... yes
checking for /usr/include/xorg/dristruct.h... yes
checking whether to include DRI support... yes
checking for DRI... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating unichrome/Makefile
config.status: creating libxvmc/Makefile
config.status: creating man/Makefile
config.status: creating config.h
config.status: executing depfiles commands
make  all-recursive
make[1]: Entering directory
`/var/tmp/portage/xf86-video-openchrome-20060306/work/xf86-video-openchrome-20060306'
Making all in unichrome
make[2]: Entering directory
`/var/tmp/portage/xf86-video-openchrome-20060306/work/xf86-video-openchrome-20060306/unichrome'
if /bin/sh ../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc
-DHAVE_CONFIG_H -I. -I. -I..    -DXFree86Server -DIN_MODULE -DXFree86Module
-DXFree86LOADER -I/usr/include/xorg   -I/usr/include/drm -I/usr/include/X11/dri
  -Os -march=c3-2 -MT via_3d.lo -MD -MP -MF ".deps/via_3d.Tpo" -c -o via_3d.lo
via_3d.c; \
then mv -f ".deps/via_3d.Tpo" ".deps/via_3d.Plo"; else rm -f ".deps/via_3d.Tpo";
exit 1; fi
mkdir .libs
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXFree86Server -DIN_MODULE
-DXFree86Module -DXFree86LOADER -I/usr/include/xorg -I/usr/include/drm
-I/usr/include/X11/dri -Os -march=c3-2 -MT via_3d.lo -MD -MP -MF
.deps/via_3d.Tpo -c via_3d.c  -fPIC -DPIC -o .libs/via_3d.o
if /bin/sh ../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc
-DHAVE_CONFIG_H -I. -I. -I..    -DXFree86Server -DIN_MODULE -DXFree86Module
-DXFree86LOADER -I/usr/include/xorg   -I/usr/include/drm -I/usr/include/X11/dri
  -Os -march=c3-2 -MT via_accel.lo -MD -MP -MF ".deps/via_accel.Tpo" -c -o
via_accel.lo via_accel.c; \
then mv -f ".deps/via_accel.Tpo" ".deps/via_accel.Plo"; else rm -f
".deps/via_accel.Tpo"; exit 1; fi
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXFree86Server -DIN_MODULE
-DXFree86Module -DXFree86LOADER -I/usr/include/xorg -I/usr/include/drm
-I/usr/include/X11/dri -Os -march=c3-2 -MT via_accel.lo -MD -MP -MF
.deps/via_accel.Tpo -c via_accel.c  -fPIC -DPIC -o .libs/via_accel.o
via_accel.c: In function `viaInitExa':
via_accel.c:2090: error: structure has no member named `card'
via_accel.c:2091: error: structure has no member named `card'
via_accel.c:2092: error: structure has no member named `card'
via_accel.c:2093: error: structure has no member named `card'
via_accel.c:2094: error: structure has no member named `card'
via_accel.c:2095: error: structure has no member named `card'
via_accel.c:2096: error: structure has no member named `card'
via_accel.c:2097: error: structure has no member named `card'
via_accel.c:2099: error: structure has no member named `accel'
via_accel.c:2100: error: structure has no member named `accel'
via_accel.c:2101: error: structure has no member named `accel'
via_accel.c:2102: error: structure has no member named `accel'
via_accel.c:2103: error: structure has no member named `accel'
via_accel.c:2104: error: structure has no member named `accel'
via_accel.c:2105: error: structure has no member named `accel'
via_accel.c:2106: error: structure has no member named `accel'
via_accel.c:2114: error: structure has no member named `accel'
via_accel.c:2115: error: structure has no member named `accel'
via_accel.c:2119: error: structure has no member named `accel'
via_accel.c:2123: error: structure has no member named `accel'
via_accel.c:2126: error: structure has no member named `accel'
via_accel.c:2127: error: structure has no member named `accel'
via_accel.c:2128: error: structure has no member named `accel'
via_accel.c:2129: error: structure has no member named `accel'
via_accel.c: In function `viaFinishInitAccel':
via_accel.c:2329: error: structure has no member named `accel'
make[2]: *** [via_accel.lo] Error 1
make[2]: Leaving directory
`/var/tmp/portage/xf86-video-openchrome-20060306/work/xf86-video-openchrome-20060306/unichrome'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/xf86-video-openchrome-20060306/work/xf86-video-openchrome-20060306'
make: *** [all] Error 2

!!! ERROR: x11-drivers/xf86-video-openchrome-20060306 failed.
Call stack:
  ebuild.sh, line 1525:   Called dyn_compile
  ebuild.sh, line 928:   Called src_compile
  ebuild.sh, line 1237:   Called x-modular_src_compile
  x-modular.eclass, line 320:   Called x-modular_src_make
  x-modular.eclass, line 315:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if
relevant.





-- 

---
Karl Hiramoto <karl at hiramoto.org>  http://karl.hiramoto.org/
US VOIP: (1) 603.966.4448
Spain Casa  (34) 951.273.347
Spain Mobil (34) 617.463.826
Yahoo_IM = karl_hiramoto  GTalk=karl.hiramoto at gmail.com
------
-
"Life is like a buffet; it's not good but there's plenty of it."



More information about the Openchrome-users mailing list