Quoth Adam K Kirchhoff:
>
>Hey guys,
>
>       I got the server to build, but when I go to build the drm module,
>I'm getting further errors:
>
>[ root@sorrow - /home/adamk/dri/xc/xc/programs/Xserver/hw/xfree86/os-support/bsd/drm
>/kernel/radeon ]: make
>cc -O2  -I. -I.. -ffreestanding   -Werror  -nostdinc -I. -I/home/adamk/dri/xc/xc/pro
>grams/Xserver/hw/xfree86/os-support/bsd/drm/kernel/radeon -isystem /sys -isystem /sy
>s/arch -D_KERNEL -D_LKM  -c /home/adamk/dri/xc/xc/programs/Xserver/hw/xfree86/os-sup
>port/bsd/drm/kernel/radeon/../radeon_cp.c
>In file included from
>/home/adamk/dri/xc/xc/programs/Xserver/hw/xfree86/os-support/bsd/drm/kernel/radeon/.
>./drm_os_netbsd.h:33,
>                 from
>/home/adamk/dri/xc/xc/programs/Xserver/hw/xfree86/os-support/bsd/drm/kernel/radeon/.
>./drmP.h:75,
>                 from
>/home/adamk/dri/xc/xc/programs/Xserver/hw/xfree86/os-support/bsd/drm/kernel/radeon/.
>./radeon_cp.c:32:
>/sys/dev/pci/pcivar.h:146: locators.h: No such file or directory
>In file included from
>/home/adamk/dri/xc/xc/programs/Xserver/hw/xfree86/os-support/bsd/drm/kernel/radeon/.
>./drmP.h:75,
>                 from
>/home/adamk/dri/xc/xc/programs/Xserver/hw/xfree86/os-support/bsd/drm/kernel/radeon/.
>./radeon_cp.c:32:
>/home/adamk/dri/xc/xc/programs/Xserver/hw/xfree86/os-support/bsd/drm/kernel/radeon/.
>./drm_os_netbsd.h:45:
>opt_drm.h: No such file or directory
>*** Error code 1
>
>Stop.
>
>So close, and yet so far :-)

Right.  locators.h is generated by config(8), which is not used by lkms.
I wasn't sure what the 'right way' to fix this was, and keep forgetting to ask
a smart NetBSD person.  touching locators.h in
xc/programs/Xserver/hw/xfree86/os-support/bsd/drm/kernel works for the moment.

touching opt_drm.h in that directory will also make the build continue,
though not quite 'right'. :)

(opt_drm.h just defines DRM_DEBUG and DRM_LINUX options, neither of which you
want at the moment, most likely.  DRM_LINUX doesn't work on netbsd yet,
and DRM_DEBUG will slow everything down significantly, though if things don't
work, you'll want it.  See {mga,radeon,r128}/Makefile :)



-------------------------------------------------------
This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your  SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to