Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Another dependency problem: radeon (also?) depends on agp



On Sun, 10 Jul 2016, Paul Goyette wrote:

I've also discovered that if you have a radeon, you also need to have

	agp* at pchb?

configured. Otherwise you get the following errors while compiling radeon_ttm.c

/build/netbsd-local/src/sys/external/bsd/drm2/dist/drm/radeon/radeon_ttm.c: In function 'radeon_ttm_tt_populate': /build/netbsd-local/src/sys/external/bsd/drm2/dist/drm/radeon/radeon_ttm.c:612:24: error: variable 'rdev' set but not used [-Werror=unused-but-set-variable]
 struct radeon_device *rdev;
                       ^
/build/netbsd-local/src/sys/external/bsd/drm2/dist/drm/radeon/radeon_ttm.c: In function 'radeon_ttm_tt_unpopulate': /build/netbsd-local/src/sys/external/bsd/drm2/dist/drm/radeon/radeon_ttm.c:677:24: error: variable 'rdev' set but not used [-Werror=unused-but-set-variable]
 struct radeon_device *rdev;
                       ^
cc1: all warnings being treated as errors

I just committed a fix for this issue.

Still need to investigate the 'vga* at pci? ...' issue more closely.


+------------------+--------------------------+------------------------+
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:      |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd.org |
+------------------+--------------------------+------------------------+


Home | Main Index | Thread Index | Old Index