看板 DFBSD_bugs 關於我們 聯絡資訊
Joe Love wrote: > make: don't know how to make vnode_if.h. Stop > *** Error code 2 > > Stop in /usr/dfports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-6113. > *** Error code 1 > > Stop in /usr/dfports/x11/nvidia-driver. > # > > If anyone knows how to get through this, the help would be appreciated. Try disabling linux support (a #define in nv-dragonflybsd.h) ... I'm not 100% sure that this will fix the newer version 6 of the driver, but it did allow me to compile version 4 of the driver. Btw, if you have an nvidia motherboard, you might also want to tweak the probe code in nvidia_pci.c to only try attaching _your_ video card - in my experience the driver is too aggressive in attempting to attach nvidia pci devices other than graphics card. You'll want to do something like - === root@atrens-boistault (/dev/ttypa) /usr/home/atrens 1 -> pciconf -lv .... nvidia0@pci3:0:0: class=0x030000 card=0x87021462 chip=0x025310de rev=0xa3 hdr=0x00 vendor = 'NVIDIA Corporation' device = 'GeForce4 Ti 4200 [NV25.4]' class = display subclass = VGA From this, my 'card id' is 0x0253. in nvidia_pci.c you'll want to change - if (vendor != NVIDIA_VENDORID || device < 0x0020) return ENXIO; to if (vendor != NVIDIA_VENDORID || device != 0x0253) return ENXIO; Admittedly this is a hack, but I haven't come up with anything better just yet :) :) ... Andrew.