Jump to content

digby

Members
  • Posts

    28
  • Joined

  • Last visited

Everything posted by digby

  1. alright... this time a started gnome up so that I could just copy and paste the output rather than take just what it put in to the txt file. It ran about seven pages and was littered with errors. I don't understand what they mean, but I have a guess. It says something about adjusting a makefile accordingly, and if my reading has served me, that is used when complilng. If I remember correctly from reading otherstuff, I need to have my kernel sources on disk and they are not included with the download edition of Mandrake. Do I just need to download the kernel source? If so, where can I get it, and where do I put it. For reference, here is the entire text output from the rpm --rebuild NVIDIA..... command. (And I did download the new version, thanks!) [root@localhost matt]# rpm --rebuild NVIDIA_nforce-1.0-0261.src.rpm Installing NVIDIA_nforce-1.0-0261.src.rpm warning: user buildmeister does not exist - using root warning: user buildmeister does not exist - using root warning: user buildmeister does not exist - using root warning: user buildmeister does not exist - using root warning: user buildmeister does not exist - using root Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.93041 + umask 022 + cd /usr/src/RPM/BUILD + echo '---- Copying Sources ----' ---- Copying Sources ---- + cd /usr/src/RPM/BUILD + rm -rf nforce + /usr/bin/gzip -dc /usr/src/RPM/SOURCES/nvnet.tgz + tar -xvvf - drwxr-xr-x buildmeister/adm 0 2003-05-06 15:36:14 nforce/ drwxr-xr-x buildmeister/adm 0 2003-05-06 15:39:37 nforce/nvnet/ -r--r--r-- buildmeister/adm 16904 2003-05-06 15:39:37 nforce/nvnet/adapter.h -r--r--r-- buildmeister/adm 794 2003-05-06 15:39:37 nforce/nvnet/basetype.h -r--r--r-- buildmeister/adm 6752 2003-05-06 15:39:37 nforce/nvnet/nvnet.h -r--r--r-- buildmeister/adm 4437 2003-05-06 15:39:37 nforce/nvnet/os.h -r--r--r-- buildmeister/adm 4749 2003-05-06 15:39:37 nforce/nvnet/phy.h -r--r--r-- buildmeister/adm 37870 2003-05-06 15:39:37 nforce/nvnet/nvnet.c -rw-r--r-- buildmeister/adm 21504 2003-05-06 15:39:37 nforce/nvnet/nvnetlib.o -r--r--r-- buildmeister/adm 3088 2003-05-06 15:39:37 nforce/nvnet/Makefile + STATUS=0 + '[' 0 -ne 0 ']' + cd nforce + cd /usr/src/RPM/BUILD + /usr/bin/gzip -dc /usr/src/RPM/SOURCES/nvaudio.tgz + tar -xvvf - drwxr-xr-x buildmeister/adm 0 2003-05-06 15:39:38 nforce/ drwxr-xr-x buildmeister/adm 0 2003-05-06 15:39:38 nforce/nvaudio/ -r--r--r-- buildmeister/adm 2522 2003-05-06 15:39:38 nforce/nvaudio/Makefile -r--r--r-- buildmeister/adm 58241 2003-05-06 15:39:38 nforce/nvaudio/nvcrush.c -r--r--r-- buildmeister/adm 32174 2003-05-06 15:39:38 nforce/nvaudio/nvhw.c -r--r--r-- buildmeister/adm 33857 2003-05-06 15:39:38 nforce/nvaudio/nvmain.c -r--r--r-- buildmeister/adm 8314 2003-05-06 15:39:38 nforce/nvaudio/nvrec.c -r--r--r-- buildmeister/adm 26382 2003-05-06 15:39:38 nforce/nvaudio/nvspdif.c -r--r--r-- buildmeister/adm 14709 2003-05-06 15:39:38 nforce/nvaudio/nvwavout.c -r--r--r-- buildmeister/adm 4546 2003-05-06 15:39:38 nforce/nvaudio/chaninfo.h -r--r--r-- buildmeister/adm 5065 2003-05-06 15:39:38 nforce/nvaudio/nvhw.h -r--r--r-- buildmeister/adm 1570 2003-05-06 15:39:38 nforce/nvaudio/nvioctl.h -r--r--r-- buildmeister/adm 1392 2003-05-06 15:39:38 nforce/nvaudio/nvrec.h -r--r--r-- buildmeister/adm 1618 2003-05-06 15:39:38 nforce/nvaudio/nvspdif.h -r--r--r-- buildmeister/adm 1499 2003-05-06 15:39:38 nforce/nvaudio/nvwavout.h + STATUS=0 + '[' 0 -ne 0 ']' + cd nforce + cd /usr/src/RPM/BUILD + /usr/bin/gzip -dc /usr/src/RPM/SOURCES/nvmaster.tgz + tar -xvvf - drwxr-xr-x buildmeister/adm 0 2003-05-06 15:39:36 nforce/ -r--r--r-- buildmeister/adm 1091 2003-05-06 15:39:36 nforce/Makefile -r--r--r-- buildmeister/adm 5404 2003-05-06 15:39:36 nforce/NVLicense.txt -r--r--r-- buildmeister/adm 18007 2003-05-06 15:39:36 nforce/GNULicense.txt -r--r--r-- buildmeister/adm 23612 2003-05-06 15:39:36 nforce/ReleaseNotes.html + STATUS=0 + '[' 0 -ne 0 ']' + cd nforce + cd /usr/src/RPM/BUILD + /usr/bin/gzip -dc /usr/src/RPM/SOURCES/nvgart.tgz + tar -xvvf - drwxr-xr-x buildmeister/adm 0 2003-05-06 15:39:38 nforce/ drwxr-xr-x buildmeister/adm 0 2003-05-06 15:39:38 nforce/nvgart/ -r--r--r-- buildmeister/adm 590 2003-05-06 15:39:38 nforce/nvgart/Makefile -r--r--r-- buildmeister/adm 1231 2003-05-06 15:39:38 nforce/nvgart/README -r--r--r-- buildmeister/adm 14033 2003-05-06 15:39:38 nforce/nvgart/linux-2.4.20-agpgart.diff + STATUS=0 + '[' 0 -ne 0 ']' + cd nforce + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.93041 + umask 022 + cd /usr/src/RPM/BUILD + cd nforce + echo '---- Building Drivers ----' ---- Building Drivers ---- + make make -C nvnet make[1]: Entering directory `/usr/src/RPM/BUILD/nforce/nvnet' cc -c -Wall -DLINUX -DMODULE -DEXPORT_SYMTAB -D__KERNEL__ -O -Wstrict-prototypes -DCONFIG_PM -fno-strict-aliasing -mpreferred-stack-boundary=2 -march=i686 -falign-functions=4 -DMODULE -I/usr/src/linux-2.4.22/include nvnet.c In file included from /usr/include/linux/prefetch.h:13, from /usr/include/linux/list.h:6, from /usr/include/linux/module.h:11, from nvnet.h:20, from nvnet.c:21: /usr/include/asm/processor.h:55: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function) /usr/include/asm/processor.h:55: error: requested alignment is not a constant In file included from /usr/include/linux/module.h:20, from nvnet.h:20, from nvnet.c:21: /usr/include/linux/modversions.h:1:2: #error "=======================================================" /usr/include/linux/modversions.h:2:2: #error "You should not include /usr/include/{linux,asm}/ header" /usr/include/linux/modversions.h:3:2: #error "files directly for the compilation of kernel modules." /usr/include/linux/modversions.h:4:2: #error "" /usr/include/linux/modversions.h:5:2: #error "glibc now uses kernel header files from a well-defined" /usr/include/linux/modversions.h:6:2: #error "working kernel version (as recommended by Linus Torvalds)" /usr/include/linux/modversions.h:7:2: #error "These files are glibc internal and may not match the" /usr/include/linux/modversions.h:8:2: #error "currently running kernel. They should only be" /usr/include/linux/modversions.h:9:2: #error "included via other system header files - user space" /usr/include/linux/modversions.h:10:2: #error "programs should not directly include <linux/*.h> or" /usr/include/linux/modversions.h:11:2: #error "<asm/*.h> as well." /usr/include/linux/modversions.h:12:2: #error "" /usr/include/linux/modversions.h:13:2: #error "To build kernel modules please do the following:" /usr/include/linux/modversions.h:14:2: #error "" /usr/include/linux/modversions.h:15:2: #error " o Have the kernel sources installed" /usr/include/linux/modversions.h:16:2: #error "" /usr/include/linux/modversions.h:17:2: #error " o Make sure that the symbolic link" /usr/include/linux/modversions.h:18:2: #error " /lib/modules/`uname -r`/build exists and points to" /usr/include/linux/modversions.h:19:2: #error " the matching kernel source directory" /usr/include/linux/modversions.h:20:2: #error "" /usr/include/linux/modversions.h:21:2: #error " o Now copy /boot/vmlinuz.version.h to" /usr/include/linux/modversions.h:22:2: #error " /lib/modules/`uname -r`/build/include/linux/version.h" /usr/include/linux/modversions.h:23:2: #error "" /usr/include/linux/modversions.h:24:2: #error " o When compiling, make sure to use the following" /usr/include/linux/modversions.h:25:2: #error " compiler option to use the correct include files:" /usr/include/linux/modversions.h:26:2: #error "" /usr/include/linux/modversions.h:27:2: #error " -I/lib/modules/`uname -r`/build/include" /usr/include/linux/modversions.h:28:2: #error "" /usr/include/linux/modversions.h:29:2: #error " instead of" /usr/include/linux/modversions.h:30:2: #error "" /usr/include/linux/modversions.h:31:2: #error " -I/usr/include/linux" /usr/include/linux/modversions.h:32:2: #error "" /usr/include/linux/modversions.h:33:2: #error " Please adjust the Makefile accordingly." /usr/include/linux/modversions.h:34:2: #error "=======================================================" In file included from /usr/include/linux/module.h:297, from nvnet.h:20, from nvnet.c:21: /usr/include/linux/version.h:2:2: #error "=======================================================" /usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{linux,asm}/ header" /usr/include/linux/version.h:4:2: #error "files directly for the compilation of kernel modules." /usr/include/linux/version.h:5:2: #error "" /usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files from a well-defined" /usr/include/linux/version.h:7:2: #error "working kernel version (as recommended by Linus Torvalds)" /usr/include/linux/version.h:8:2: #error "These files are glibc internal and may not match the" /usr/include/linux/version.h:9:2: #error "currently running kernel. They should only be" /usr/include/linux/version.h:10:2: #error "included via other system header files - user space" /usr/include/linux/version.h:11:2: #error "programs should not directly include <linux/*.h> or" /usr/include/linux/version.h:12:2: #error "<asm/*.h> as well." /usr/include/linux/version.h:13:2: #error "" /usr/include/linux/version.h:14:2: #error "To build kernel modules please do the following:" /usr/include/linux/version.h:15:2: #error "" /usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"/usr/include/linux/version.h:17:2: #error "" /usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link" /usr/include/linux/version.h:19:2: #error " /lib/modules/`uname -r`/build exists and points to" /usr/include/linux/version.h:20:2: #error " the matching kernel source directory" /usr/include/linux/version.h:21:2: #error "" /usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h to" /usr/include/linux/version.h:23:2: #error " /lib/modules/`uname -r`/build/include/linux/version.h" /usr/include/linux/version.h:24:2: #error "" /usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use the following" /usr/include/linux/version.h:26:2: #error " compiler option to use the correct include files:" /usr/include/linux/version.h:27:2: #error "" /usr/include/linux/version.h:28:2: #error " -I/lib/modules/`uname -r`/build/include" /usr/include/linux/version.h:29:2: #error "" /usr/include/linux/version.h:30:2: #error " instead of" /usr/include/linux/version.h:31:2: #error "" /usr/include/linux/version.h:32:2: #error " -I/usr/include/linux" /usr/include/linux/version.h:33:2: #error "" /usr/include/linux/version.h:34:2: #error " Please adjust the Makefile accordingly." /usr/include/linux/version.h:35:2: #error "=======================================================" In file included from nvnet.h:20, from nvnet.c:21: /usr/include/linux/module.h:299: error: syntax error before "UTS_RELEASE" In file included from /usr/include/linux/mm.h:12, from /usr/include/linux/slab.h:14, from nvnet.h:29, from nvnet.c:21: /usr/include/linux/mmzone.h:44: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function) /usr/include/linux/mmzone.h:44: error: requested alignment is not a constant In file included from /usr/include/asm/hardirq.h:6, from /usr/include/linux/interrupt.h:46, from nvnet.h:30, from nvnet.c:21: /usr/include/linux/irq.h:65: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function) /usr/include/linux/irq.h:65: error: requested alignment is not a constant In file included from /usr/include/linux/interrupt.h:46, from nvnet.h:30, from nvnet.c:21: /usr/include/asm/hardirq.h:16: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function) /usr/include/asm/hardirq.h:16: error: requested alignment is not a constant In file included from nvnet.h:30, from nvnet.c:21: /usr/include/linux/interrupt.h:129: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function) /usr/include/linux/interrupt.h:129: error: requested alignment is not a constantIn file included from nvnet.h:31, from nvnet.c:21: /usr/include/linux/version.h:2:2: #error "=======================================================" /usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{linux,asm}/ header" /usr/include/linux/version.h:4:2: #error "files directly for the compilation of kernel modules." /usr/include/linux/version.h:5:2: #error "" /usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files from a well-defined" /usr/include/linux/version.h:7:2: #error "working kernel version (as recommended by Linus Torvalds)" /usr/include/linux/version.h:8:2: #error "These files are glibc internal and may not match the" /usr/include/linux/version.h:9:2: #error "currently running kernel. They should only be" /usr/include/linux/version.h:10:2: #error "included via other system header files - user space" /usr/include/linux/version.h:11:2: #error "programs should not directly include <linux/*.h> or" /usr/include/linux/version.h:12:2: #error "<asm/*.h> as well." /usr/include/linux/version.h:13:2: #error "" /usr/include/linux/version.h:14:2: #error "To build kernel modules please do the following:" /usr/include/linux/version.h:15:2: #error "" /usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"/usr/include/linux/version.h:17:2: #error "" /usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link" /usr/include/linux/version.h:19:2: #error " /lib/modules/`uname -r`/build exists and points to" /usr/include/linux/version.h:20:2: #error " the matching kernel source directory" /usr/include/linux/version.h:21:2: #error "" /usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h to" /usr/include/linux/version.h:23:2: #error " /lib/modules/`uname -r`/build/include/linux/version.h" /usr/include/linux/version.h:24:2: #error "" /usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use the following" /usr/include/linux/version.h:26:2: #error " compiler option to use the correct include files:" /usr/include/linux/version.h:27:2: #error "" /usr/include/linux/version.h:28:2: #error " -I/lib/modules/`uname -r`/build/include" /usr/include/linux/version.h:29:2: #error "" /usr/include/linux/version.h:30:2: #error " instead of" /usr/include/linux/version.h:31:2: #error "" /usr/include/linux/version.h:32:2: #error " -I/usr/include/linux" /usr/include/linux/version.h:33:2: #error "" /usr/include/linux/version.h:34:2: #error " Please adjust the Makefile accordingly." /usr/include/linux/version.h:35:2: #error "=======================================================" In file included from nvnet.h:35, from nvnet.c:21: /usr/include/linux/netdevice.h:165: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function) /usr/include/linux/netdevice.h:165: error: requested alignment is not a constantIn file included from nvnet.h:35, from nvnet.c:21: /usr/include/linux/netdevice.h:517: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function) /usr/include/linux/netdevice.h:517: error: requested alignment is not a constantnvnet.c:40:41: missing binary operator before token "(" nvnet.c:1284:41: missing binary operator before token "(" make[1]: *** [nvnet.o] Error 1 make[1]: Leaving directory `/usr/src/RPM/BUILD/nforce/nvnet' make: *** [nvnet_make] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.93041 (%build) RPM build errors: user buildmeister does not exist - using root user buildmeister does not exist - using root user buildmeister does not exist - using root user buildmeister does not exist - using root user buildmeister does not exist - using root Bad exit status from /var/tmp/rpm-tmp.93041 (%build)
  2. ok... I did what you said and got several pages of text output. /usr/src/RPM/RPMS/i586 was empty. I ran rpm --rebuild NVIDIA.... > nv.txt and it gave me this: Installing NVIDIA_nforce-1.0-0248.src.rpm Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.40334 ---- Copying Sources ---- drwxr-xr-x buildmeister/adm 0 2002-11-26 09:07:59 nforce/ drwxr-xr-x buildmeister/adm 0 2002-11-26 09:08:37 nforce/nvnet/ -r--r--r-- buildmeister/adm 14079 2002-11-26 09:08:37 nforce/nvnet/adapter.h -r--r--r-- buildmeister/adm 794 2002-11-26 09:08:37 nforce/nvnet/basetype.h -r--r--r-- buildmeister/adm 6416 2002-11-26 09:08:37 nforce/nvnet/nvnet.h -r--r--r-- buildmeister/adm 3864 2002-11-26 09:08:37 nforce/nvnet/os.h -r--r--r-- buildmeister/adm 4749 2002-11-26 09:08:37 nforce/nvnet/phy.h -r--r--r-- buildmeister/adm 34214 2002-11-26 09:08:37 nforce/nvnet/nvnet.c -rw-r--r-- buildmeister/adm 21768 2002-11-26 09:08:37 nforce/nvnet/nvnetlib.o -r--r--r-- buildmeister/adm 2661 2002-11-26 09:08:37 nforce/nvnet/Makefile drwxr-xr-x buildmeister/adm 0 2002-11-26 09:08:37 nforce/ drwxr-xr-x buildmeister/adm 0 2002-11-26 09:08:37 nforce/nvaudio/ -r--r--r-- buildmeister/adm 2599 2002-11-26 09:08:37 nforce/nvaudio/Makefile -r--r--r-- buildmeister/adm 1088 2002-11-26 09:08:37 nforce/nvaudio/i810_audio-nforce23.patch drwxr-xr-x buildmeister/adm 0 2002-11-26 09:08:37 nforce/ -r--r--r-- buildmeister/adm 1084 2002-11-26 09:08:36 nforce/Makefile -r--r--r-- buildmeister/adm 12052 2002-11-26 09:08:36 nforce/README -r--r--r-- buildmeister/adm 5404 2002-11-26 09:08:36 nforce/NVLicense.txt -r--r--r-- buildmeister/adm 18007 2002-11-26 09:08:36 nforce/GNULicense.txt -rw-r--r-- buildmeister/adm 100614 2002-11-26 09:08:37 nforce/ReleaseNotes.pdf Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.40334 ---- Building Drivers ---- make -C nvnet make[1]: Entering directory `/usr/src/RPM/BUILD/nforce/nvnet' cc -c -DLINUX -DMODULE -DEXPORT_SYMTAB -D__KERNEL__ -O -Wstrict-prototypes -DCONFIG_PM -fno-strict-aliasing -mpreferred-stack-boundary=2 -march=i686 -falign-functions=4 -DMODULE -I/usr/src/linux-2.4.22/include nvnet.c make[1]: Leaving directory `/usr/src/RPM/BUILD/nforce/nvnet' RPM build errors: 0 Does that tell you anything? -edit- I just realized that as soon as I leave work tomorrow, I'm headed out of town. So, I'll get back to you Sunday. Thanks again for the help.
  3. Hey guys, I recently installed Mandrake onto my computer, and I have to say that I was quite impressed at how easily the install went. I can see that if I can get everything configured correctly, I will be quite pleased with it. That being said, I am requesting some help setting up my network card. Pertinent info: Abit NF7-S V2 with onboard Realtek 8210BL NIC & nForce 2 chipset Mandrake 9.2 Gnome 2.4 I downloaded NVIDIA_nforce-1.0-0248.src.rpm from nvidia's website and ran: # rpm -ivh NVIDIA_nforce-1.0-0248.src.rpm I got some hash marks and then a message saying 100% installed. The documentation I found at the same location as the rpm indicated that this would install the driver and configure it. However, I noticed no apparent difference. I went into the Gnome config tool and opened the hardware settings. I tried to get it to configure my NIC, but it ran me in circles, seemingly. I don't really know much of anything about linux at this point, seeing as I'm going on day 3 with it. So it would be appropriate to assume that I know absolutely nothing, but I'm pretty good at following directions. Thanks in advance for any advice/help that you can offer.
×
×
  • Create New...