Jump to content

i cant install nforce drivers


Guest cypercop
 Share

Recommended Posts

Guest cypercop

Hello i am using or better try to use mandrake 9 but i cant install the drivers for my nforce chipset i load the 0241.src.rpm und tryed to rebuild the kernel after starts i get errors and no rpm output

drwxr-xr-x buildmeister/adm 0 2002-08-08 14:23:24 nforce/

drwxr-xr-x buildmeister/adm 0 2002-08-08 14:23:24 nforce/nvnet/

-r--r--r-- buildmeister/adm 14079 2002-08-08 14:23:24 nforce/nvnet/adapter.h

-r--r--r-- buildmeister/adm 794 2002-08-08 14:23:24 nforce/nvnet/basetype.h

-r--r--r-- buildmeister/adm 6431 2002-08-08 14:23:24 nforce/nvnet/nvnet.h

-r--r--r-- buildmeister/adm 3864 2002-08-08 14:23:24 nforce/nvnet/os.h

-r--r--r-- buildmeister/adm 4749 2002-08-08 14:23:24 nforce/nvnet/phy.h

-r--r--r-- buildmeister/adm 34050 2002-08-08 14:23:24 nforce/nvnet/nvnet.c

-rw-r--r-- buildmeister/adm 21768 2002-08-08 14:23:24 nforce/nvnet/nvnetlib.o

-r--r--r-- buildmeister/adm 2251 2002-08-08 14:23:24 nforce/nvnet/Makefile

+ STATUS=0

+ '[' 0 -ne 0 ']'

+ cd nforce

+ cd /usr/src/RPM/BUILD

+ /bin/gzip -dc /usr/src/RPM/SOURCES/nvaudio.tgz

+ tar -xvvf -

drwxr-xr-x buildmeister/adm 0 2002-08-08 14:23:24 nforce/

drwxr-xr-x buildmeister/adm 0 2002-08-08 14:23:24 nforce/nvaudio/

-r--r--r-- buildmeister/adm 1959 2002-08-08 14:23:24 nforce/nvaudio/Makefile

+ STATUS=0

+ '[' 0 -ne 0 ']'

+ cd nforce

+ cd /usr/src/RPM/BUILD

+ /bin/gzip -dc /usr/src/RPM/SOURCES/nvmaster.tgz

+ tar -xvvf -

drwxr-xr-x buildmeister/adm 0 2002-08-08 14:23:23 nforce/

-r--r--r-- buildmeister/adm 1007 2002-08-08 14:23:23 nforce/Makefile

-r--r--r-- buildmeister/adm 11362 2002-08-08 14:23:23 nforce/README

-r--r--r-- buildmeister/adm 5404 2002-08-08 14:23:23 nforce/NVLicense.txt

-r--r--r-- buildmeister/adm 18007 2002-08-08 14:23:23 nforce/GNULicense.txt

-rw-r--r-- buildmeister/adm 99580 2002-08-08 14:23:23 nforce/ReleaseNotes.pdf

drwxr-xr-x buildmeister/adm 0 2002-08-08 14:23:23 nforce/nvnet/

-r--r--r-- buildmeister/adm 14079 2002-08-08 14:23:23 nforce/nvnet/adapter.h

-r--r--r-- buildmeister/adm 794 2002-08-08 14:23:23 nforce/nvnet/basetype.h

-r--r--r-- buildmeister/adm 6431 2002-08-08 14:23:23 nforce/nvnet/nvnet.h

-r--r--r-- buildmeister/adm 3864 2002-08-08 14:23:23 nforce/nvnet/os.h

-r--r--r-- buildmeister/adm 4749 2002-08-08 14:23:23 nforce/nvnet/phy.h

-r--r--r-- buildmeister/adm 34050 2002-08-08 14:23:23 nforce/nvnet/nvnet.c

-rw-r--r-- buildmeister/adm 21768 2002-08-08 14:23:23 nforce/nvnet/nvnetlib.o

-r--r--r-- buildmeister/adm 2251 2002-08-08 14:23:23 nforce/nvnet/Makefile

drwxr-xr-x buildmeister/adm 0 2002-08-08 14:23:23 nforce/nvaudio/

-r--r--r-- buildmeister/adm 1959 2002-08-08 14:23:23 nforce/nvaudio/Makefile

-rw-r--r-- buildmeister/adm 63957 2002-08-08 14:23:15 nforce/nvaudio/i810_audio-

rh72.c

-r--r--r-- buildmeister/adm 982 2002-08-08 14:23:15 nforce/nvaudio/pci.patch

-r--r--r-- buildmeister/adm 450 2002-08-08 14:23:15 nforce/nvaudio/define.patc

