From owner-freebsd-questions Tue Jun 25 11:21:43 2002 Delivered-To: freebsd-questions@freebsd.org Received: from cerebellum.za.net (cerebellum.za.net [196.34.172.103]) by hub.freebsd.org (Postfix) with ESMTP id 4A62437B401 for ; Tue, 25 Jun 2002 11:20:51 -0700 (PDT) Received: from bert (vic-dial-196-30-239-42.mweb.co.za [196.30.239.42]) by cerebellum.za.net (8.11.6/8.11.3) with SMTP id g5PIJlG23055 for ; Tue, 25 Jun 2002 18:19:56 GMT (envelope-from ian@cerebellum.za.net) From: "Ian Barnes" To: Subject: Getting NV-BSD to work Date: Tue, 25 Jun 2002 20:21:31 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello, I am trying to get Nv-BSD to run, NV-BSD is a graphics driver initiative for Nvidia Graphics Cards, when trying to compile it, i get the errors bellow. The file versions i downloaded are : nv-bsd-090102.tar.gz NVIDIA_kernel-1.0-2960.tar.gz NVIDIA_GLX-1.0-2960.tar.gz Included are the outputs when i type make, my dmesg, and an ls -l of the nv-bsd dir. ********THIS IS THE MAKE************* [root@nicki] ~/nvidia/nv-bsd # make Warning: Object directory not changed from original /root/nvidia/nv-bsd @ -> /usr/src/sys machine -> /usr/src/sys/i386/include perl @/kern/makeops.pl -h @/kern/device_if.m perl @/kern/makeops.pl -h @/kern/bus_if.m perl @/kern/makeops.pl -h @/pci/pci_if.m perl @/kern/vnode_if.pl -h @/kern/vnode_if.src cc -O -pipe -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-protot ypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extens ions -ansi -DKLD_MODULE -nostdinc -I- -I. -I@ -I@/../include -I/usr/include -m preferred-stack-boundary=2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-pro totypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-ext ensions -ansi -D__KERNEL__ -c nv.c nv.c: In function 'nv_map_device': nv.c:72: incompatible types in assignment nv.c:73: warning: format argument is not a pointer (arg 3) nv.c:74: structure has no member named 'regs_u' nv.c:75: incompatible types in assignment nv.c:76: warning: format argument is not a pointer (arg 3) nv.c:77: structure has no member named 'fb_u' nv.c: In function 'nv_int10h_call': nv.c:106: structure has no member named 'regs_u' nv.c: In function 'nv_find_alloc': nv.c:146: warning: label 'done' defined but not used nv.c: At top level: nv.c:202: warning: function declaration isn't a prototype nv.c:207: warning: function declaration isn't a prototype nv.c: In function 'nv_vtop': nv.c:326: warning: pointer of type 'void *' used in subtraction nv.c:333: warning: comparison between pointer and integer nv.c:355: warning: pointer of type 'void *' used in arithmetic nv.c: In function 'nv_attach': nv.c:483: structure has no member named 'reg_physical_address' nv.c:485: structure has no member named 'fb_physical_address' nv.c:488: structure has no member named 'reg_physical_address' nv.c:489: structure has no member named 'fb_physical_address' nv.c:499: structure has no member named 'interrupt_pin' *** Error code 1 Stop in /root/nvidia/nv-bsd. [root@nicki] ~/nvidia/nv-bsd # ***************THIS IS THE DMESG.OUT*************** Copyright (c) 1992-2002 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.6-STABLE #1: Mon Jun 17 12:04:24 SAST 2002 root@:/usr/src/sys/compile/NICKI Timecounter "i8254" frequency 1193182 Hz CPU: Pentium III/Pentium III Xeon/Celeron (501.14-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x673 Stepping = 3 Features=0x383f9ff real memory = 536805376 (524224K bytes) avail memory = 518631424 (506476K bytes) Preloaded elf kernel "kernel" at 0xc039d000. Preloaded elf module "splash_bmp.ko" at 0xc039d09c. Preloaded splash_image_data "/boot/nicki.bmp" at 0xc039d140. Pentium Pro MTRR support enabled md0: Malloc disk npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at 0.0 irq 11 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xf000-0xf00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: at 7.2 irq 10 chip1: port 0x5000-0x500f at device 7.3 on pci0 ed0: port 0xd400-0xd41f irq 11 at device 9.0 on pci0 ed0: address 00:c0:df:f5:38:84, type NE2000 (16 bit) pcm0: port 0xd800-0xd81f irq 5 at device 11.0 on pci0 ahc0: port 0xe000-0xe0ff mem 0xe9000000-0xe9000fff irq 5 at device 13.0 on pci0 aic7860: Ultra Single Channel A, SCSI Id=7, 3/253 SCBs orm0: