Bug 23057

Summary: Nouveau/DRM from unamed reposiory failing to build
Product: xorg Reporter: Steven Ward <STEVENWARD666>
Component: Driver/nouveauAssignee: Nouveau Project <nouveau>
Status: RESOLVED NOTABUG QA Contact: Xorg Project Team <xorg-team>
Severity: major    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Steven Ward 2009-07-31 03:41:55 UTC
Hi to all,
         I'm currently running fedora Rawhide.I've just had a MASSIVE load of updates using yum and my latest kernel is now 2.6.31.107.rc4.

I slao compile D.R.M,Mesa,the Nouveau/D.R.M modules from the unnamed repository,and the xf86-video-nouveau driver from the git repositories.

I re-booted into the latest kernel and git pulled on mesa and the unnamed repository.I then went into the /linux-2.6/nouvau folder using Konsole to re-build the modules for the kernel.

As it was doing that,I came up with this error:

root@mernivia nouveau]# make
make -C /lib/modules/2.6.31-0.107.rc4.git3.fc12.i686.PAE/source KCPPFLAGS="-I/opt/linux-2.6/include/drm" SUBDIRS="/opt/linux-2.6/drivers/gpu/drm" CONFIG_DRM=m CONFIG_DRM_TTM=m CONFIG_DRM_NOUVEAU=m CONFIG_DRM_NOUVEAU_KMS=m 'EXTRA_CFLAGS=-D"GIT_REVISION=\"29af57c65904deced\""' modules
make[1]: Entering directory `/usr/src/kernels/2.6.31-0.107.rc4.git3.fc12.i686.PAE'
Makefile:580: "WARNING: Appending $KCPPFLAGS (-I/opt/linux-2.6/include/drm) from command line to kernel $CPPFLAGS"
  CC [M]  /opt/linux-2.6/drivers/gpu/drm/radeon/atombios_crtc.o
/opt/linux-2.6/drivers/gpu/drm/radeon/atombios_crtc.c: In function ‘atombios_crtc_set_base’:
/opt/linux-2.6/drivers/gpu/drm/radeon/atombios_crtc.c:495: error: ‘RADEON_TILING_MACRO’ undeclared (first use in this function)
/opt/linux-2.6/drivers/gpu/drm/radeon/atombios_crtc.c:495: error: (Each undeclared identifier is reported only once
/opt/linux-2.6/drivers/gpu/drm/radeon/atombios_crtc.c:495: error: for each function it appears in.)
/opt/linux-2.6/drivers/gpu/drm/radeon/atombios_crtc.c:498: error: ‘RADEON_TILING_MICRO’ undeclared (first use in this function)
make[3]: *** [/opt/linux-2.6/drivers/gpu/drm/radeon/atombios_crtc.o] Error 1
make[2]: *** [/opt/linux-2.6/drivers/gpu/drm/radeon] Error 2
make[1]: *** [_module_/opt/linux-2.6/drivers/gpu/drm] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.31-0.107.rc4.git3.fc12.i686.PAE'
make: *** [modules] Error 2

I hope it can be fixed.I have some other info on another matter with nouveau which I'll post in another thread.

Regards,
       STEVE555
Comment 1 Pekka Paalanen 2009-07-31 04:02:04 UTC
Looks like your nouveau/Makefile is out of date. The latest version explicitly disables building of all other drivers than Nouveau.

The nouveau/linux-2.6 git is meant only for building Nouveau, other drivers may be broken and we don't care.
Comment 2 Steven Ward 2009-07-31 05:33:46 UTC
Hi there,
        Thank you very much for the info.I deleted my old Makefile and replaced it with the new one using git and that did the trick.I had no idea that it had been updated recently.

Reagrds,
       STEVE555
Comment 3 Pekka Paalanen 2009-07-31 05:36:28 UTC
So let's close this bug.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.