h

-r--r--r-- buildmeister/adm 7183 2002-08-08 14:23:15 nforce/nvaudio/name.patch

+ STATUS=0

+ '[' 0 -ne 0 ']'

+ cd nforce

+ exit 0

Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.15732

+ umask 022

+ cd /usr/src/RPM/BUILD

+ cd nforce

+ echo '---- Building Drivers ----'

---- Building Drivers ----

+ make

make -C nvnet

make[1]: Wechsel in das Verzeichnis Verzeichnis »/usr/src/RPM/BUILD/nforce/nvnet

«

gcc -c -DLINUX -DMODULE -DEXPORT_SYMTAB -D__KERNEL__ -O -Wstrict-prototypes -DCO

NFIG_PM -fno-strict-aliasing -mpreferred-stack-boundary=2 -march=i686 -malign-f

unctions=4 -DMODULE -I/usr/src/linux-2.4/include nvnet.c

cc1: warning: -malign-functions is obsolete, use -falign-functions

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: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (no

t in a function)

/usr/include/asm/processor.h:55: 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/includ

e/{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 recomme

nded 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 sho

uld only be"

/usr/include/linux/modversions.h:9:2: #error "included via other system header f

iles - user space"

/usr/include/linux/modversions.h:10:2: #error "programs should not directly incl

ude <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 instal

led"

/usr/include/linux/modversions.h:16:2: #error ""

/usr/include/linux/modversions.h:17:2: #error " o Make sure that the symbolic li

nk"

/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 dir

ectory"

/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 u

se the following"

/usr/include/linux/modversions.h:25:2: #error " compiler option to use the cor

rect include files:"

/usr/include/linux/modversions.h:26:2: #error ""

/usr/include/linux/modversions.h:27:2: #error " -I/lib/modules/`uname -r`/buil

d/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 acc

ordingly."

/usr/include/linux/modversions.h:34:2: #error "=================================

======================"

In file included from /usr/include/linux/module.h:296,

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/{l

inux,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 fro

m 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 file

s - 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 exis

ts and points to"

/usr/include/linux/version.h:20:2: #error " the matching kernel source directo

ry"

/usr/include/linux/version.h:21:2: #error ""

/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h t

o"

/usr/include/linux/version.h:23:2: #error " /lib/modules/`uname -r`/build/incl

ude/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 t

he 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/in

clude"

/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 accordi

ngly."

/usr/include/linux/version.h:35:2: #error "=====================================

=================="

In file included from nvnet.h:20,

from nvnet.c:21:

/usr/include/linux/module.h:298: parse error before "UTS_RELEASE"

In file included from /usr/include/asm/hardirq.h:6,

from /usr/include/linux/interrupt.h:45,

from nvnet.h:30,

from nvnet.c:21:

/usr/include/linux/irq.h:65: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in

a function)

/usr/include/linux/irq.h:65: requested alignment is not a constant

In file included from /usr/include/linux/interrupt.h:45,

from nvnet.h:30,

from nvnet.c:21:

/usr/include/asm/hardirq.h:16: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not

in a function)

/usr/include/asm/hardirq.h:16: requested alignment is not a constant

In file included from nvnet.h:30,

from nvnet.c:21:

/usr/include/linux/interrupt.h:128: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here

(not in a function)

/usr/include/linux/interrupt.h:128: requested alignment is not a constant

In 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/{l

inux,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 fro

m 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 file

s - 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 exis

ts and points to"

/usr/include/linux/version.h:20:2: #error " the matching kernel source directo

ry"

/usr/include/linux/version.h:21:2: #error ""

/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h t

o"

/usr/include/linux/version.h:23:2: #error " /lib/modules/`uname -r`/build/incl

ude/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 t

he 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/in

clude"

/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 accordi

ngly."

/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: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)

/usr/include/linux/netdevice.h:165: requested alignment is not a constant

In file included from nvnet.h:35,

from nvnet.c:21:

/usr/include/linux/netdevice.h:497: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)

/usr/include/linux/netdevice.h:497: requested alignment is not a constant

In file included from nvnet.c:21:

nvnet.h:73:1: warning: "DEBUG_INIT" redefined

nvnet.h:64:1: warning: this is the location of the previous definition

nvnet.c:1203:41: missing binary operator before '('

make[1]: *** [nvnet.o] Fehler 1

make[1]: Verlassen des Verzeichnisses Verzeichnis »/usr/src/RPM/BUILD/nforce/nvn et«

make: *** [nvnet_make] Fehler 2

Fehler: Bad exit status from /var/tmp/rpm-tmp.15732 (%build)

 

whats wrong can anyone help me ?

 

best regards

cypercop

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...