Hello I compiled the package DRM\linux-core and got the following error on 2 different machines. Please fix: drm/linux-core/drm_sysfs.c:32 error: parse error before "pm_message_t" warning function declaration isn't a prototype In function 'drm_sysfs_suspend': error: 'dev' undeclared (first use in this function) error: (Each undeclared identifier is reported only once error: for each function it appears in.)
What version of the kernel are you building against? Sounds like it might not have "struct device" available somehow?
I am using the SUSE SLES 9 SP3 kernel 2.6.5-7.244-smp kernel.
That kernel is too old to reasonably build DRM against. Try a more recent kernel, like 2.6.9+. Unless you want to fix the problem yourself and check it in that is :)
Can you tell me where is this "struct device" defined in which rpm package, library and/or header?
It's in the kernel, in include/linux/device.h.
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.