noname_oz at pochta.ru
2010-Oct-05 05:38 UTC
[Nouveau] Trouble with building xf86-video-nouveau
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 -------------- [32;01m * [39;49;00mPackage: x11-drivers/xf86-video-nouveau-9999 [32;01m * [39;49;00mRepository: x11 [32;01m * [39;49;00mMaintainer: x11 at gentoo.org [32;01m * [39;49;00mUSE: amd64 elibc_glibc kernel_linux multilib userland_GNU [32;01m* Determining the location of the kernel source code [32;01m* Found kernel source directory: [32;01m* /usr/src/linux [32;01m* Found kernel object directory: [32;01m* /lib/modules/2.6.35-zen2/build [32;01m* Found sources for kernel version: [32;01m* 2.6.35-zen2>>> Unpacking source...[32;01m* GIT update --> [32;01m* repository: git://anongit.freedesktop.org/git/nouveau/xf86-video-nouveau [32;01m* at the commit: 9a5142fae6e1a0a470352f511427916e6fa01b9c [32;01m* branch: master [32;01m* 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 ...[32;01m* Running eautoreconf in '/var/tmp/portage/x11-drivers/xf86-video-nouveau-9999/work/xf86-video-nouveau-9999' ... [32;01m* Running aclocal ... [A[152C [34;01m[ [32;01mok[34;01m ] [32;01m* Running libtoolize --copy --force --install --automake ... [A[152C [34;01m[ [32;01mok[34;01m ] [32;01m* Running aclocal ... [A[152C [34;01m[ [32;01mok[34;01m ] [32;01m* Running autoconf ... [A[152C [34;01m[ [32;01mok[34;01m ] [32;01m* Running autoheader ... [A[152C [34;01m[ [32;01mok[34;01m ] [32;01m* Running automake --add-missing --copy --foreign ... [A[152C [34;01m[ [32;01mok[34;01m ] [32;01m* Running elibtoolize in: xf86-video-nouveau-9999/ [32;01m* Applying portage-2.2.patch ... [32;01m* Applying sed-1.5.6.patch ... [32;01m* 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 [31;01m* ERROR: x11-drivers/xf86-video-nouveau-9999 failed: [31;01m* died running emake, base_src_make [31;01m* [31;01m* Call stack: [31;01m* ebuild.sh, line 56: Called src_compile [31;01m* environment, line 4374: Called xorg-2_src_compile [31;01m* environment, line 5297: Called base_src_compile [31;01m* environment, line 646: Called base_src_make [31;01m* environment, line 684: Called die [31;01m* The specific snippet of code: [31;01m* emake "$@" || die "died running emake, $FUNCNAME"; [31;01m* [31;01m* If you need support, post the output of 'emerge --info =x11-drivers/xf86-video-nouveau-9999', [31;01m* the complete build log and the output of 'emerge -pqv =x11-drivers/xf86-video-nouveau-9999'. [31;01m* This ebuild used the following eclasses from overlays: [31;01m* /var/lib/layman/x11/eclass/xorg-2.eclass [31;01m* This ebuild is from an overlay named 'x11': '/var/lib/layman/x11/' [31;01m* The complete build log is located at '/var/tmp/portage/x11-drivers/xf86-video-nouveau-9999/temp/build.log'. [31;01m* The ebuild environment file is located at '/var/tmp/portage/x11-drivers/xf86-video-nouveau-9999/temp/environment'. [31;01m* S: '/var/tmp/portage/x11-drivers/xf86-video-nouveau-9999/work/xf86-video-nouveau-9999'
On 10/04/2010 10:38 PM, noname_oz at pochta.ru wrote:> 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 namedpixmapPrivateTwo wild guesses. Do you have the proprietary nvidia-drivers package installed? If so, run 'eselect opengl list' to find out which version you are using. Try switching to the xorg-x11 version. The *-9999 package just pulls from the git repository and build whatever code happens to be there at the time. Try re-installing the package again to get any commits you may have missed the first time.