[Nouveau] Trouble with building xf86-video-nouveau

noname_oz at pochta.ru noname_oz at pochta.ru
Mon Oct 4 22:38:54 PDT 2010


I have problem with building nouveau driver. I already have installed latest versions of mesa and libdrm. In process of building i have this error:

drmmode_display.c: In function drmmode_xf86crtc_resize:
drmmode_display.c:1076: error: struct _ScrnInfoRec has no member namedpixmapPrivate

 

My system is gentoo. xf86-driver-nouveau from git

repository:   git://anongit.freedesktop.org/git/nouveau/xf86-video-nouveau
at the commit:   9a5142fae6e1a0a470352f511427916e6fa01b9c 

 

See the full log in attachment.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20101005/75692a5a/attachment.html>
-------------- next part --------------
 * Package:    x11-drivers/xf86-video-nouveau-9999
 * Repository: x11
 * Maintainer: x11 at gentoo.org
 * USE:  amd64 elibc_glibc kernel_linux multilib userland_GNU
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/2.6.35-zen2/build
 * Found sources for kernel version:
 *     2.6.35-zen2
>>> Unpacking source...
 * GIT update -->
 *    repository: 		git://anongit.freedesktop.org/git/nouveau/xf86-video-nouveau
 *    at the commit: 		9a5142fae6e1a0a470352f511427916e6fa01b9c
 *    branch: 			master
 *    storage directory: 	"/usr/portage/distfiles/git-src/xf86-video-nouveau"
Cloning into /var/tmp/portage/x11-drivers/xf86-video-nouveau-9999/work/xf86-video-nouveau-9999...
done.
>>> Unpacked to /var/tmp/portage/x11-drivers/xf86-video-nouveau-9999/work/xf86-video-nouveau-9999
>>> Source unpacked in /var/tmp/portage/x11-drivers/xf86-video-nouveau-9999/work
>>> Preparing source in /var/tmp/portage/x11-drivers/xf86-video-nouveau-9999/work/xf86-video-nouveau-9999 ...
 * Running eautoreconf in '/var/tmp/portage/x11-drivers/xf86-video-nouveau-9999/work/xf86-video-nouveau-9999' ...
 * Running aclocal ...
 [ ok ]
 * Running libtoolize --copy --force --install --automake ...
 [ ok ]
 * Running aclocal ...
 [ ok ]
 * Running autoconf ...
 [ ok ]
 * Running autoheader ...
 [ ok ]
 * Running automake --add-missing --copy --foreign ...
 [ ok ]
 * Running elibtoolize in: xf86-video-nouveau-9999/
 *   Applying portage-2.2.patch ...
 *   Applying sed-1.5.6.patch ...
 *   Applying as-needed-2.2.6.patch ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/x11-drivers/xf86-video-nouveau-9999/work/xf86-video-nouveau-9999 ...
 * econf: updating xf86-video-nouveau-9999/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating xf86-video-nouveau-9999/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for style of include used by make... GNU
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r
checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking command to parse /usr/bin/nm -B output from x86_64-pc-linux-gnu-gcc object... ok
checking how to run the C preprocessor... x86_64-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 for dlfcn.h... yes
checking for objdir... .libs
checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) 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
checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed
checking dependency style of x86_64-pc-linux-gnu-gcc... (cached) gcc3
checking for x86_64-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 if RANDR is defined... yes
checking if RENDER is defined... yes
checking if XV is defined... yes
checking if DPMSExtension is defined... yes
checking for LIBDRM_NOUVEAU... yes
checking for XORG... yes
checking for XEXT... yes
checking for PCIACCESS... yes
checking for LIBUDEV... yes
checking for ANSI C header files... (cached) yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating man/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
>>> Source configured.
>>> Compiling source in /var/tmp/portage/x11-drivers/xf86-video-nouveau-9999/work/xf86-video-nouveau-9999 ...
make -j2 -s 
Making all in src
  CC     nouveau_exa.lo
  CC     nouveau_xv.lo
  CC     nouveau_dri2.lo
  CC     nouveau_wfb.lo
  CC     nv_accel_common.lo
  CC     nv_dma.lo
  CC     nv_driver.lo
  CC     nv_shadow.lo
  CC     nv04_exa.lo
  CC     nv04_xv_ovl.lo
  CC     nv04_xv_blit.lo
  CC     nv10_exa.lo
  CC     nv10_xv_ovl.lo
  CC     nv30_shaders.lo
  CC     nv30_exa.lo
  CC     nv30_xv_tex.lo
  CC     nv40_exa.lo
  CC     nv40_xv_tex.lo
  CC     nv50_accel.lo
  CC     nv50_exa.lo
  CC     nv50_xv.lo
  CC     drmmode_display.lo
  CC     vl_hwmc.lo
drmmode_display.c: In function Б─≤drmmode_xf86crtc_resizeБ─≥:
drmmode_display.c:1076: error: Б─≤struct _ScrnInfoRecБ─≥ has no member named Б─≤pixmapPrivateБ─≥
make[2]: *** [drmmode_display.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
emake failed
 * ERROR: x11-drivers/xf86-video-nouveau-9999 failed:
 *   died running emake, base_src_make
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 4374:  Called xorg-2_src_compile
 *   environment, line 5297:  Called base_src_compile
 *   environment, line  646:  Called base_src_make
 *   environment, line  684:  Called die
 * The specific snippet of code:
 *           emake "$@" || die "died running emake, $FUNCNAME";
 * 
 * If you need support, post the output of 'emerge --info =x11-drivers/xf86-video-nouveau-9999',
 * the complete build log and the output of 'emerge -pqv =x11-drivers/xf86-video-nouveau-9999'.
 * This ebuild used the following eclasses from overlays:
 *   /var/lib/layman/x11/eclass/xorg-2.eclass
 * This ebuild is from an overlay named 'x11': '/var/lib/layman/x11/'
 * The complete build log is located at '/var/tmp/portage/x11-drivers/xf86-video-nouveau-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-drivers/xf86-video-nouveau-9999/temp/environment'.
 * S: '/var/tmp/portage/x11-drivers/xf86-video-nouveau-9999/work/xf86-video-nouveau-9999'


More information about the Nouveau mailing list